• I have my blog installed and functioning in a subfolder. I currently have a site in my root https://www.mysite.net but I want the user to type that in and get my subfolder by default (as my new site replacing the old). Do I have to change something in WP or my domain name settings?

    What will display in the URL window when this is complete? https://www.mysite.net or https://www.mysite.net/blog?

    I need to make sure the site is access by adding the “www.” or leaving by it off.

Viewing 3 replies - 1 through 3 (of 3 total)
  • To make WordPress available at https://mydomain.com just change in Settings->General, the Blog address (URL) to https://mydomain.com and put this index.php file in your web-root folder (it is the same folder that contains the blog folder)

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./blog/wp-blog-header.php');
    ?>

    Then update your permalinks in Settings->Permalinks.

    Thread Starter _beatrice_

    (@_beatrice_)

    Thank you very much. I had the index.php in the /blog directory and changed it there, but no effect. I had to move it into the root directory and its running now.

    I also saw that I had a crossdomain.xml file and that takes care of the “www” issue.

    Now, when I update the permalinks, those are all going to clutter up my main root folder or will they get tucked into that /blog folder?

    Now, when I update the permalinks, those are all going to clutter up my main root folder or will they get tucked into that /blog folder?

    Not sure that’s the correct way to describe changing permalinks.

    If you use, for example, the Day and Name permalink structure a post today titled “Sample Post” would have a permalink of
    https://www.yourdomain.com/2009/05/09/sample-post/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing URL to access blog’ is closed to new replies.