stephengunn
Forum Replies Created
-
I am having the same issue, would love to resolve.
Forum: Fixing WordPress
In reply to: wp-comments-post.php not returning correct URL after comment postOk, it only fails when logged in. The site that woks is https://www.marygunnfunn.com and the site that I am working on is a premium membership site that is managed by WPMUDEV’s Membership 2 plugin located at https://www.funnuniversity.com. Members on the University site earn points by commenting / interacting with the site, so that is why I am really trying to get this functioning smoothly.
I don’t know how you want to do the testing. I really don’t think it’s a plugin conflict since I have done full testing w/ default theme and every single plugin turned off.
Here is my wp-comments-post.php: https://pastebin.com/rj31reRU
Forum: Fixing WordPress
In reply to: wp-comments-post.php not returning correct URL after comment postAlso, there is no such thing as “PHP 5.7”. So, you might want to double check that.
You are correct, I mean’t to type 5.6. I know this should work out of the box, Site A works just fine but when I clone it to test it, it breaks on comment.
I just set my PHP version to 7 to test it and deleted the provided code from my functions.php and the problem persists just like in my original post.
Every other functionality of WP is working just fine. When I cloned the working site and did conflict testing on it, it never worked properly. (comments only)
Forum: Fixing WordPress
In reply to: wp-comments-post.php not returning correct URL after comment postOk so this time it just redirected me to my root URL with no #comment- on the end.
I talked to someone who knows WordPress at my hosting company and they said everything is setup correctly when it comes to server. I am using PHP 5.7. This is what my .htaccess file looks like: https://pastebin.com/jyJQvUh7
The weirdest thing is, the redirect works on Site A but not Site B. I can clone Site A and the redirect does not work on the clone either.
Is there any way to debug what is happening? I don’t know what else to try, and it doesn’t seem like anyone else has this problem so there isn’t much online about it.
It just seems like the wp-comment-post.php cannot read the location of the post. Neither can the work around.
- This reply was modified 6 years, 6 months ago by stephengunn.
Forum: Fixing WordPress
In reply to: wp-comments-post.php not returning correct URL after comment postJust tested it and unfortunately it just loads https://siteurl.com/#comment-
this problem is beyond frustrating ??