Closed (won't fix)
Project:
Pathauto
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2005 at 20:38 UTC
Updated:
23 Nov 2005 at 02:17 UTC
I beleive pathauto really sucks server resources when a lot of nodes are in the database. It constantly queries the "path" table to find out where the real node is...
Why not add a option in pathauto where the node ID is included in the URL.
example path with the node ID included
http://example.com/123-my-super-seo-url
http://example.com/my-super-seo-url-123
I do that in some of my custom built sites like http://01wholesale.com and http://01motors.com/
The result is quicker access.
Comments
Comment #1
pamphile commentedHere is a situation where pathauto might have problems
http://drupal.org/node/38415
Comment #2
mikeryanPathauto already supports [nid] to insert node IDs in the path.
FYI, the performance problem with many aliases is fixed for 4.7, and there are patches available for 4.6.
Comment #3
venkat-rk commentedCould you please point me to the patches for 4.6? I couldn't locate them in the issues listing.
Comment #4
mikeryanAt http://drupal.org/node/22035, comment #8 has my original patch, and down at #31 you can find the approach that was integrated into 4.7.