PDA

View Full Version : Redirect problem


pmquist
09-18-2016, 03:05 PM
Hi all,

I dont have much knowledge about redirects, but in vB4 I used the .htacces-file to create useful redirects so that for example www.utkiken.net/fire pointed to a specifik post or search. When I try to do that in vB5 pointing to searches is no problem but when pointing to a specific post the URL is correct but with an added ?routestring after the URL. For example this http://www.utkiken.net/node/43156?routestring=vindgbg. That extra addition makes an invalid URL.

Is there an easy way to fix this?

Regards / PerOla

Dave
09-18-2016, 03:10 PM
Do you have access over what ?routestring can be?
You could change it to 2 question marks "??routestring" and then retrieve the GET value using "?routestring".

pmquist
09-18-2016, 06:03 PM
Do you have access over what ?routestring can be?


Well I am not familiar with what Routestring is. vBulletin adds that to the end of my Redirect.

In .htaccess i write a line
Redirect /vindgbg http://www.utkiken.net/node/43156
Which when I type:
www.utkiken.net/vindgbg
results in:
http://www.utkiken.net/node/43156?routestring=vindgbg

It would work perfect if it wasnt that it added that ending.

But as I said, I dont understand exactly what happens so please let me know if I could do the Redirect differently.