WordPress.org

Ready to get started?Download WordPress

Forums

"Clean" pop-up comment permalinks (4 posts)

  1. popstat
    Member
    Posted 8 years ago #

    Any idea on how to generate "clean" permalinks for my pop-up comments? Here's an example of how they're outputting now:

    http://www.populationstatistic.com/?comments_popup=1402

    when I'd rather they adhered to the permalink structure I assigned, something like so:

    http://populationstatistic.com/archives/2005/09/04/the-defining-vacancy/#comment-pop-up

    Is this even possible? I realize the pop-up is generated as separate from the related post. I just don't want it to look that way in the absolute URL.

    If it's not possible, than can I at least change the pop-up's URL to disguise the comment-post number ("=1402" etc.)? From what I understand, making that sequence numbering apparent makes it easier to pre-load comment spam; that hasn't been a problem, but I don't want to leave an opening.

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Popup comments are such transient screens, and as you say they are separate so generating a clean url for such a thing makes little sense - you wouldn't be able to link to it. Or can you ?

  3. popstat
    Member
    Posted 8 years ago #

    Not sure what you mean by an inability to link to them; in any case, that's not my concern (I have the individual comment permalinks set as anchors that link to single-page posts, like this).

    I guess I'm concerned about leaving myself exposed to the "Spam Comments Appear Immediately" attack. Having the popup ID clearly expressed on the index page seems to leave a vulnerability. Or am I off-base on that?

  4. techwench
    Member
    Posted 8 years ago #

    The popup id has nothing to do with that. Spammers have automatic scripts that run based on the program you're using. Even without the post ids showing, if they find a wordpress page (i.e. wp-comments-post.php), their little wordpress script will run, and it'll automatically try to populate your database by accessing the page directly.

    Spam Karma and Bad Behavior are good anti-spam tools that, when used together, dramatically reduce the amount of spam (auto or manual) that comes in.

    Also, keeping your WP installation up to date helps keep you safer (not totally safe, but better off) from security vulnerabilities.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags