The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Display only subdomain in URL (Help Please)

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #40959

    Hello Everyone!

    Here is the situation:

    Say I have subdomain like so ****
    I want to hide the parent directory from the URL so it simply displays as **** (using the .htaccess as a preferred method)

    Essentially this is a cheap trick to having multiple website names under the same domain and directory. Does anyone have a solution to this? Is it even possible?

    Any help and guidence would be greatly appreciated. Thank You.


    Definitely never heard of somebody doing this before.


    @NSR I agree, I’ve never heard of this. Why not purchase a domain? They’re only $5-$30.


    There is **no way** to make this work. If you *own* both domains, obviously you can redirect one to the other. At that point, however, it is no longer “multiple websites” – it’s *one* website that has several domain names pointing to it.


    > I have subdomain like so I want to hide the parent directory from the URL

    There is no “parent directory” (no “directory” at all) in that URL. If you meant something else, perhaps you could explain further.


    I use GoDaddy strictly for my domains. Some people will advise against them but so far I’ve had no issues.


    @NSR Just to be clear, you’re not going to host the same content for each domain, correct? I’m still confused by the nature of your question.


    @NSR – I’m glad you are choosing to purchase the domains because hacky attempts at changing the URL are never a good idea as far as I’m concerned. To anyone who notices the hacky nature of the URL, its a red flag. I’ve seen hacky URL stuff kill SEO and as you pointed out, usability can be impacted.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.