• Resolved elnar

    (@elnar)


    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)
  • 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

    (@elnar)

    I found this page https://codex.www.ads-software.com/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.