Path Module

We live in the time of search engines, and optimizing your site to work well with the crawling and indexing programs that are used to build search engines is vital. Your site's ranking in the results of search engines such as Google or Yahoo! will greatly influence how many visitors it gets. One very important factor in facilitating this is the nature of the URLs that are used by your site to link to all of the content. If the URLs are meaningful and contain keywords pertinent to the content they link to, your site will fare better in the search results. Drupal offers several tools to help you with this goal. The first tool, clean URLs, can be turned on from the admin/settings page, as explained in Chapter 2. The second, and arguably more important, tool is the Path module.

The Path module allows you to create custom paths for any Drupal content node or alternate aliases for existing paths. This module allows you to replace URLs like node/5 with more meaningful names like instructions_for_use or info/instructions. Also, if you're migrating an existing site to Drupal, you can use the Path module to make sure the old URLs do not get broken. You can make an alias for node (the default front page) called index.html. Then, when you switch from your old system to Drupal, the users who have bookmarked index.html won't be left in the cold.

Basic SEO Explained

Basic SEO Explained

Struggling to Optimize Your Site for the Search Engines? Uncover What You Need to Know to Perform Basic SEO on Your Site, and Help Get it Listed in the Powerful Search Engines. Are YOU Ready to Climb Your Way Up The Search Engine Rankings and Start Getting the FREE Traffic You're Looking For? Hundreds of places claim they can give you top rankings, but wouldn't you rather just learn how to do it on your own so you can repeat the process on any future site you build?

Get My Free Ebook

Post a comment