I’m having an issue where attempting to redirect after commenting isn’t working on my server. Locally it works fine (with two different methods i’ve tried) but as soon as I upload it to my actual website it doesn’t work.
Basically, I’ve made a custom blog page where I embed the latest wp blog and have included the comment form below. I edited the code at the bottom of wp-comments-post.php
(@ollie1700)
10 years, 6 months ago
Hi there,
I’m having an issue where attempting to redirect after commenting isn’t working on my server. Locally it works fine (with two different methods i’ve tried) but as soon as I upload it to my actual website it doesn’t work.
Basically, I’ve made a custom blog page where I embed the latest wp blog and have included the comment form below. I edited the code at the bottom of wp-comments-post.php
This works fine locally but when I use it on my actual site it just redirects to the wordpress login page.
Any help will be greatly appreciated.