PDA

View Full Version : Help Needed - How do I move my files in a subdirectory to the main domain directory?


adriancheong
02-20-2008, 09:22 PM
Hi,

Someone please advise, I have a problem here.

Right now, my WP is installed in a subdirectory folder called travelblog in public_html. Therefore my website displayed with a URL of http://travelappraiser/travelblog

How do I shift my WP content to the domain directory as that my website will be displayed as http://travelappraiser.com?

Thank you.

Basil
02-20-2008, 09:37 PM
Copy the index.php file from the wordpress directory to the one above it, and change the "require('./wp-blog-header.php');" line to "require('./travelblog/wp-blog-header.php');".

You don't have to actually move the files.

adriancheong
02-22-2008, 08:12 AM
Thanks a lot Brasil.

Thank you for your help. Really appreciate it.