Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 18 Sep 2016, 18:05
pmquist pmquist is offline
 
Join Date: Feb 2006
Question Redirect problem

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
Reply With Quote
  #2  
Old 18 Sep 2016, 18:10
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
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".
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #3  
Old 18 Sep 2016, 21:03
pmquist pmquist is offline
 
Join Date: Feb 2006
Originally Posted by Dave View Post
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.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add-On Releases vt.Lai VBB Redirect Link 4.1 For vBB 4-Make Redirect page with outbound link VuThanhLai vBulletin 4.x Add-ons 13 14 Apr 2015 21:18
Move threads with leave no redirect as default or Expired redirect as default Hornstar vBulletin 3.6 Template Modifications 17 23 Dec 2013 14:54
Mini Mods Login Redirect - Redirect your users to their User CP or Profile when logging on sockwater vBulletin 3.7 Add-ons 29 19 Jun 2012 19:07
Redirect to Register Hack - Redirect from newreply.php, newthread.php & usercp.php... Chris M vBulletin 2.x Full Releases 27 04 Oct 2003 22:02


Tags
htaccess, rewrite


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:39.

Layout Options | Width: Wide Color: