CMS & WordPress
I've just come across this forum after a quick Google and was wondering whether you could help me out.
I'm currently moving a WordPress site from a sub folder - located at www.tyisafbala.co.uk/WordPress/ - to its root domain.
I have followed this tutorial http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install but I seemed to have stumbled after point six. If I try to login to the WP admin panel I'm getting re-directed to here http://tyisafbala.co.uk/wp-login.php?redirect_to=http%3A%2F%2Ftyisafbala.co.uk%2FWordPress%2Fwp-admin%2F&reauth=1
Can anyone help me out here?
maybe you have to check this line : require('./wordpress/wp-blog-header.php'); in your case it's should be :
I've just checked that but it looks fine to me. Within the index.php, yeah?
Ok, so you would try this : http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site
Sorry, what exactly do I have to do here?
Check the htaccess file, maybe theres a redirect or something in there??
You have to follow the steps... start from :
If you want to move WordPress to your root directory, make sure all index.php, .htaccess, and other files that might be copied over are backed up and/or moved, and that the root directory is ready for the new WordPress files.
I can't login to the WordPress dashboard though.
What I have done is change both the Site and Home URLs in the wp-config file to the root domain which has solved the links on-page but I still can't get to the Admin panel.
Just tried copying the wp-admin folder to the root domain to no avail.
Can I just go from Point 8 on that tutorial where it says "Move your WordPress core files to the new location. This includes the files found within the original directory, such as http://example.com/wordpress, and all the sub-directories, to the new location."
it's really important to add the new correct WordPress address (URI) and Site link URL... if you can't login, use PhpmyAdmin from your control panel, open your database and go to wp-options table : The first option is is for siteurl Then go to the next page of the table and check the home value. This should be the URL to the main site URL... save the table then try to get to the wp-admin ! because wehn i check your website all is good but you have to fixe this URI Mess...
Both the Site URL and WordPress Address have been changed in the wp-config - is it not just a case of moving the rest of the files from the sub folder to the root domain??
Looks to me like you've managed to do the transition. Are you still experiencing log in difficulties? Here's some help from the wordpress codex:
http://codex.wordpress.org/Login_Trouble they're actually pretty helpful.
Just check your Database using Phpmyadmin and make the changes... im sure it's the problem as You didn't Do that on the old Wordpress dashboard before moving the files to the root... just check the database because in your Website source i still see some urls like :
You have to update your database, make a backup before making changes and check what i said before...
I apologise for my ignorance or lack of understanding, but how do I access PhpMyAdmin?
PhpMyAdmin is included with "packaged" servers eg WAMP, XAMPP. If you installed Apache, MySQL and PHP individually you will need to install PhpMyAdmin (or you might prefer MySQL Workbench?) as well.
You've completely lost me there.
I was thinking of a localhost development server.
Many hosts have PhpMyAdmin for the database interface, but yours may not. If you log in to your host you should find something there as a way to access your database, no?
I don't have access to that through my Control Panel, no.
Ok so can you just tell us how you manage your website database!?
next page →