SELaplana >> Wordpress >> WP-Comments-Post.PHP Redirect Bug

WP-Comments-Post.PHP Redirect Bug

As of writing this post (December 26, 2007) our blog has a problem of showing the post where a users posted his comment. For example, you will post a comment a certain article of this blog. After clicking the submit comment button, the WordPress system doesn’t redirect the user to the page or post where the user submitted the comment.

If we’ll look at the code of the wp-comments-post.php file we’ll find this:

$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 actually works for the redirection after processing the comment posted. But since it doesn’t redirect so I am thinking that there was a problem with setting the variables for $location or else the problem was at the code of wp_redirect() function.

I am still searching information how to fix but still failed to found. If you know how to fix please help me. Thanks

Automatically receive updates via email...
Enter your email address:
Tweet This
Tags: , , , Bookmark and Share
Tweet This!

Post Your Comment...

Pinay Scandal

Actually, this terms refer to the photos, videos or any stories that reveal shameful, sxeperience, and secrets of some individuals or celebrities.

Still Fixing My Blogs

For several weeks already, almost all my time are spent searching for the information that might help me fix problems on my blogs. Just like

Comments For Sale?

It might be true that bloggers need commenters or commentators so that their blog will be looked like much active. This is the reason why

WordPress Redirect Function Problem

I already talked about this problem before at my posts: Commenting Problem, Not Yet Fixed, Wordpress Problem at this Blog and Wordpress Redirect After Commenting,

You Comment and I will Follow Your Links

Didn't I tell you that this blog is already giving away links to those who will comment here? Yes! This blog is already a "Do Follow"

Akismet, Not Working Well

I am using the Akismet Technology in capturing spam comments for this blog. For quiet some times it really works and let me save time

Commenting and Moderating Blog Comments

Maybe I am not active already in commenting to other blogs. It's not because I am not interested in commenting other blogs. Of course I

WordPress Problem at this Blog

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

Why Not Allow URL on the Comment?

Question Just received an email from a visitor of this blog. Selplana, I noticed that you are not allowing your commentators to enter URL of their website when

How to Redirect Webpages to New Domains?

Previously, you are using your old domain for your website. However, just recently, you decided to change the domain of your website because of some

Feed Subscribers via Email and Your Comments

If you are reading this article at your email then you are one of the feed subcribers who subscribed the feed of this blog. I

WordPress Redirect After Commenting, Failed

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

More Evil Ways in Gaining More Comments

I already mentioned the ways I used in making my readers interact with us by commenting into our blogposts like: Giving links to top commentators,

“Do Follow”ing Your Blog

Just like what I said on my yesterday's post, "You Comment and I will Follow Your Links", disabling the "NOFOLLOW" feature of the comment's links

Commenting, Backlinks, and Action

The Last Blogger asks, "Does commenting on other blogs get you backlinks?" Well. I just want to tell you Last Blogger that commenting to other blogs

Bloggers Don’t Need the Code of Conducts?

Tim O'reilly posted seven ideas which can be considered as the Blogger's Code of Conduct, after Kathy Sierra felt nervous and fear of the threats

www.sss.gov.ph static information

sss gov.ph SSS Online Inquiry

Comments

12 Responses to “WP-Comments-Post.PHP Redirect Bug”

  1. deep says:

    Deep-Throat total porn gallery xxx deep-throat deep-throat Cool Site sex gallery video porn movies deep-throat

  2. av loo says:

    nice articles

  3. Puebla says:

    Graste stapiante. The probliemno instante thene code. In mailo sente code latere. Mare egeino esta mailo?
    Regardo Gracia!

  4. marketfishing says:

    Large selection of name brand discount and wholesale fishing tackle, gear, rods and reels.

  5. Brokakeroko says:

    I like your site. Brokakeroko

  6. dilshil says:

    fantastic website its realy a nice artical

  7. its a nice concept i like it

  8. hasham says:

    i don,t think that there is any bug in wordpress

  9. avl abd says:

    wp-comments-post.php has issues.

  10. i think this problem is solved in the latest version or wordpress

  11. Lee says:

    This is nice , I hate spam

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