Hello,

I'm converting one non-drupal site to drupal 6.

In drupal, For a perticular node type we're having paging structure as:
http://drupal.org/node
http://drupal.org/node?page=1
http://drupal.org/node?page=2

instead of that due to old site's url structure (seo in google issue) , I can't change url structure of existing site.
I need something like this
sitename.org/node.htm -> easily possible
sitename.org/node.1.htm -> how to reproduce this kind of url?
sitename.org/node.2.htm

Any idea?

- Hiren

Comments

Fintan’s picture

Firstly enable path module and then enable clean urls so that you can use alias's, then you can manually set them to be whatever you want. Install the global redirect module to handle the redirects.

If you have quite a few then look at pathauto to automatically handle this for you.

phdhiren’s picture

thanks Fintan

I've already enable path and pathauto modules, but the problem is when paging comes in the picture. that I would like to have as /node.1.html and /node.2.html

Of couse I'll replace node with other token using pathauto.

- Hiren

phdhiren’s picture

Anyone has more idea about it?

dejbar’s picture

For the ultimate level of flexibility you can include a php function in the relevant 'settings.php' file to re-map urls. See http://api.drupal.org/api/function/custom_url_rewrite/5