![]() |
Force Sub-Domain Redirect
This is but a tiny modification, however to some perhaps useful, below is a description of what this lil modification does.
Description Let's say you have: http://YOURSITE.com/forums, however you also have this set up as a sub domain: http://forums.YOURSITE.com You dont want visitors to go to the old URL, and if they do you want them to be redirected to the new URL, this is exactly what that does, and doesn't loose the operation with in the URL. Example Let's say a user tries to visit: "http://YOURSITE.com/forums/showthread.php?p=7" They will be automatically redirected to: "http://forums.YOURSITE.com/showthread.php?p=7" So they will end up in the same location, however the URL is fixed and goes to your sub-domain instead of the one they have requested. Enjoy, - Zero Tolerance |
Very nifty little mod ZT :D
Nice work ;) [high]* Marky installs :D[/high] |
Very usefull!
/me clicks install |
Could thsi be modifyed to work with moving between one domain and another? eg if a use goes to http://SITEDOMAIN.com/forums/file.php?query=string that it moves to http://FORUMDOMAIN.com/file.php?query=string
?? :) If you think it can i'll take a stab at it :) |
Yeah it could easily be done to do that desired action, if your not sure how to do it, just say so and i'll post up a modified version for you :)
- Zero Tolerance |
Great, installed.
|
Nice, thanks!
|
Very useful!! Just the thing I've been looking for :)
|
excellent! many thanks!
|
Quote:
|
all your hacks are interesting :D
|
All times are GMT. The time now is 04:44 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|