Created
August 1, 2011 12:42
-
-
Save jrbeeman/1118052 to your computer and use it in GitHub Desktop.
Find duplicate URL aliases in Drupal
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 alias, COUNT(pid) AS total FROM url_alias GROUP BY alias HAVING COUNT(pid) > 1 ORDER BY total ASC; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment