Page 1 of 1

Trouble with re-direct - my '?' is becoming %3F

Posted: Wed Dec 01, 2004 2:57 am
by zander213
Hello,

Yesterday I set up a bunch of re-directs using a basic c-panel interface, and everything worked smoothly. I am going form a basic .html file to a dynamic .php? file.

Today - I returned to add more re-directs, and while doing the EXACT same types or re-directs I am not getting errors as my '?' are being turned into '%3F' in the re-directed string.

I am so confused, and I have not been able to re-create the successful re-directs I did yesterday. Weird.

Any ideas?

Posted: Wed Dec 01, 2004 3:30 am
by patrikG
What type of redirect? A php header, html meta-refresh or apache mod rewrite?

Posted: Wed Dec 01, 2004 1:26 pm
by zander213
I think it's an Apache re-write, but im not certain... It is the basic re-direct tool that I am using through my c-panel back end. And it is working with simple pages, but now it is changing all of my ? to %3f... and my | to %7c ...

Here is the back of the actual script (first one is what is really re-directing to, and second one is what is should be)

domain.com/page.php%3fcategory=Shoes%7cMens/mens_timberland_shoes.htmlbrand=Timberland

domain.com/page?category=Shoes|Mens&brand=Timberland

Does this look like a bug in the tool I am using? Why is it inserting the original url into the script like that?

Any help would be GREATLY appreciated.

Thanks again

Posted: Wed Dec 01, 2004 3:50 pm
by rehfeld
it looks the like utility in cpanel is urlencoding whatever you enter.

i dont know why its adding .php though

its prob not a bug, its prob just trying to make sure it works correct for newbies.

w/ automation usually comes limitation though


if you can use htccess thats what i would do.