vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   Redirect problem (https://vborg.vbsupport.ru/showthread.php?t=323483)

pmquist 09-18-2016 03:05 PM

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

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

Quote:

Originally Posted by Dave (Post 2576034)
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.


All times are GMT. The time now is 02:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01677 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete