bentzis
Member
Posted 4 years ago #
Is there a way to setup WP as my homepage, without the browser redirecting to the blog folder? I've tried following the instructions of "Giving WordPress its Own Directory While Leaving Your Blog in the Root Directory", but the browser still points to the WP directory, which apparently search engines don't like so much.
Any help would be appreciated.
Thanks!
theinnercircle
Member
Posted 4 years ago #
If your WP installation is in something like http://mydomain.com/wp and you want users to access it when they type http://mydomain.com, then make a .htaccess file in your root folder and put this in it
Redirect / http://mydomain.com/wp/
bentzis
Member
Posted 4 years ago #
Thanks. I tried it now, but it didn't do it. Is there something else I should do? Does it matter where in the .htaccess file I place the Redirect?
bentzis
Member
Posted 4 years ago #
I ended up making a new folder called /htdocs inside the current /htdocs of my host. That seems to have done the trick.
bentzis,
if you have followed the instructions correctly - the method described in the Codex must work. 99.99% of the cases when it doesn't - it is user error: people not being able to read and follow a few steps...