Wordpress Redirect After Commenting, Failed

Automatically receive updates via email...
Enter your email address:
Delivered by FeedBurner

It was already a month now since I started looking for the ways to solve the problem of the Wordpress installation of this blog, but I failed. If you tried posting comments on this blog then maybe you noticed it already.

I checked my other blogs that are using the Wordpress software, but they are all running smoothly except this blog. I am just wondering what really is the cause of it.

What’s the problem?

The Wordpress software is designed in a way that after you post your comment, you’ll immediately see your comment on the space after the last posted comment. The code that is responsible for the redirection after you post your comment is the code below:

$location = ( empty($_POST['redirect_to']) ? get_permalink($comment_post_ID) : $_POST['redirect_to'] ) . ‘#comment-’ . $comment_id;
$location = apply_filters(’comment_post_redirect’, $location, $comment);

wp_redirect($location);

This code is found at the end part of the file “wp-comment-post.php”

But it is not functioning on this blog after you click that “Submit Comment” button. Instead of redirecting you to the post where you posted your comment, you are immediately redirected to the messed page of this blog.

Remedy

I already tried a lot ways just to correct the problem. I disabled all the plugins, edited the “.htaccess” file… etc. But still the problem exist.

Help

I’m already at my limit. I need your help.

Rate this:
2.8
Automatically receive updates via email...
Enter your email address:
Delivered by FeedBurner
Save to del.icio.usStumble It!Submit To NetscapeDigg This!
Tags: , , ,
Posted by User ImageSELaplana, 13 January 2008 at Wordpress (No. of Views: 8839)

Comments

6 Responses to “Wordpress Redirect After Commenting, Failed”

  1. No MyBlogLog Account
    1
    no imageAllen (Check me out!) Says:

    Comment test (Just to know what’s wrong)

  2. No MyBlogLog Account
    2
    no imageAllen (Check me out!) Says:

    Hi Sel, I just tried to comment to see the problem. Did you do any modifications to the comments file lately? I could suggest that you revert to the original files.

    I just checked my installation, how come I don’t have that file? wp-comment-post.php?

  3. No MyBlogLog Account
    3
    no imageSELaplana (Check me out!) Says:

    hi thanks… wp-comment-post.php is found at the root directory at is responsible for posting the vistiors’ comment. Actually, I haven’t edited any of the Wordpress original files. I only replaced them during the upgrade process to the latest version.

  4. No MyBlogLog Account
    4
    no imageSELaplana (Check me out!) Says:

    test ko rin if okay na. I tried installing the threaded comment plugin. I don’ know if it works.

  5. No MyBlogLog Account
    5
    Wordpress Problem at this Blog » SELaplana Says:

    [...] I told you before that this blog has problem in redirecting users who posted comments at this blog into the right page where they posted their comments. My previous post about this is “Wordpress Redirect After Commenting, Failed.” [...]

  6. No MyBlogLog Account
    6
    Still Fixing My Blogs » SELaplana Says:

    [...] commented (Check my posts: Wordpress Redirect Function Problem, Commenting Problem, Not Yet Fixed, Wordpress Redirect After Commenting, Failed and Wordpress Problem at this Blog). This problem is until now not yet [...]

Leave a Reply

Search Lyrics by Artists: 0-9 - A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z