• Hi to the wordpress community,

    I used a subdomain to make a preview website and I used the .htaccess technique to redirect it to the main domain afterwards using this code:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^artfutura.org\.org$
    RewriteRule (.*) http://artfutura.org/$1 [R=301,L] 
    RewriteRule ^$ 2016 [L]

    My problem is that it is redirecting to the URL artfutura.org/2016
    It should get the wordpress files from the ftp /2016 folder but then the URL should be artfutura.org without /2016

    I continue to dig for solutions as I am stuck there :-/ Please help 🙂

The topic ‘.htaccess redirection’ is closed to new replies.