Title: Custom permalinks doesn&#8217;t work
Last modified: August 19, 2016

---

# Custom permalinks doesn’t work

 *  [levani01](https://wordpress.org/support/users/levani01/)
 * (@levani01)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/custom-permalinks-doesnt-work/)
 * I moved my wordpress installation on a VPS hosting but custom permalinks doesn’t
   work any more. When I click on a post title it redirect me to 404 Not Found page.
   It seems my .htaccess isn’t writable and I paste this code manually
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       ```
   
 * as wordpress said but it didn’t help. Can anyone please tell how can I solve 
   this problem?
 * Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/custom-permalinks-doesnt-work/#post-1387508)
 * What kind of server are you using: Windows or Linux?
 *  Thread Starter [levani01](https://wordpress.org/support/users/levani01/)
 * (@levani01)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/custom-permalinks-doesnt-work/#post-1387715)
 * I’m using linux, centos 5.
 *  [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * (@shane-g-1)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/custom-permalinks-doesnt-work/#post-1387733)
 * Hi,
 * Reset your permalink from wordpress admin area with your desired and add this
   code in htaccess:
 *     ```
       # BEGIN WordPress
   
       <IfModule mod_rewrite.c>
       ErrorDocument 404 /index.php?error=404
       RewriteEngine On
       RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
       ```
   
 * Now, check with your blog posts.
 * Thanks,
 * Shane G.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom permalinks doesn’t work’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/custom-permalinks-doesnt-work/#post-1387733)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
