• Resolved Darthside

    (@darthside)


    Is it possible to change the displayed URL of an install in a subdirectory to a different domain name that is pointed to that subdirectory?

    I’ve read this:

    On the Settings->General screen in a single site installation of WordPress, there are two fields named “WordPress address (URL)” and “Site address (URL)”. These are also known as the “Home” and “Site URL” settings. They are important settings, since they control where WordPress thinks your site is located. They control the display of the URL in the admin section of your page as well as the front end, and are used throughout the WordPress code.

    The “Home” setting is the address you want people to type in their browser to reach your WordPress blog.
    The “Site URL” setting is the address where your WordPress core files reside.

    But that isn’t quite what I am trying to do. What I want is this:

    WordPress installed here: mydomain.com/mystore
    URL to show as mystore.com

    I will have mystore.com parked and pointed to: mydomain.com/mystore.

    The reason I want this setup is that I want my corporate site to be my main site, an eccommerce site in one subdirectory and my blog/forums in a 3rd subdirectory install.

    Is this possible? Or is it just too convoluted? Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Add the domain to your hosting account and you can define the directory it points to, can’t you? So a domain can effectively point at any directory. Or am I missing something?

    Thread Starter Darthside

    (@darthside)

    I have it pointed to the directory, I was just trying to determine if there is a way to have the WP installation in the subdirectory SHOW the URL in the address bar that is pointed at it, as opposed to mydomain.com/subdirectory.

    Sorry for the confusion!

    That’s what should show.
    Site in sub directory:
    domain.com -> public_html/mydirectory
    WP url = domain.com
    address bar shows domain.com
    Site at root:
    sub.domain.com -> public_html
    WP url = sub.domain.com
    address bar shows sub.domain.com
    Etc.

    Thread Starter Darthside

    (@darthside)

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Changing URL In Subdirectory Install’ is closed to new replies.