Dettagli Richiesta
How to delete old wordpress posts that generate 0 views / visits / no traffic?
27.01.2020 : 10:45:58 PM | Internet
0
97
vis
0
risp

To delete obsolete posts that doesn't have any visitors, you can install the plugin WP-PostViews in your Wordpress website.

After a week or month go in your phpmyadmin (mysql) and run this  query to select all posts that don't generate traffic:

 

SELECT 
wp_posts.ID,`post_date`, `post_title`
FROM wp_posts 
LEFT JOIN wp_post_views
ON wp_post_views.id = wp_posts.ID
where wp_posts.post_type='post' and wp_posts.post_status='publish' and wp_post_views.id is null
group by
1
order by 2 asc


Leggi le Risposte
Aggiungi Risposta
Fai o Registrati se vuoi aggiungere una risposta.