pathauto

Events happening in the community are now at Drupal community events on www.drupal.org.
innovationcreation's picture

How to create new URL aliases for _all_ nodes and still keeping existing URLs working

short version:

I am looking for guidance on creating new URL aliases on all nodes to meet Google News URL specs (http://agtoday.us/eV7DSB ). Existing URLs need to continue (I think the term here is 'redirected'). Site is Drupal 5.x with Pathauto already running. Thoughts? Issues? Ref links? :)

Longer version

Current setup: I use Drupal 5.x and have had Pathauto (using 5.x-2.2 currently) installed for a year or two.

Read more
yarco's picture

Reducing drupal_lookup_path execution times?

After installing memcache and boost, i'm thinking that drupal could go fast then.
But it is not.
I'm then reading the querylog for one page. It is about 356 queries and 216.52 ms. drupal_lookup_path spent almost 1/2 queries ( it is 159 queries) and 1/4 more times ( avg. 0.4 * 159 = 64 ms).

There are already someone talked about it with cache. (Yes, they could hack into path.inc and cache them...i forgot the url they talked in drupal).
And i have another way (still need hack path.inc), cause i found a lot of drupal_lookup_path are really needless. for example:

Read more
dave reid's picture

New releases of Pathauto imminent - help us test!

This week we'd like to release a new version of Pathauto for both Drupal 6 and 7. There have been numerous fixes for long-standing bugs with alias generation and internationalization. Oh and a few new features too (mostly in the 6.x-2.x and 7.x-1.x versions). As there have been quite a few changes made, we'd like your help testing either the 6.x-1.x-dev, 6.x-2.x-dev, or 7.x-1.x-dev versions.

Make sure when testing you have the latest development version of Token module downloaded as well.

Below are some of the major changes and bug fixes:

Read more
Anonymous's picture

Svenska strängar att ta bort i pathauto

Modulen Pathauto har en användbar funktion för att filtrera bort korta och "onödiga" ord för att göra sökvägarna kortare. Här är en lista över svenska prepositioner som jag föreslår att man med gott samvete kan utelämna. Saknas något ord?

Read more
dave reid's picture

Roadmap for Pathauto for D7 and beyond

I wanted to post my ideas and what I thought would be a good roadmap for Pathauto as we're getting closer to a Drupal 7 release and what could be a big effort to have Pathauto in core for Drupal 8. I'd love to hear your feedback on these ideas!

Read more
dave reid's picture

Separate bulk updating from Pathauto

I'd like to get everyone's input on moving the bulk-type operations out of the main Pathauto module and into a new separate or sub-module called 'Pathauto Bulk Update'.

See http://drupal.org/node/713238 for the Pathauto RFC issue

Read more
apemantus's picture

Changing the node value of an aliased site on the fly

I can't think of a better title sorry...

I'm using the (excellent) Domain Access module. One thing I'm doing is aliasing sites. As an example.co.uk is aliased to example.com. So going to example.co.uk/foo is identical to going to example.com/foo.

However, there are one or two pages (in a large site) which I want to be different. So example.co.uk/contact would go to a different page than example.com/contact.

The "easiest" way (if horrendous in some respects) seems to be to add code (to theme_preprocess_page? to settings.php? custom_url_rewrite_inbound?) that says:

Read more
pshafer's picture

Pathauto pagination with Drupal 5

I have a few content types that I have used pathauto to alias as taxonomy listings. Will drupal paginate automatically when a certain number of nodes are displayed? Is there a way to make that happen?

Read more
asPagurus's picture

How I can add some symbols to remove by pathauto? (Drupal 5)

My site in russian language and all is well with pathauto exept '«' and '»'.
Thease symbols pass through pathauto and cause problems when link copied from address bar to mail or other program..
For example, gmail does not include it to link..

How I may include thease sybols to list, that removes from address?

P.S.
I've try to place two string in pathauto.inc - in function pathauto_cleanstring():

$output = str_replace('«', '', $output);
$output = str_replace('»', '', $output);
Read more
mr.alinaki's picture

Generate path by node type without Pathauto

Hi!

Is it possible to generate url aliases to nodes by their type without pathauto? I.e. topic/234, forum/456, where topic and forum are some content types? Maybe url_alter may help with that?

Read more
Subscribe with RSS Syndicate content