• Resolved elketer

    (@elketer)


    So, I installed WP in a folder called wp-blog rather than my root directory. Now I want to be able to access the site from the root URL but I am running into several issues. Number one, I cannot change my site URL or Permalink structure from within the WordPress dashboard. Someone suggested this may be because I installed WordPress as multisite, which is true. Are there some tutorials on making this work? Or should I just reinstall in a different sub-directory not using multi-site and just export all the existing content to that install and wipe this one?

Viewing 2 replies - 1 through 2 (of 2 total)
  • hello, ElKeter, & welcome to the WordPress support forum.

    Did you have a particular reason for installing WordPress as a multisite installation? Truthfully, the only time you should really do that is if you have multiple users on your site, each of whom has a blog–think wordpress.com as a prime scenario for this. Newspapers who have columnists,each of whom have their own blog is another. Unless you have a similar need, multisite is probably not the way to go.

    You can actually get rid of the multisite installation by commenting out the entries in your wp-config.php file by putting // in front of a single line like so:
    // this is a comment
    or by using /* with multiple lines like:
    /* this comments out 3 lines
    Line 2 is a comment
    so is line 3 */

    The tools section of your WordPress dashboard should now reflect that the network option is no longer available. You might also need to comment out those parts of your .htaccess file that pertain to multisite. Commenting out the .htaccess is a bit different than the wp-config.php file, in that you put a # in front of the line you wish to comment out, as in:
    # this is a comment & will be ignored.

    Assuming you’ve disabled multisite, to make your site come up on your domain, follow the article here:
    https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Basically, if you have a typical shared hosting install of WordPress using Linux, copy your index.php file to the web root & change it to look like:
    require(‘./wp-blog/wp-blog-header.php’);

    Please let us know if this did (or did not) help.

    Thread Starter elketer

    (@elketer)

    HUUUUUUGE thanks!

    Made the changes to config.php. No more multisite. Functions are available.

    What a relief!

    Thanks again.

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

The topic ‘Access WP install in sub-directory from root’ is closed to new replies.