How to install WP to subfolder while homepage gets redirected
-
Hi guys ??
As the title says, I want to install WP to a subdirectory (copy, to be specific) e.g. https://www.example.com/test where my site will be accessed by everyone who knows the link (basically where I can develop my site). But at the same time I want that everyone who accesses the site https://www.example.com gets redirected to a different page.
How can I do that?
Currently I have my WP installed in the root directory and also have that content copied from the root to the /test subfolder.
I set a rule in htaccess that redirects everybody who goes to the root page (www.example.com), but this way I can’t access the homepage either.That’s why I would like to do it like I said before, but I’m not sure how to do it and I don’t want to mess up anything.
Thanks in advance!
Dave
- The topic ‘How to install WP to subfolder while homepage gets redirected’ is closed to new replies.