wreckom
Member
Posted 2 years ago #
Hi,
I'm in the process of moving my blog from an address to another one. I had my previous blog under an URL in the form of blog.myblog.com (using a secondary domain name), which was fine as Hostmonster's automatic install offered me the option to do so.
Now that I want my blog to be installed with the same domain name as my main website, it looks like I can install it only with an URL like http://www.mydomain.com/blog, and that I cannot install it as blog.mydomain.com.
I've looked into all the pages I could related to the matter of changing the address using subdirectories, but nothing about this specific problem. Any help would be greatly appreciated.
wreckom
Member
Posted 2 years ago #
I've read it again and again and I can't really work out how to make it work. Thing is that it says to move the .ht_access to the root directory (fine) but I already have the same type of file there, so should I merge them together?
wreckom
Member
Posted 2 years ago #
Sorry I've tried a few things following instructions on Giving wordpress its own directory, but I can't make it work. It's either very simple and I can't see the obvious solution, or (as I most fear) it demands advanced knowledge, tweaking stuff that I don't want to put my hands in, or I don't know what ... Still, any help would be appreciated.
manntis
Member
Posted 2 years ago #
I did this once and it was a PITA.
I put WP in it's own directory, then called it from the main index page so WP posts were visible as soon as you go to the domain. The .htaccess file went into the WP directory, not into the root.
There are a couple of files you need to manually update, too, since your backend won't work until you get WP functioning again. I think wp_config was the main one.
wreckom
Member
Posted 2 years ago #
Thanks for the answer manntis, but I've got it working now :)