Title: .htaccess redirection
Last modified: September 8, 2016

---

# .htaccess redirection

 *  [gregbot](https://wordpress.org/support/users/gregbot/)
 * (@gregbot)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/htaccess-redirection/)
 * 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.

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [gregbot](https://wordpress.org/support/users/gregbot/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/htaccess-redirection/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
