WordPress.org

Forums

[resolved] Comment 404 Error (Extra Slash Added) (3 posts)

  1. chanel
    Member
    Posted 5 years ago #

    I'm trying to fix my friend's website.

    For example, her post url (this is a fake url) is http://hersite.com/herpost

    However, when someone adds a comment it takes people to the http://hersite.com/herpost//comment-page-1#comment-0000

    There's 2 slashes before comment-page, and it shows a 404 error instead of the post with the new comment, when only one / is needed.

    Which file is responsible for the address after adding a comment? Does anyone know how to fix this?

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Check the urls entered in Admin/Settings/General. Also try resetting any custom permalinks to the default setting.

  3. chanel
    Member
    Posted 5 years ago #

    Thank you so much. That fixed it. There was an extra space after /%postname%/ which generated the error.

Topic Closed

This topic has been closed to new replies.

About this Topic