Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other WordPress installed in subdomain but want to run on root

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33828
    jacorre
    Participant

    I have done many installs of WordPress within a subfolder and then move the index.php into the root changing the following:


    define('WP_USE_THEMES',true);
    require('./subfolder/wp-blog-header.php');
    ?>

    My question is when the WordPress install is within a subdomain like blog.domain.com. What do you set the index.php path to when you want the site to still be accessed at domain.com?

    #84756
    jacorre
    Participant

    I guess I would just include the exact url.

    Are there any repurcussions to using subdomain vs subfolder when you want to store the files there but run the site from the root?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Other’ is closed to new topics and replies.