Why pingback/trackback not working on my WordPress web site?
Few months ago, I was modifying one of my website and I edited the functions.php file in my theme and not knowing exactly what I was doing. Soon after I made the modification to the site and the functions.php file I notice I didn’t receive any more pingback/trackback spam or on my comment. At first, it didn’t really bother me that much so I ignore it.
Until now, I notice something was definitely wrong. I haven’t receive any pingback or trackback for over three months, not even a single pingback or trackback spam. I open the function.php file and remove all the coding I added earlier. Once all of the extra coding was remove the functions.php file look something like this:
1 2 3 4 5 6 7 8 | <?php
if ( function_exists('register_sidebar') )
register_sidebar(array(name =>'sidebar1','before_widget' => '','after_widget' => '',));
register_sidebar(array('name'=>'sidebar2',
'before_title' => '<h2 class="widgettitle">',
'after_title' => '</h2>',
));
?> |
For some reason, when I was modifying the functions.php file and ended up with hundreds lines of code. This caused my pingback and trackback not to work. I open up the functions.php file and remove the code I added few months earlier.
Within that same week, I receive a trackback from another web site, which tells me I had fixed the problem, and everything is back to normal.
Lesson learn, don’t mess with functions.php if you don’t know what you’re doing.
I went and search for a script that would allow me to separate my pingback/trackback from the rest of my comments. Here is what I found and been using ever since.


comment