Forum Moderators: phranque
This URL works:
[mydomain.com...]
But the following one fails:
[mydomain.com...]
Note that the first one has "%3F" & "%3D" instead of "?" & "=" Also it has "%2520" instead of "%20".
All I do from this URL is take the keywords in the URL and prefill them in my search form's query box. I am using the second URL in my Adwords campaign, and it works, but somehow, some users and some of google's automated verification processes using the first format and I want to make that one work too ..
Thanks
SDani
The only thing I can think of is that the "?" should never be escaped, as it is required to separate the query string from the URL. I suspect this is why you are getting the 404 error; The server sees the entire string as a URL, instead of as a URL with a query string appended.
You could try using mod_rewrite to change the first "%3f" you find in the URL to "?", and that might help.
Jim
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteRule ^index\.php\%3F(.*) /index.php?$1 [NC,R=301,L]
Jim