• Hello,
    We are trying to figure out how to get the blog running on its own page on our website, https://www.solaswebdesign.net. The problem we are encountering is that we cannot call the blog index file ‘index.php’ because that conflicts with our own homepage ‘index.shtml’. We cannot change the filename of our homepage because of all of the inbound links we have coming into it. So, we’ve tried changing the blog filename to ‘blogindex.php’ and have it running on the root directory: https://www.solaswebdesign.net/blogindex.php. In this situation, we cannot make any of the options in the blog (commenting on blogs, anything on the left nav) work. We’ve also tried leaving it as ‘index.php’ and putting it into a seperate folder off of the root called ‘wordpress’, and followed the instructions found here: https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory. However, these instructions seem to indicate that the index.php file needs to be in the root directory. Can anyone help us out with this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Should work if you change step 4 to reflect h ttp://www.solaswebdesign.net/wordpress and leave the index.php in the wordpress/ sub-directory. Note the wordpress-related .htaccess (if used) would need to be in wordpress/ as well.

    Thread Starter polarweb

    (@polarweb)

    Thanks, Yosemite. I appreciate your help. I did try this solution, and got the following error results on the index.php page in the wordpress directory. Take a look:

    https://www.solaswebdesign.net/wordpress/index.php

    I did follow the rest of the directions, and my index. php page looks like this:

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

    Any thoughts?

    require('./wordpress/wp-blog-header.php');

    Change that to:
    require('./wp-blog-header.php');

    Make sense?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can index.php file be called something else?’ is closed to new replies.