![]() |
WP Gurus >> A Question If You please
Calling Fris :) or any other wordpress gurus
I have a blog which I have been playing with and installed it into a sub folder but want to move it into the main public_html folder and use it as the main site. Is this an easy thing to do or would it be easier to just re-install the blog into the main folder before I do any more work on it Cheers |
You can find pluginthatwill "search and reaplace" in your database, so you will:
search for: yourdomain.com/subfolder/ and replace with: yourdomain.com/ and just move files to domain root. P.S. never try that but I guess it will work |
copy index.php into your main folder
edit index.php to point to your wordpress folder under Settings: General, change Blog URL to your main url. done example: wordpress is installed in public_html/wordpress/ copy public_html/wordpress/index.php into public_html/index.php edit public_html/index.php and you'll find this line Code:
require('./wp-blog-header.php'); Code:
require('./wordpress/wp-blog-header.php'); |
Thanks guys for your help and have a very Happy New Year
|
do what brujah said, or just replace all instances for your domain
here is a couple of helpful links http://codex.wordpress.org/Changing_The_Site_URL http://www.tamba2.org.uk/wordpress/move/ http://www.mydigitallife.info/2007/1...n-or-location/ |
Quote:
|
All times are GMT -7. The time now is 01:28 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc