URL rewrite for pagination

A lot of sites I see using pagination all hit a similar problem.  The URL of the initial page looks lovely with no URL parameters or alike just news.aspx or news.php.

As you navigation through the additional pages the ?page=2, etc. gets added – again not too bad but the annoying bit comes when you click on the “page 1” link again and instead of going back to that nice URL you just had, it simple appends ?page=1 to the end.

Now this works fine for us, visitors, etc. but the problem is this is really bad SEO – as two pages have the same content but spiders see this as two different pages.

So how about a fix?  Well it’s actually easy enough to do this through a rewrite rule – no additional coding or tweaking to the pagination code you have in place!  So here it is:

# Don't display pager for first page
  RewriteCond %{QUERY_STRING} page=1
  RewriteRule (.*) /$1? [L,R=301]

Responsive design sizes

Here’s the most popular sizes and max width for design for responsive design:

Desktop            1024×768             Run max 978px
Ipad landscape 1024×690             Run max 978px
Ipad potrait        768×946               Run max 748px
Iphone               320×356               Run max 300px
Iphone 4            320×356 x2           Run max 300px
Samsung          320(x1.5)x451      Run max 300px

Some nice “responive web design” examples

Full blog entry coming shortly (if I ever get enough time!)

But in the meantime here’s some nice examples:

And some boiler plates and templates: