• Greetings WPers!

    I was trying to move my directory today using this guide:

    Something went wrong. My site is here: eigopro.me

    I copied the index.php and updated and copied .htaccess to the root of my site in cPanel.
    The formatting is gone and I cannot login to WP’s admin panel.

    How do i fix this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter 2314

    (@2314-1)

    Those are the two I was using to try and make the change.
    I am asking if the formatting being gone is a quick fix or do I need to undo my changes, bring the the site back to its former directory and try again. In which case, I wouldn’t know where to start.

    First off check that the changes described in “Giving WordPress its own directory”, in the files .htaccess and index.php are correctly done.

    Have a look at the pages from your website in your browser, which file paths are wrong ? This will give clues as to what needs changing.

    Thread Starter 2314

    (@2314-1)

    So, I went through the directions on “Giving WordPress its own directory” and confirmed I followed them. Specifically I followed “Using a pre-existing subdirectory install” because WordPress was installed in a subfolder: public_html/eigopro.me

    -Per the directions, I edited the site name on wordpress when I had access to the admin interface.

    -I COPIED not moved the files index.php and .htaccess from their subfolder in: public_html/eigopro.me/wp to: public_html/eigopro.me

    -I edited the index.php file to the following: require( dirname( __FILE__ ) . ‘/wp/wp-blog-header.php’ ); which is the location for wp core files.

    Next step says to access the permalinks but I cannot log into to the admin interface using the addresses from the tutorial and some others I found elsewhere.

    Really need help. Been tweaking different things for over an hour, but the theme doesn’t load properly still and it looks like this:
    https://eigopro.me/

    You said:
    because WordPress was installed in a subfolder: public_html/eigopro.me
    BUT it really is at:
    installed in a subfolder: public_html/wp

    Thread Starter 2314

    (@2314-1)

    I’m super confused because I have folders called “wp” in two places. I edited the functions.php to sort of bring the site back to how it was. I have dashboard access now, but it displays page not found and my page links are not working. https://eigopro.me/wp/

    My cPanel structure is like this:
    public_html
    /eigopro.me
    //wp
    /wp

    In other words, the folder “wp” exists immediately when you open the public_html, along with folders eigopro.me and other websites.

    When you open eigopro.me there is a folder in there called “wp” also.

    But I am only working with the wp folder that is inside of the website I am working on, ie eigopro.me, right? I don’t really need that public_html/wp folder.

    Thanks for sticking with me through this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Moving Directory’ is closed to new replies.