Title: .htaccess problem.
Last modified: August 20, 2016

---

# .htaccess problem.

 *  Resolved [cferr](https://wordpress.org/support/users/cferr/)
 * (@cferr)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/htaccess-problem-20/)
 * Hi,
 * When .htaccess is turned on I can not access my blog posts (404 error). however,
   when I turn it off .htaccess(I rename the file) I cant login (page not found).
 * ?? any ideas why this is happening?

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

 *  [leejosepho](https://wordpress.org/support/users/leejosepho/)
 * (@leejosepho)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/htaccess-problem-20/#post-3325203)
 * No, but I think you might solve it by (deleting whatever you have there and) 
   beginning back at the beginning:
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
       ```
   
 *  Thread Starter [cferr](https://wordpress.org/support/users/cferr/)
 * (@cferr)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/htaccess-problem-20/#post-3325208)
 * Thanks, that worked.

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

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [cferr](https://wordpress.org/support/users/cferr/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/htaccess-problem-20/#post-3325208)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
