![]() |
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 |
mod_rewrite?
|
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. |
He means in your htaccess file. ;)
|
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 |
<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>
|
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 |
All times are GMT. The time now is 12:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|