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 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.
-
Sign up for PayPal and start accepting credit card payments instantly.
As the world's number one online payment service, PayPal is the fastest way to open your doors to over 150 million member accounts worldwide. -
Promote your product to high quality, targeted websites and blogs.
Find effective, influential blogs and highly targeted audiences to advertise.Choose to display your ad across entire blog networks to maximize your exposure to a wide audience.
Related Post
- Pinay Scandal
- Still Fixing My Blogs
- Wordpress Redirect Function Problem
- Commenting and Moderating Blog Comments
- Wordpress Problem at this Blog
- Commenting Problem, Not Yet Fixed
- WP-Comments-Post.PHP Redirect Bug
- You Comment and I will Follow Your Links
- More Evil Ways in Gaining More Comments
- Wordpress Upload Function Failed
- Upgrade Now to Wordpress 2.2.2 and Wordpress 2.0.11
- Related Post Plugin
- Upgraded Wordpress, Avoided Access of Hackers
- Wordpress 2.3 Dexter, Released with Interesting Features
- Wordpress Hack Warning
- Wordpress v2.1.1 Cracked, Upgrade To v2.1.2 Immediately
- www.sss.gov.ph static information
- sss gov.ph SSS Online Inquiry
Recently Commented
- Krista Ranillo - Manny Pacquiao Scandal
- Angel Locsin
- October 2009 New Teachers Oath Taking, Other Issues
- SSS Disability Benefits
- SSS Sickness Benefits
- AdMob To Join Google
- How to Avail SSS Maternity Benefits?
- Podcasting: What's this?
- Manny Pacquiao Wins, Washed Out Cotto From His Head
- Link Baiting - Fishing: Newbie SEO Attacks Experts
- How Important is the PageRank?
- Licensure Examination for Teachers (LET - October 2009) Result
- Jollibee Scandal: Spread the Word?
- Naruto Series Blog, Making Live Again
- Google PR, Halloween 2009 Update
Comments
7 Responses to “Wordpress Redirect After Commenting, Failed”
Trackbacks/Pingbacks
-
[...] 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.” [...]
-
[...] 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 [...]


































Comment test (Just to know what’s wrong)
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?
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.
test ko rin if okay na. I tried installing the threaded comment plugin. I don’ know if it works.
is it possible to redirect users randomly after they have posted a comment ?