The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Redirection
I need to make a redirect using the variable _SERVER["REQUEST_URI"]
this is to grab the url the user request and then use it to redirect the users to the new forums and to the page requested. I need to know wich file shoul i edit, cause doing it in the index.php doesn't make any effect. perhaps global.php? Thanks |
#2
|
||||
|
||||
mod_rewrite?
|
#3
|
||||
|
||||
Quote:
I just changed domain and need to redirect people to the new but letting them get exactly the page they wanned. If you have suggestions, they are very wellcome. |
#4
|
||||
|
||||
He means in your htaccess file.
|
#5
|
||||
|
||||
Quote:
I need help on this is there a way to know the requested url from a user? let say a url like www.site.com/forum/showthread.php?t=322 and redirect him to www.site2.com/forum/showthread.php?t=322 |
#6
|
||||
|
||||
<a href="http://httpd.apache.org/docs/2.0/misc/rewriteguide.html" target="_blank">http://httpd.apache.org/docs/2.0/misc/rewriteguide.html</a>
|
#7
|
||||
|
||||
Quote:
redirect permanent /foros/index.php http://asdf.com/foros/index.php redirect permanent /foros/foros.php http://asdf.com/foros/foros.php redirect permanent /foros/showthread.php http://asdf.com/foros/showthread.php redirect permanent /foros/forumdisplay.php http://asdf.com/foros/forumdisplay.php redirect permanent /foros/member.php http://asdf.com/foros/member.php redirect permanent /foros/arcade.php http://asdf.com/foros/index.php redirect permanent /foros/chat.php http://asdf.com/foros/chat.php redirect permanent /foros/member.php http://asdf.com/foros/member.php redirect permanent /foros/calendar.php http://asdf.com/foros/calendar.php redirect permanent /foros/search.php http://asdf.com/foros/search.php I had to add a line for every file.php hmm |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|