LDraw.org Discussion Forums
Redirect old forum URLs to new format - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Administrative (https://forums.ldraw.org/forum-4.html)
+--- Forum: Website Suggestions/Requests/Discussion (https://forums.ldraw.org/forum-23.html)
+--- Thread: Redirect old forum URLs to new format (/thread-21492.html)



Redirect old forum URLs to new format - Brian - 2016-04-26

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-post-18104.html#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.


RE: Redirect old forum URLs to new format - Orion Pobursky - 2016-04-26

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.