404 error when reader submits comment
Whenever a reader submits a comment instead of refreshing the page and displaying comments, they get a 404 error. In the address in the tool bar is showing a double // so I assume that is the problem but I can't see how to fix it. I am looking at the code
PHP Code:
http://www.wonderfulweb.info Any assistance is appreciated. |
That code looks alright. The comments go through and get posted, the second slash is being inserted by the browser, the error starts before the comment form, with a wrong link TO the comment form
http://wonderfulweb.info/social-medi...ring-guinness/ #comments Note the space before #comments Both the (main) links to posts (via the post headlines) and the direct links to the comment area of posts have a trailing space. There appears to be a trailing space somewhere in your settings, see if there's a trailing space at Site Admin -> Settings -> Permalinks -> Custom Structure Click into the right edge of the "Custom Structure" text field and see where the cursor ends up at. If there's a trailing space, delete it, click "Save changes" and try posting a comment again. |
Thank you, that fixed it. I added it a kudos to you in the comments there on the blog.
I was looking for a way to mark this thread as solved now but I didn't see instructions in the FAQ. |
Flynn,
Could you share some insight on my blog? All of a sudden, my visitors are getting the 404 error when they submit comments. Not sure how this could happen suddenly. This is the error page they're getting: http://www.mommypotamus.com/wp-comments-post.php My wp-comments-post.php file is present. I even reuploaded it from WordPress.org. So I have no idea why I'm suddenly unable to get comments to go through. |
danielthepoet: You are not using the Atahualpa Theme. This forum is for users of the Atahualpa theme. If you wish to swap themes and have a problem, feel free, but you should go ask the author of your current theme.
|
All times are GMT -6. The time now is 09:04 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.