colelloa / django-pagination

Automatically exported from code.google.com/p/django-pagination
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

SEO Friendly Middleware #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Search engines don't like when /paginated_url/ and /paginated_url/?page=1
point to the same resource. My little tweak just redirects page==1 requests
to the same URL without the page param.

I attached modified code.

Original issue reported on code.google.com by atamert....@gmail.com on 26 Jul 2009 at 1:23

Attachments: