Forums

change URL to domain name (7 posts)

  1. weblu62
    Member
    Posted 1 year ago #

    I installed wp in a subdirectory, http://mysite.com/wp, but would like to use my root directory as my home URL http://mysite.com.
    I found this advice from a year ago:

    Open your header.php file in the theme and change the link there to your root directory.

    I'm assuming "the link" means my URL, but I couldn't find any reference to it or the root directory.

    I also trying changing it in the admin panel, which really messed things up.
    Suggestions?

  2. Samuel B
    moderator
    Posted 1 year ago #

  3. weblu62
    Member
    Posted 1 year ago #

    Thanks Samuel B

    I had read through both those, however I don't need to move into a new directory, it's already there in its own directory, and I can't see how those instructions relate to my question.

    I'm beginning to think that if wp is in a subdirectory, I can't have my URL show up as the domain name unless I move it into the root directory. Is that the case? I understood that somehow you could do that.

  4. Samuel B
    moderator
    Posted 1 year ago #

    the 1st link I thought is what you wanted
    maybe re-phrase your needs better

  5. weblu62
    Member
    Posted 1 year ago #

    I'll try this again.

    I have wp in a subdirectory which means my URL is http://mysite.com/wp. I would like to KEEP WP in a subdirectory, but have my URL expressed AS IF IT WERE IN the root directory http://mysite.com. I read somewhere that you can do this by masking the actual URL.

  6. Samuel B
    moderator
    Posted 1 year ago #

  7. weblu62
    Member
    Posted 1 year ago #

    Thanks for your persistence. I can't resolve this right now. This last link took me down another complicated rabbit hole. I thought it was a simple setting. I'll have to come back to it another time.

    Do I have to move WP into the root directory in order to have my URL expressed as mysite.com rather than mysite.com/wp?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic