Hi all, I have a problem with wordpress instalation. I installed a wordpress on the server under the www/wordpress/ and now I would like to take the wordpress folder out of the server and move the files to the main directory. When I do that the whole wordpress theme I already set isn't there anymore. I know it's my mistake and I shouldn't use the folder "wordpress" but is there a way to delete the "wordpress" folder and take the files inside and move it to the main directory keeping the theme I set?
Hello, Make sure you copy all the files from one folder to another, you can download the files via ftp and then reupload them to the right folder, just make sure you set the config. Regards, Adam
Changing directories will involve making 2 edits in phmyadmin to change the base url I think and also the home link. Pretty straight forward stuff though. Nigel
If you are not comfortable using phpMyAdmin, use the following steps: Log in to your WordPress dashboard as an administrator and navigate to Settings -> General. Change both WordPress address (URL) and Site address (URL) to the new location for your WordPress site, i.e. change http://yourdomain.com/wordpress to http://yourdomain.com Click save changes. Move all files and directories from the /wordpress directory to the root directory.
Hi, http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database This will solve your issue
When Your Domain Name or URLs Change from http://codex.wordpress.org/Moving_WordPress When your domain name or URLs change - i.e. from http://example.com/blog to http://example.com, or http://example.com to http://newexample.com - there are additional concerns. The files and database can be moved, however references to the old domain name or location will remain in the database, and that can cause issues with links or theme display. If you do a search and replace on your entire database to change the URLs, you can cause issues with data serialization, due to the fact that some themes and widgets store values with the length of your URL marked. When this changes, things break. To avoid that serialization issue, you have two options: Only perform a search and replace on the wp_posts table. Use the Search and Replace for WordPress Databases Script to safely change all instances. ( If you are a developer, use this option. It is a one step process as opposed to the 15-step procedure below )
Try loging in to phpMyAdmin and change all the URLs that point to "http://yoursite.com/wordpress" to "http://yoursite.com" This way, your theme's style.css & images will be loaded correctly and the website will show up as normal, again