I have a default drupal site install which i am carrying out some tests on and i noticed the clean URL setting so turned it on and it just takes out the ?q= in the URL for admin pages.

For my site pages the URL is domain.com/node/1

Is there a module or some way to get this as an SEO friendly URL such as a page being called UK Cars and the URL being domain.com/uk_cars

Any suggestions?

Cheers

Comments

LinL’s picture

http://drupal.org/project/pathauto should do what you need.

Jeff Burnz’s picture

You only need the core module "Path", when its enabled a new field appears on node/add forms where you can enter a path alias.

Pathauto is good if you want your paths written automatically using token replacement (requires the token module), for smaller sites I just use Path, I only use Path auto for larger site with a lot of publishing activity.

jwuk’s picture

My understanding is that pathauto is for automatically generating such URLs, so it's more than programmer247 is asking for.

When you create or edit your content there's a place on the form where you can enter the URL you want. You enter it without the domain and leading slash, so you'd just put in uk_cars. You may have to click on a dropdown to see that part of the form.

programmer247’s picture

I ended up using path, pathauto + token and went with the automated solution which works great.

Thank you to all who posted