why the URLs not all...

cce5 - July 4, 2009 - 08:27

why?
cURLs Why not all of the URLs clean?

For example: xx.com/node?page=2

if it like this: xx.com/node/2 or xx.com/node/page/2

So many good!

Thats the pager

aryanto - July 4, 2009 - 09:06

I think it is "clean" in the sense that there is no "index.php?q=" anymore. The query that you see is because of the pager. You can possibly work around that by adding the URL rewrite rule for that, and a little bit of tweak in the module. I prefer to leave it like that.

url rewrite rule, how to add?

cce5 - July 6, 2009 - 02:59

url rewrite rule,
how to add?

Basically, the same thing as what you did

aryanto - July 7, 2009 - 22:11

I don't know what kind of web server you are using, e.g. Apache, Lighttpd, Nginx, Cherokee, etc. As each of them has different way of doing the rewrite for Clean URL. But basically, since you seems to have it already working, a part from the additional pager query, you just need to add the rewrite for the pager.

In addition to that, you also need to modify the Path module so that the link will be "xx.com/node/2 or xx.com/node/page/2" as you want, instead of xx.com/node?page=2. Try to search around because maybe someone has already done it. Because as I said, I prefer to keep the current behaviour, so I have not done that kind of modification.

 
 

Drupal is a registered trademark of Dries Buytaert.