Closed (duplicate)
Project:
Pathauto
Version:
4.7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2006 at 07:52 UTC
Updated:
14 Sep 2006 at 11:02 UTC
Can we set up pathauto to alias page numbers?
Rather than having mysite.com/catagoryname/?page=1 I would prefer mysite.com/catagoryname/1
It would be much better if it is mysite.com/catagoryname/2 because it is actually page number two but drupal starts to count pages from page 0, but I think it won't be so hard to alias the numbers plus one.
Normally I do it manually for all catagory pages, but it would be very nice if pathauto does it automatically for me.
Comments
Comment #1
formicin commentedBTW the actual default drupal pager style is not
mysite.com/catagoryname/?page=1it ismysite.com/catagoryname?page=1Comment #2
gregglesThis is a duplicate of issue http://drupal.org/node/63600
To summarize - the first step to getting pathauto to do something is to have it done within Drupal core. If you can get Drupal core paging code and path module to handle "clean" paging then we can start thinking about it in pathauto.
Thanks for your report. If you are interested in seeing this implemented in pathauto then I suggest that you first work to write a patch or that will handle paging with clean URLs in core. Then it would certainly be a great feature to have in pathauto.
Comment #3
gregglesI just re-read the part where you said "normally I do it manually, but it would be very nice if pathauto does it automatically for me."
Can you describe in more concrete steps the exact setting and configuration you create that allows this? Previously people haven't done that so I've never understood how you could do this manually.
Comment #4
formicin commentedIt's not a big deal, I aliased every single page number by using mysite.com/admin/path/add page and modified pager to link mysite.com/catagoryname/1. It is not handy because I have lots of catagories and lots of pages. So I think that should be added to clean pages in 5.0 core.