![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
GFY's Halfpint
Industry Role:
Join Date: Jun 2007
Location: UK
Posts: 15,223
|
WP Gurus >> A Question If You please
Calling Fris
![]() 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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
scriptmaster
Industry Role:
Join Date: May 2006
Location: Serbia
Posts: 5,237
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
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');
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
GFY's Halfpint
Industry Role:
Join Date: Jun 2007
Location: UK
Posts: 15,223
|
Thanks guys for your help and have a very Happy New Year
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,267
|
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/
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
GFY's Halfpint
Industry Role:
Join Date: Jun 2007
Location: UK
Posts: 15,223
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |