Forums

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
    Posts
  • #40959
    Rugg
    Participant

    Hello Everyone!

    Here is the situation:

    Say I have subdomain like so **subdomain.website.com**
    I want to hide the parent directory from the URL so it simply displays as **subdomain.com** (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.

    #115288
    TheDoc
    Member

    Definitely never heard of somebody doing this before.

    #115292
    chrisburton
    Participant

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

    #115300
    __
    Participant

    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.

    Also,

    > I have subdomain like so subdomain.website.com 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.

    #115345
    chrisburton
    Participant

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

    #115382
    chrisburton
    Participant

    @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.

    #115433
    pmac627
    Participant

    @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.