• I’ve been getting a lot of trackback spam lately on my site, but it’s all been through PAGES instead of POSTS.

    I’ve got trackbacks disabled globally for posts for a while, but I haven’t figured out a way to disable trackbacks on PAGES.

    A few support places have suggested disabling them through this SQL query:

    UPDATE wp_posts SET ping_status='closed' WHERE post_status = 'publish' AND post_type = 'page';

    . . . but I wanted to know if there were any other options out there.

    Thanks!

Viewing 16 replies (of 16 total)
  • If you just want Trackback/Pingback protection then remove xmlrpc\.php| code from FilesMatch. If you are not remote posting to your site then use the code as is.

    # XML-RPC DDoS & TRACKBACK/PINGBACK PROTECTION
    # Using this code blocks Pingbacks and Trackbacks on your website.
    # You can whitelist your IP address if you use A Weblog Client
    # or want to whitelist your IP address for any other reasons.
    # Example: uncomment #Allow from x.x.x. by deleting the # sign and
    # replace the x's with your actual IP address. Allow from 99.88.77.
    # Note: It is recommended that you use 3 octets x.x.x. of your IP address
    # instead of 4 octets x.x.x.x of your IP address.
    
    <FilesMatch "^(xmlrpc\.php|wp-trackback\.php)">
    Order Deny,Allow
    Deny from all
    #Allow from x.x.x.
    </FilesMatch>
Viewing 16 replies (of 16 total)
  • The topic ‘Disabling Pingbacks/Trackbacks on Pages’ is closed to new replies.