Jump to content

how do I setup this redirect?


Recommended Posts

Hi

I have just moved my forum from an installation with vbulletin which had vbseo.

It was located in a /forum folder on the site. The IPB is located on the site root, but even if it wasn't, the URL's were not named the same as before.

I have quite a lot of indexed threads on google and lots in my twitter feed, how do I do this so people are redirected to the correct thread on IPB?

I have already redirected it so if people type in the /forum it goes to the root.

The thread URL is different on vbulletin to IPB, is it even possible to do a redirect? I just dont want all those links to go to waste, there are at least 5000 out there, each time a new thread was created, it was automatically posted to twitter and facebook, we had a lot of indexed threads in google too.

Anyone have an idea how to do this? Thanks

Nick

Link to comment
Share on other sites

Put this in .htaccess of the IPB forum directory changing domain as needed.


RewriteRule [^/]+/([0-9]+)/[^/]+.html http://www.sitename.com/forums/showthread.php?t=$1 [L,R=301]

Then in the old forum directory add this to .htaccess


RewriteRule (.*) http://www.sitename.com/$1 [L,R=301]



You might have to tweak the first one a bit, but, it should work without a problem.

Also make sure you upload the files from the tools folder in the converters download and setup the config.php file with your convert id and path.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...