Redirect old forum URLs to new format


Redirect old forum URLs to new format
#1
It looks like search engines are sending people to the old forum URLs.

Here is an example. This is now a 404 error:
http://forums.ldraw.org/read.php?20,16260,18104

It should redirect to here:
http://forums.ldraw.org/thread-16260-pos...l#pid18104

On apache servers this can be accomplished with mod_rewrite and an htaccess file. The rewrite syntax can capture the old numbers and "rewrite" the URL into the new format. Additionally, the rewrite can serve a 301 response, which tells search engines the resource is at the new location permanently.
Reply
RE: Redirect old forum URLs to new format
#2
The conversion script should have taken care of any links in post but this was on my todo list and got dropped. Thanks for the reminder.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)