Constant Contact E-Newsletter Service - get 60 days free!

Constant Contact has been in business since 1996 is one of the most reliable and trusted email marketing services around. Click here to activate your free 60 day trial courtesy of CWD Community.

Save $50 on Dreamhost Hosting - Any Plan

As a preferred visitor, you can get $50 off of any Dreamhost hosting plan by using coupon code CWD50 when you check out, for a limited time. Dreamhost is a reliable hosting provider with solid customer service and a proven track record.



Oct 22 2007

Pathauto showing special characters in URL


Filed under: Content Management Systems » Drupal,
Tools:

Special characters showing up in your Drupal URL's?

Are you saving a page, for example "What's New" and having it show up as example.com/what039s-new?  This is a common problem with Drupal's pathauto module that is caused by the processing of special characters via Drupal's token module (newer pathauto releases require token module to work). 

Solution to remove special characters from URL

As of the time of this writing, the solution to get your URL's to display correctly again involves:

  • Downloading, installing, and enabling the latest pathauto and token modules (be sure to run update.php after updating)
  • In pathauto settings, replace "title" with "title-raw," "catpath" with "catpath-raw," and so forth.

Older versions of pathauto were fixed with a patch.  The above solution should be in place while we wait for a newer pathauto/ token release that resolves this issue.

 

Average: 3 (3 votes)
Select your preferred way to display the comments and click "Save settings" to activate your changes.

Thanks!

I guess I need to learn to update Drupal more regularly Eye-wink Thanks for this - the screwed up pathauto paths were driving me bananas!!

Pathauto raw paths?

Drupal's pathauto module is great and has saved me a lot of work as far as having to manually generate SEF (Search Engine Friendly) URL's, but what is up with their implementation? Why are we forced to use raw output (ie. adding -raw to the end of a path on the pathauto configuration page), and if we don't we get an error?

Nevertheless, props to the creators, as I'd be up *** creek without this module.

Tuna

Thanks My Friend...

Great!

I've been finding ways to make my domain as search-able as possible. Been reading a number of essays and other types of information on the web and its great that I found this site with an entry that can help me well. Thanks again!

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Textual smileys will be replaced with graphical ones.

More information about formatting options

CAPTCHA
This question is used to make sure you are a human visitor and to prevent spam submissions.