jamiedolan
02-15-2010, 05:15 PM
HI,
I have some URL's that some piece of software on my system added in "amp;" after each ampersand in the url and it breaks the url (sends the users to the main photo gallery page instead of the photo the url is suppose to go to). (ignore my double quote, they are just used to illustrate the exact characters I am taking about)
This does not work:
www.willysjeep.com/forum/index.php?app=gallery&module=images&section=viewimage&img=429
This has the "amp;" removed and it works:
http://www.willysjeep.com/forum/index.php?app=gallery&module=images§ion=viewimage&img=429
I don't know why the amp; has gotten added to URL's but some of them got picked up in the search engines with the "amp;" and they don't bring the user to the photo like they are suppose to.
Can I use a modrewrite rule to check a url to see if it contains "&" and if it does to re-write that to just "&"?
If so, can you suggest the syntax that I want to try for this rewrite.
Thanks very much,
Jamie
I have some URL's that some piece of software on my system added in "amp;" after each ampersand in the url and it breaks the url (sends the users to the main photo gallery page instead of the photo the url is suppose to go to). (ignore my double quote, they are just used to illustrate the exact characters I am taking about)
This does not work:
www.willysjeep.com/forum/index.php?app=gallery&module=images&section=viewimage&img=429
This has the "amp;" removed and it works:
http://www.willysjeep.com/forum/index.php?app=gallery&module=images§ion=viewimage&img=429
I don't know why the amp; has gotten added to URL's but some of them got picked up in the search engines with the "amp;" and they don't bring the user to the photo like they are suppose to.
Can I use a modrewrite rule to check a url to see if it contains "&" and if it does to re-write that to just "&"?
If so, can you suggest the syntax that I want to try for this rewrite.
Thanks very much,
Jamie
