Hi!
I've two wordpress sites one located on the root (www.domain.com) and then another wordpress site located on a subdirectory (wwww.domain.com/hola).
The first one is the main site we're working on, and the second one is a temporary site that has a poll to get to know users opinion.
So I want that, temporily, http://www.domain.com redirect to wwww.domain.com/hola and I've used the code below in htaccess to accomplish it. The problem is that this redirection doesn't allow me to access to the pages those I'm working on. For exeample I'm editing contact page and when I want to see it's draft (or published) version I'm redirected to a 404 error page.
Does anyone know what happens and could help me? Thank you very much!
Redirection used:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteEngine on
RewriteCond % ^matildabarcelona.com.com$
RewriteRule (.*) http://www.matildabarcelona.com/$1 [R=301,L]
RewriteRule ^$ hola [L]
</IfModule>
# END WordPress