Forum Moderators: phranque
I'm using WordPress, and my .htaccess already has about 50 lines of rewrite rules; so I want to make sure that doing this isn't going over the top with rules since I'll probably have to have 3 sets of rules to catch the possible urls.
Would moving them from .htaccess to httpd.conf help?
Would moving them from .htaccess to httpd.conf help?
Definetely. Because Apache will process them only one during the boot. Otherwise it has to read .htaccess and process it each time someone request a file.
If you have more than one old URLs, they should all point to a new one. So if you had foo.html, then later renamed it to bar.html and had a redirect foo -> bar. Now you are renaming bar.html to baz.html. So forward both foo.html and bar.html to baz.html and NOT foo -> bar -> baz.
Jim