Archive for the ‘Drupal’ Category

Drupal Sitemap does not show URL aliases

The Sitemap module The Drupal Sitemap module generates a sitemap page and gives visitors a site overview. All categories and terms (i.e. vocabulary) are expanded optionally with node counts and RSS feeds. The taxonomy URL paths on the sitemap page are not in the URL paths’ alias format In Drupal 6, I encountered a problem: […]

How to log all MySQL queries in Drupal

In order to benchmark a Drupal site performance you need to see all the database queries related to your Drupal site. In case you don’t have access to the my.cnf file If you don’t have access to the my.cnf file, you can log the queries from the Drupal code itself: cp includes/ includes/ vim includes/ […]