PDA

View Full Version : How About mod_rewrite to Fix Modified URL Links?



spherical
02-20-2014, 06:41 PM
Seeing as how someone thought it a great idea to make the forums become hosted under a sub-domain, it just might be a good idea to complete the operation by adding rewrite rules to the server config or .htaccess to transparently and permanently rewrite:

http://www.newtek.com/forums/.*
to
http://forums.newtek.com/.*

Then we all don't have to do it manually each time when following the many links already out there (there are MANY within these forums) that are in the former pattern. A 301 for all of these should help the SEO as well, 'cuz right now they're all 404s. I'd post what I think would be a good working ruleset but, having no way to test it, that may be counterproductive.