Support » Fixing WordPress » Comments Going to Main Page

  • Brand new problem with my new install…
    I’ve tried testing the comments (using the pop up comments on my site) and when I comment, it doesn’t show the comments or anything else (doesn’t post them either). It takes me to the main page of my site, within the little popup window.
    What should I do to get the comments working? I’m sure someone knows the answer – and no doubt it will be a really simple one.
    UPDATE: I realized that comment moderation was on, and so I saw all the comments waiting to be approved.
    However, when commenting, although the comment will show up (on refresh), the comment window still takes you to the main page of the site once you’ve commented.
    Is there code somewhere that’s a little screwed up?

Viewing 5 replies - 1 through 5 (of 5 total)
  • It’s showing my main page in the comment popup after you comment – code? Any help? Does anyone understand why?
    Pleeeeeeazzzzze.

    There’s probably a redirect address in the comment form (it’s a hidden input field) — at least in my 1.2 there is. Maybe you should check that.

    Minna, I saw this code and took it out:
    <input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" />
    But that didn’t make a difference, it was still not showing the comments, just going to a page.
    Perhaps there’s another code to take out?

    Hey, I found this thread by searching in the archives. It’s a long thread, but hopefully it helps.
    Btw, happy birthday 🙂 Sorry, I just visited your site last night (and saw the countdown) and was delighted to see someone (well, someone female) who enjoys Half-Life and Painkiller etc. I was just in time before your fresh start

    Minna, that’s it! Thank you so much. Comments now working as they should.
    And thanks for visiting (when I still had a blog 🙂 and for the birthday wishes.
    I come here and search and search for stuff, but obviously I use the wrong keywords since I don’t seem to ever find it. Many thanks again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.