• Hi
    I’m a newbie and have got a friend hosting my site. When he set up the hosting for my site he installed it into a directory called “blogwp”, so that my WordPress url ever after has been called “mydomainname.com/blogwp”. Now I’ve got round this by setting up a 301 Redirect so that all posts and pages with that extension go to ‘https://mydomainname.com” and also I put https://mydomainame.com as the Blog url (because WordPress gives you that option) and that’s what appears in the web browser.
    2 questions:1) I left out the “www” part of my domainname for the blog url so that you get (for example)”https://johnsmith.com” because I was told it isn’t crucial to include it. If I go back and put “www” there will it mess up all my links etc?
    2) How do I change things so that https://www.johnsmith.com becomes the url of the site AND all the links between posts (which have a Redirect already as I said) do not get messed up?

    I tested one of my affiliate product links that has the code without the WWW in it e.g https://johnsmith/recommends/acnecure,
    and changed it to https://www.johnsmith/recommends/acnecure
    and it still worked, so it makes me think it might not be too difficult. Am I right?

    JOHN

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    1. No, it will not mess up your links. www. is really nothing more than a placeholder that says “this is not a subdomain.”

    2. Get rid of the redirect and instead, move WordPress into the root directory. This will put WordPress where it should be (without the need for a redirect) and give you the control that you need.

Viewing 1 replies (of 1 total)
  • The topic ‘www or not in the url’ is closed to new replies.