• I’m hosting with Network Solutions and I was trying to change my site URL from licewrangler.com/wordpress1 to just licewrangler.com and was following the directions in Giving WordPress Its Own Directory. It appeared to work for all of the pages, except the home page still showed the /wordpress1 .
    I tried to fix that by taking the /wordpress1 off the blog url in my wp admin panel. Now the site is messed up and I can’t get back to the admin panel to fix it.

    I’ve tried a few different solutions to get the site looking normal and gain access to my admin panel, but nothing has worked:

    1) I used the codex instructions link for instructions on what to do to get site back up.I edited the functions.php file in the chameleon theme but that didn’t work so I haven’t undone the changes there yet.

    2) I followed another suggestion to update using php myadmin and also tried editing the .htaccess file

    Maybe I’ve tried too many things trying to fix this and don’t have the right combination of changes, but any help to get this fixed would be very appreciated!!!!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Please try re-reading those instructions again carefully, You appear to have missed something. I’ve carried out such a “move” many times without any problems.

    Thread Starter gonesledding

    (@gonesledding)

    Thanks Esmi. I appreciate your response. I undid the changes I’d made and got the site working properly again. I then went through the instructions again,but am still having some problems. Here is what I did:

    1 – Changed the site address URL under Settings->General from https://licewrangler.com/wordpress1 to https://licewrangler.com/wordpress and saved that change. I did not change the WordPress Address URL as that is what messed up my site the first time. It is still https://licewrangler.com/wordpress1

    2 – I copied the index.php and the .htaccess file from the /wordpress1 directory into my web root (/htdocs).

    3 – I edited the index.php file I just placed in the web root and added /wordpress1 to the require line, so it now reads require('./wordpress1/wp-blog-header.php');
    I didn’t make any changes to the index.php in the wordpress1 folder

    My .htaccess file in the root directory looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    and in the /wordpress1/ it looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress1/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress1/index.php [L]
    </IfModule>
    
    # END WordPress

    4 – I logged in to my site, but didn’t make any changes to the permalink structure – it is set at https://licewrangler.com/2012/12/12/sample-post/
    I didn’t think I needed to make any changes to that.

    Please let me know if you have any suggestions or solutions. The site is now coming up, but there is no content, just “The page you requested could not be found” error. I appreciate your help. I have one other site that I need to do this to, but I want to make sure I get this one working properly before I “move” the other one.

    Have you published any posts yet?

    Thread Starter gonesledding

    (@gonesledding)

    I added back the /wordpress1 on the Site URL, so if you look at it now, licewrangler.com, you can see what it should look like, with all the content. Only I need the URL to only show licewrangler.com not licewrangler.com/wordpress1 .

    What happens if you switch the url back but use the default theme with all plugins deactivated?

    Thread Starter gonesledding

    (@gonesledding)

    It brings up the site and most of the content. The /wordpress1 is gone, except for when you return to the home page. Is there a way to keep the Chameleon theme and not have /wordpress1? This site is for a client and they’ve really liked everything about it except that.

    I’m sorry but as this is a commercial theme, you need to ask the theme’s vendors.
    https://www.elegantthemes.com/forum/

    Thread Starter gonesledding

    (@gonesledding)

    Thanks. I’ll look into that. I’m also wondering if it would just be easier to uninstall wordpress and then manually install it into the root directory. I would think this would fix my problem. Network Solutions does not allow quick installs into the root, which is why it created the wordpress1 folder.

    What version of WordPress are you using?

    Thread Starter gonesledding

    (@gonesledding)

    I’m using 3.5.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Can't access WP Admin Panel and website doesn't display properly’ is closed to new replies.