Created
May 24, 2016 10:20
-
-
Save beneverard/0b0a8923cd5dcb8ea506f9663ca7b548 to your computer and use it in GitHub Desktop.
A query to list the 404 URLs captured by Redirection (WordPress plugin), ordered by most hits first. Very handy for finding common 404s and handling them with a manual redirect.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT count(id) as count, url | |
FROM wp_redirection_404 | |
GROUP BY url | |
ORDER BY count DESC; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment