vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I redirect a Style to a Subdomain??? (https://vborg.vbsupport.ru/showthread.php?t=143497)

bobII 03-29-2007 10:42 AM

How do I redirect a Style to a Subdomain???
 
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

Quote:

Originally Posted by whalberg (Post 1215194)
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


All times are GMT. The time now is 02:26 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.01255 seconds
  • Memory Usage 1,717KB
  • 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
  • (4)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