WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Comment 404 Error (Extra Slash Added)

[Resolved] Comment 404 Error (Extra Slash Added)

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

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

    @esmi

    Forum Moderator

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

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Comment 404 Error (Extra Slash Added)’ is closed to new replies.
Skip to toolbar