Jump to content
Sign in to follow this  
pagelines_45

Site lost formatting

Recommended Posts

pagelines_45

Site was working well but lived in a sub directory. The client asked me to move it. I tried to move the site out of a subdirectoy (/wp) to the root and now I have lost all formatting and can not access to admin. I copied my back up files into wp directory (as they were before the move) and still the same issue. I have always had an htaccess file in the root setting the destination to /wp. This all worked before. I am sure I have messed something up. Help would be appreciated. Thanks! David M

Share this post


Link to post
Share on other sites
Rob
David, if your .htaccess file is properly permissioned, go to Dashboard > Settings > Permalinks. Make sure the permalink setup is what you want. Save. Check the site. Your links will all be updated to the proper location.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
pagelines_45
Hi Rangelone, thanks for the quick response. This issue is I cannot access my Dashboard... I can see it on the server however when I try to log in I receive this message "The requested URL /wp-login.php was not found on this server."

Share this post


Link to post
Share on other sites
Rob
It appears your WordPress installation is incomplete, missing key components. As it won't affect any Custom Code, I'd strongly recommend you reinstall WordPress in the root directory. I'd also suggest backing up your .htaccess but creating a new one. Use a new wp-config.php too. Let WordPress do a complete new reinstall. As long as you point it to the existing database, it should not overwrite that, but to be safe, copy that from phpMyAdmin.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Henry Perkins
If you have access to phpMyAdmin, go into the wp_options table and make sure the URLs are consistant with where you are moving your installation. If you were using a permalink structure, delete your .htaccess file from the directory that wordpress is installed in, and erase what is in permalink_structure row in wp_options table.

Share this post


Link to post
Share on other sites
pagelines_45
Hi, so I had my hosting provider restore my webspace from the previous day and I am still having the same issues. Any thoughts? I am a web designer, not an true coder... I am not comfortable with reinstalling as I am concerned about loosing everything seeing as the back up produced the same result. Thanks! David

Share this post


Link to post
Share on other sites
pagelines_45
So I edited the wp-config.php file and added: define('WP_HOME','http://myhome.com'); define('WP_SITEURL','http://mysiteurl.com/wp'); my files are in the subdirectory "wp" and the site came back up. When I pull that code the site looses it's formatting and I can not access the admin. When the site came back the only issue was one of the features was "broken". I'm not sure what is going on but hopefully this will help someone. Thanks everyone for your help!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×