chefkevin
Member
Posted 2 years ago #
The comments on my blog posts at http://cooking-solutions.com/blog are still going to a broken link page.
If you leave a comment you get this: http://cooking-solutions.com/wp-comments-post.php
The page it should go to is http://cooking-solutions.com/blog/wp-comments-post.php
Where do I set the incorrect URL info so it goes where it should?
Waiting for weeks to get this resolved... HELP!!!
Chef Kevin
Try editing your theme's comments.php file and ensure that it uses the line:
<form action="<?php bloginfo('url'); ?>/wp-comments-post.php" method="post" id="commentform">
or
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
chefkevin
Member
Posted 2 years ago #
My comments.php has this line:
<form action='comment.php' method='get'>
Do I replace this with the above or add another line above or below it?
Also, do I replace 'url OR 'siteurl' with my full URL or does it automatically tie to another file?
Thanks!
CK
Replace the line currently in your comments.php with one of the lines quoted above. Either version will create the correct, full, url automatically.