Forums

trouble moving index.php to root directory (2 posts)

  1. nightfishing
    Member
    Posted 5 years ago #

    I have WP installed into its own dir (www.mysite/Wordpress/) and would like to move the index.php to the root dir (www.mysite).

    I imported my MT entries and everything worked 100%.

    I moved the index.php file and edited it as directed and the site loads BUT...

    All of my imported MT entries now link to the old MT archives.

    http://www.mysite.com/?p=53

    instead of

    http://www.mysite.com/wordpress/?p=53

  2. dje
    Member
    Posted 5 years ago #

    Did you follow all the instructions on;

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Did you do the step of changing the details of your blog under the options panel?

    • Go to the Options panel.
    • In the box for WordPress address (URI): change the address to the new location of your main WordPress core files. Example: http://example.com/wordpress/
    • In the box for Blog address (URI): change the address to the new location of the index.php file in your root directory. Example: http://example.com/index.php
    • Click Update Options.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags