Welcome to WebmasterWorld Guest from 22.214.171.124
redirect 301 /advertising.html http://www.example.com/ads/
I'm wondering, is it better to use mod_rewrite instead? eg:
RewriteRule ^advertising.html$ http://www.example.com/ads/ [R=301,L]
Keeping in mind that these are in the httpd.conf, NOT the .htaccess. And there are other mod_rewrite rules due to some SEO friendly url plugs (for phpbb, specifically).
Thanks for any advice!
[edited by: jdMorgan at 2:43 am (utc) on Jan. 9, 2010]
[edit reason] example.com [/edit]
Does that make a difference? What's the reasoning behind not using both in the same setup?
Change the module load-list order, and this reverses.
Code function depended on the relative module execution order? -- Ooops! I hope someone's there who remembers this info and can figure it out...
Above recommendation seconded -- and not lightly.
Does that affect execution order? Or is it just 'cleaner' to have all the 301's in the same format? Is there any benefit to performance?
If, through some future event such as you changing jobs, selling the site, changing hosting, or whatever, you lose control of the LoadModule order, then the code may suddenly stop working, and no-one will know why...
Anyway, I'm not going to beat a dead horse; We've cited best-practice, and you may ignore it if you wish.