SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Jun 20, 2008, 01:17 #1
- Join Date
- Jan 2001
- Location
- Near a computer
- Posts
- 782
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
How to let my subdomain in the address bar???
Hi all,
Can't figure this out. I have a semi private server where i configure a maindomain.com with a couple of subdomains. (subdomainA.com, subdomainB.com etc).
No subdomainB.com must be the main url and i would like to indexed all pages with subdomainB.com. But first i would like subdomainB.com to stay in the url address bar. Now it just redirects to maindomain.com each time i click on link
Any htaccess tips??
-
Jun 20, 2008, 03:26 #2
- Join Date
- Feb 2002
- Location
- Auckland
- Posts
- 14,692
- Mentioned
- 20 Post(s)
- Tagged
- 3 Thread(s)
D-f,
Same as another current thread. IF you're not able to access subdomainB.com via URL, then your host has disabled something that need not be disabled (it's available by default with my CPanel). Okay, it IS possible that you're using mod_rewrite to redirect to the subdirectory of the domain.com but I don't get that from my reading of your post.
Regards,
DKDavid K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
Client and (unpaid) WHB Ambassador
mod_rewrite Tutorial Article (setup, config, test & write
mod_rewrite regex w/sample code) and Code Generator
Bookmarks