Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 06 Apr 2018, 05:17
Joe2288 Joe2288 is offline
 
Join Date: Jun 2007
mod rewrite vb4 to vb5

I just upgraded to vb5 from 4.2.5
In 4.2.5 I was using the option for SEO friendly url's via .htaccess mod rewrite that comes standard (option 4) with that version.

URL's for threads look like https://mysite.com/threads/427-This-is-a-thread

this is what I have in my .htaccess

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I have 100s of links indexed by google in that format. Unfortunately this is not compatible with vb5 but my understanding is that vb5 would be able to process the "standard" format e.g. https://mysite.com/showthread.php?t=427
and forward that to the correct threads.

So the idea is to do the reverse of above code , basically rewriting the google indexed links
https://mysite.com/threads/427-This-is-a-thread back into the normal vb4 format
https://mysite.com/showthread.php?t=427 which will be understood by vb5 hence the google indexed links would go to the correct pages.

Does this make any sense and if so can anybody help me with that code?

Last edited by Joe2288; 07 Apr 2018 at 20:43.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:23.

Layout Options | Width: Wide Color: