• Resolved terrih18

    (@terrih18)


    I am having a problem with my site. Every 10-20 minutes I get a spam comment from one of the pages on my site. The tricky thing is, there is no comment include tag anywhere in the code.

    The code for page.php is below:

    <?php get_header(); ?>
    
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    <div id="post-<?php the_ID(); ?>">
    <h2><?php the_title(); ?></h2>
    <div class="text">
    <?php the_content('Read the rest of this page &raquo;'); ?>
    </div>
    </div>
    
    <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    
    <?php endwhile; endif; ?>
    
    <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>

    Can anyone help me?

Viewing 4 replies - 1 through 4 (of 4 total)
  • thats not spam, thats a pingback — your linking to your posts or pages inside other posts

    Thread Starter terrih18

    (@terrih18)

    Could you please explain further? I’m not sure I quite understand. I stated that I’ve received emails from outside entities advertising drugs and so forth via pages on my site. As far as I know, I’m not linking from any posts or pages from other posts.

    For example, here’s a copy of an email I received when I got a new comment (I have put asterisks in the URLs of the links so no trackbacking can be done):

    A new comment on the post #10 “Traditions in Wicca” is waiting for your approval
    https://merrymeet.org/traditions-in-wicca/

    Author : Phentermine forum. (IP: 216.110.60.3 , 216-110-60-3.static.twtelecom.net)
    E-mail :
    URL : h**p://Buy-Online-Phetermine.flybb.ru/?buy-Phetermine-Online
    Whois : h**p://ws.arin.net/cgi-bin/whois.pl?queryinput=216.110.60.3
    Comment:
    Phentermine forum….

    Phentermine forum….

    Approve it: h**p://merrymeet.org/wp-admin/comment.php?action=mac&c=45
    Delete it: h**p://merrymeet.org/wp-admin/comment.php?action=cdc&c=45
    Spam it: h**p://merrymeet.org/wp-admin/comment.php?action=cdc&dt=spam&c=45

    Use an anti-spam plugin. Or two.
    (search for trackback spam to learn more)

    Do as Moshu suggested .. and please next time, explain yourself yourself a little better.

    In your second post above you said this:

    I stated that I’ve received emails from outside entities advertising drugs and so forth via pages on my site.

    Nothing in your first post sounds like that.

    Have a nice day.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Spam Commenting on a Page without Comments Enabled’ is closed to new replies.