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
« Next Oldest | Next Newest »



Messages In This Thread
Redirect old forum URLs to new format - by Brian - 2016-04-26, 9:00

Forum Jump:


Users browsing this thread: 1 Guest(s)