Drupal's native URL-rewriting functionality is pretty groovy; with a stock install of Drupal you can simply write the custom, semantic/human-readable URL for any node when creating/editing it!
However, things can get a little messy if you plan on writing URLs each time you add new nodes to your site; its makes sense to apply rules to how the URLs are written; such as making all blog entries follow a pattern like 'site.com/blog/[date]/[nodetitle]' - in case you're not familiar with it, there's a module which can do this really simply; its called Pathauto.
I use the Pathauto module on every site that we build in Drupal at Design Guru, but and in keeping up with the latest releases have noticed a change in workflow with the module I'd like to share with you - up until recently you could change the URL role for, say, a node type, and then simply click a 'bulk update' checkmark at '/admin/settings/pathauto' and that would over-write any existing URL aliases you've created on your site. Great feature eh? Well, supposedly there were some hiccups with large sites so the module developers have removed this check...
If you're using the newest verison of Pathauto and want to rewrite a rule for a node type etc, you'll either have to edit your database tables to delete the appropriate URLs, then change the rule and update node paths for non-existing aliases (the only option now available in the module) or delete all aliases (easily done at 'admin/build/path') on your site and then chage the appropriate rules, and create new aliases for all nodes using the Pathauto module settings.
Related Post(s)
-
Thursday Dec 22, '11
-
Wednesday Dec 14, '11
-
Thursday Sep 15, '11
Recently blogged
Recent comments
-
Every New Year bringsSaturday Jan 28
-
A new product if is goodFriday Jan 6
-
Great post however I wasSunday Dec 25
-
a new indexhibit is coming!Wednesday Nov 30
-
I love this site you made. SoWednesday Sep 14
Our Podcast
Subscribe to our podcasts through the iTunes store for free!
Subscribe
Sign up to our email newsletter to stay in touch - we send it out monthly and never spam.
Archives
- October 2007 (5)
- November 2007 (6)
- December 2007 (1)
- January 2008 (1)
- February 2008 (1)
- March 2008 (2)
- April 2008 (6)
- May 2008 (1)
- June 2008 (1)
- July 2008 (2)
- August 2008 (1)
- September 2008 (5)
- October 2008 (3)
- November 2008 (1)
- January 2009 (3)
- February 2009 (1)
- March 2009 (4)
- April 2009 (2)
- May 2009 (1)
- November 2009 (3)
- December 2009 (2)
- January 2010 (13)
- February 2010 (5)
- March 2010 (9)
- April 2010 (2)
- June 2010 (9)
- July 2010 (6)
- August 2010 (3)
- September 2010 (4)
- October 2010 (1)
- November 2010 (2)
- January 2011 (2)
- February 2011 (3)
- March 2011 (3)
- April 2011 (3)
- May 2011 (3)
- June 2011 (2)
- July 2011 (1)
- August 2011 (3)
- September 2011 (2)
- October 2011 (1)
- November 2011 (2)
- December 2011 (3)
- January 2012 (1)