hi,
We will be moving our wordpress blog to the main site (not subfolder). I have been reading the "moving wordpress codex" and i have a few questions.
moving the files, no problem coz i have ftp access.
1. All posts will be there? or do i need to export/import?
2. do i need to move or change anything from the database? (just to make sure). Because currently i only have FTP access. My client did gave me the database username, password but not the logins for phpmyadmin.
thanks
italianst4
Member
Posted 2 years ago #
There are a few things you need to change before you mode your blog. Since you do not have access to phpmyadmin, make sure what you do is done correctly the first time, otherwise you maybe locked out of your blog and would have to contact your client for access to phpmyadmin. Please proceed at your own risk.
READ ALL STEPS BEFORE DOING THEM...
Here's what you need to do:
- 1.) Login to your blog's admin
-
2.) Go to Settings>General
- 3.) Change WordPress address (URL) and Blog address (URL) to the destination of the new blog.
- 4.) Save Changes (Note: when you save changes you will be locking yourself out of the blog, because its going to try to access the blog at the new location, don't worry...keep reading)
-
5.) Move all of your blog files to the new location (the URL you set in step 3.
From here you'll notice your blog is still intact and you'll be able to log back into your blog's admin. This will complete the migration!
Hope this helps!
~Anthony
Just another choice, instead of a move (will assume WordPress is installed in a sub-folder called blog):
To make WordPress available at http://mydomain.com just change in Settings->General, the Blog address (URL) to http://mydomain.com and put this index.php file in your web-root folder (it is the same folder that contains the blog folder)
<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./blog/wp-blog-header.php');
?>
Then update your permalinks in Settings->Permalinks.
antro411
Member
Posted 2 years ago #
I was trying to help my friend and I really missed up his website should be http://www.centralvalleydancers.com but he installed the wp on http://www.centralvalleydancers.com/dreantent directory. well under settings/general I accidently erase the /dreament on both blog name and the other too so it was centralvalleydancers.com and no I cant get in to the dashboard control panel. we wanted to be on the root directory I hope we dont have to unistall the application after 3 days of hard work getting it customized is there anyway you can help us.
thanks guys.
@MichaelK at least there's another option. But i wonder what the pages or post url would be, have the subfolder? /wordpress/welcomepage
@antro411 since your moving your blog to the root directory, you have finished the first step. So i must suggest continue on reading her:
http://codex.wordpress.org/Moving_WordPress
@antro411 use phpMyAdmin to fix siteurl and home in your wp_options table...see http://www.tamba2.org.uk/wordpress/site-url/ or put these in your wp-config.php file:
http://www.centralvalleydancers.com/dreantent
define('WP_SITEURL', 'www.centralvalleydancers.com/dreantent');
define('WP_HOME', 'www.centralvalleydancers.com/dreantent');
Should also point out that you hijacked this thread and normally you should start your own topic/thread. Thanks.
@mardie - URLs could be like yourdomain.com/welcomepage for a page and post URLs will be dictated by your permalink structure, but will NOT include the subfolder name.
i forgot something and wanted to go to my old wordpress, but since I already change the URL, it was a problem. But then the "quick fix method" work best for me from here:
http://codex.wordpress.org/Changing_The_Site_URL
anyway i think this is now resolved. coz everything is finished and working perfectly fine. thanks again