i think you should add a record in you routes.rb file that includes
the page, for example:
map.connect ‘archive/:id’, :controller => ‘articles’, :action =>
‘list’, :page => 1
map.connect ‘archive/:id/:page’, :controller => ‘articles’, :action =>
these rows do on more thing, they change the url to: “/archive/id”, “/
which is good because then you can use page cache for your pagination,
if you would like to keep the &page=… you can do that simply by
changing the first parameter to fit your needs.
in addition, believe that 301 redirect even though it’s a bad solution
solve the problem for search engines as well,
in that case it’s must be 301 and the reason i think it’s bad is
because one request becomes two and it slows things down for the
client and the server.
On Mar 29, 6:03 am, Aldo I. [email protected]