Title: .htaccess blocking comments page
Last modified: August 18, 2016

---

# .htaccess blocking comments page

 *  Resolved [elnar](https://wordpress.org/support/users/elnar/)
 * (@elnar)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/htaccess-blocking-comments-page/)
 * I’m new to wordpress, I spent hours on it yesterday to make it fit with my layout.
   When I was done I changed my .htaccess so that /wordpress/index.php would be 
   the default directory page by using:
 * DirectoryIndex wordpress/index.php
 * It works, but when I click on “comments” in my post I get 403 forbidden. I don’t
   get forbidden when my .htaccess isn’t using the default directory index code.
   Someone please help and thanks in advance.

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

 *  [creativenative](https://wordpress.org/support/users/creativenative/)
 * (@creativenative)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/htaccess-blocking-comments-page/#post-516519)
 * I had the same problem recently and solved this by going to Options > General
   > “unchecking” the boxes under
    Membership: Anyone can register Users must be
   registered and logged in to comment
 * Hope this works for you, too.
 *  Thread Starter [elnar](https://wordpress.org/support/users/elnar/)
 * (@elnar)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/htaccess-blocking-comments-page/#post-516522)
 * I found this page [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
   and followed the instructions. If it wasn’t for you creativenative, I wouldn’t
   have found the link. It was in the general options, didn’t really notice it earlier.
   But it solved my problem and there’s not really any need to change the .htaccess
   file if you follow the instructions on that page.

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

The topic ‘.htaccess blocking comments page’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [elnar](https://wordpress.org/support/users/elnar/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/htaccess-blocking-comments-page/#post-516522)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
