Mobile app version of vmapp.org
Login or Join
Jessie594

: Should limitstart=0 should be 301 redirected or have canonical tag to it i have multiple categories with pagination. wherein limitstart=0 are there and is similar like category home page Wondering,

@Jessie594

Posted in: #301Redirect #CanonicalUrl #Htaccess #Pagination

i have multiple categories with pagination. wherein limitstart=0 are there and is similar like category home page

Wondering, should a 301 redirect through htaccess is advisable or shall i apply canonical tag to it

Second, below is the htaccess code for it. Need comments, is the regex ok

RewriteCond %{QUERY_STRING} ^(.+)&limitstart=0$ [NC]
RewriteRule (.*) /?%1&%2 [R=301,L]


Thanks

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Jessie594

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kevin317

This is exactly what canonical URLs are for. In the example Google uses when they introduced them they showed a page where the content was the same but the sort order of a table was different. So pick the URL that will display all of the content available from the base URL and make that the canonical URL (i.e. the URL with no limit).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme