View Full Version : How do I redirect a Style to a Subdomain???
bobII
03-29-2007, 10:42 AM
I recently installed a new 'mobile' style, and used the redirect hack for mobile devices... So far, everything works great. The last remaining task for this project is to use a subdomain for this mobile style.
For example: http://mobile.firstloox.org/
Right now, my forum structure is like this: domain.com/forum
How can I use a subdomain for a specific style, in this case the 'mobile' style?
I am running vB 3.6.4
Thanks in advance,
bobII
WhaLberg
03-29-2007, 11:30 AM
If you want to have a subdomain which will redirect to that style, you have to know the id of the style first. For example if the "mobile" style's id is 2, you have to set the url like that: http://domain/pathtoyourforum/index.php?styleid=2.
1) Go to your hosting panel and add a subdomain.
2) After adding subdomain go to your redirect section.
3) Write the subdomain and write the url of the style.
That's all.
Good luck.
bobII
03-29-2007, 04:20 PM
If you want to have a subdomain which will redirect to that style, you have to know the id of the style first. For example if the "mobile" style's id is 2, you have to set the url like that: http://domain/pathtoyourforum/index.php?styleid=2.
1) Go to your hosting panel and add a subdomain.
2) After adding subdomain go to your redirect section.
3) Write the subdomain and write the url of the style.
That's all.
Good luck.
I have the style id and the subdomain created... I have a dedicated server, so I don't have a redirect section...
Could this be done via htacess? If so, how?
WhaLberg
03-29-2007, 04:25 PM
Check there: http://www.javascriptkit.com/howto/htaccess7.shtml
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.