8 simple 301 redirects not working |
[eluser]charlie spider[/eluser]
I think that too much work and not enough sleep is keeping me from figuring this out! I just need to set up 302 redirects for an 8 page site. My htaccess file is set up as follows and works perfectly: Code: Options Indexes I initially tried to use regular 301 redirects like: Code: <IfModule !mod_alias.c> but those would turn this: http://www.coachhouse.info/rates.htm into this: http://www.coachhouse.info/rates-and-info?/rates.htm Apparantly you can't mix mod_alias with the mod_rewrite rules for removing index.php from the url. So then I tried to set up the 301 redirects using rewrite rules like this: Code: RewriteRule ^/rates.htm /rates-and-info [R=301] or this: Code: RewriteRule ^/rates(.*) /rates-and-info [R=301] or this: Code: RewriteRule ^/rates(.*) /rates-and-info [R=301,L] or this: Code: RewriteRule ^/rates(.*) /rates-and-info$ [R=301,L] and every variation/combination of the above I could think of including: Code: RewriteRule ^/rates(.*) /rates-and-info [R=301,L,PLEASE GOD PLEASE] I have tried placing the rules at the end of the: <IfModule mod_rewrite.c> and I've tried placing them immediately after RewriteBase / but regardless of what I do, a request for www.coachhouse.info/rates.htm results in a 404 error. And I have cleared the cache, tried other browsers, and restarted the browsers between attempts to no avail. It just doesn't work. What am I missing or doing wrong ? Any and all help is greatly appreciated. Thank you for your time. |
Messages In This Thread |
8 simple 301 redirects not working - by El Forum - 06-01-2010, 12:29 AM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 12:51 AM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 01:08 AM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 01:16 AM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 02:01 AM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 12:21 PM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 12:56 PM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 12:59 PM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 01:25 PM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 01:35 PM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 01:53 PM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 02:16 PM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 02:51 PM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 04:42 PM
8 simple 301 redirects not working - by El Forum - 06-01-2010, 09:53 PM
8 simple 301 redirects not working - by El Forum - 06-02-2010, 06:19 AM
|