Forums

Permalinks Break Comments (3 posts)

  1. camdagr8
    Member
    Posted 2 years ago #

    I created a custom theme with custom comments and whenever I set my permalinks to anything but the default, my comments disappear and the <!--more--> functionality stops working. Anyone have any idea why this happens? If

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of specific help.

  3. Shane G.
    Member
    Posted 2 years ago #

    Hi,

    Reset your desired permalink from wordpress admin area 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, you can check with your blog posts/pages and comments area.

    Thanks,

    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic