thesackshack
Member
Posted 3 years ago #
My blog has been located on thesackshack.com/blog since I installed it.
Tonight i purchased a new domain (ncaafootballtalk.com) and transferred it to my server. I want to make the blog the new URL I just purchased and leave everything else on my old URL.
My server created a folder in my 'public_html' section named after the new URL (ncaafootballtalk).
What do I have to do to make the blog show up as ncaafootballtalk.com (the new URL)???
you want to leave teh files under the old folder but have the blog show the new domain name, why don't you just move the blog to the new domain?
http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site
There is more than one way to do this. If you have full control over your server (meaning, you can edit your httpd.conf), you can do a quick two-step:
- Set the
DocumentRoot directive for ncaafootballtalk.com to public_html/blog or public_html/thesackshack/blog, whichever is applicable.
- Log into the blog at thesackshack.com/blog and change both WordPress address and Blog address to http://ncaafootballtalk.com/
Failing that, you could do a quick three-step:
- Create a new file called
index.php in your public_html/ncaafootballtalk
- In that file, write the following:
<?php
define('WP_USE_THEMES', true);
require '../blog/wp-blog-header.php';
?>
(The second line may actually have to be require '../thesackshack/blog/wp-blog-header.php';, depending on how your directory structure is set up)
- Log into the blog at thesackshack.com/blog and change both WordPress address and Blog address to http://ncaafootballtalk.com/
Failing that, you can install a new copy of WordPress on ncaafootballtalk.com and then either configure it work off the existing database or export the old blog data into a WXR file and import it into the new blog.