Title: htaccess rewrite
Last modified: August 18, 2016

---

# htaccess rewrite

 *  Resolved [newcoma](https://wordpress.org/support/users/newcoma/)
 * (@newcoma)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/htaccess-rewrite/)
 * Hi
 * I have moved my site from directory
 * mysite/blog
 * to
 * mysite/
 * Now what exactly do i write in the .htaccess file so the old links directs to
   the new ones?

Viewing 1 replies (of 1 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/htaccess-rewrite/#post-496781)
 * Usually you can just move the .htaccess with the other files and it works fine.
   If not, update your permalinks to update the .htaccess.

Viewing 1 replies (of 1 total)

The topic ‘htaccess rewrite’ 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/)
 * 1 reply
 * 2 participants
 * Last reply from: [Samuel B](https://wordpress.org/support/users/samboll/)
 * Last activity: [19 years, 5 months ago](https://wordpress.org/support/topic/htaccess-rewrite/#post-496781)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
