WordPress.org

Ready to get started?Download WordPress

Forums

WP URI vs Blog URI (6 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    Installed WP on http://www.domain.com/z (set this under WordPRess URI as well). Blogaddress URI wanted at http://www.domain.com. It is not creating the index.php on http://www.domain.com/ . Using 1.2 delta. What I am doing wrong?

  2. wantmoore
    Member
    Posted 10 years ago #

    WordPress doesn't create the second index.php. You have to either copy/move your index.php from /z to root path of your domain. The Wiki seems to be having some troubles at the moment or I would point you to some documentation regarding that. Give that a shot though.

  3. Anonymous
    Unregistered
    Posted 10 years ago #

    I figured that much, but the add one more actions to the whole thing. If I moved it, I will not longer able to edit the file through the admin interface. If I copy it, after I edit the file through the admin I have to go and copy the darm thing. Also, how the rest of the templates are handled? It got to be a better way...

  4. Anonymous
    Unregistered
    Posted 10 years ago #

    Of course, I could have all the files on /, then there is no longer a problem. I am just too tidy.

  5. wantmoore
    Member
    Posted 10 years ago #

    Moving it really is the best option. Once you've done that, you can open up wp-admin/templates.php and edit this line to point to the new path. (line#153 for me):

  6. <?php _e('Main Index') ?>

  7. The whole point of having this functionality is so that you can run WordPress from a subdirectory and have that index.php file out in the root of your site without the mess. So, it's not just you that's tidy.

  • Anonymous
    Unregistered
    Posted 10 years ago #

    Sure, that will work, temporarely. What would it happens when delta becomes epsylon? I would have to start making notes of things...

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.