I am having trouble with redirects containing a variable in the .htaccess file. I have seen other code on the site, but plagiarism has not worked.
I have tested a simple redirect and it works.
But the redirect below falls to an ErrorDocument 404 and the error file says basically that www.website.com/cfm cannot be found.
The following code is not working. Help! I am a bricklayer not a software coder... so simple works better :-)
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{QUERY_STRING} ^action=page&page=247$
RewriteRule ^index.cfm$ [http://example.com/services-2/more-repairs/] [R=301,L]
Here is context of the redirect with the constipating variable.
Redirect 301 /index.cfm?action=page&page=233 http://example.com/services-2/more-repairs/
thanks for the help. You just might save my last few remaining hairs on my head.
[edited by: jdMorgan at 4:27 pm (utc) on Apr 16, 2010]
[edit reason] example.com [/edit]