For when you need to do it and just do it quickly.
Permanently moving website to a new domain
You really want to add this to your .htaccess file: Redirect 301 / http://your-new-domain Let’s break that down. “Redirect” is pretty obvious, it tells the web server to redirect the request. “301” is a special code that tells any search engines that come by that this change is permanent, and they should update their results [Continue Reading]
http petermahoney net search engine optimisation seo code
http://petermahoney.net/search-engine-optimisation-seo-code/
Displaying code snippets easily
With the new site and all I’ve some CSS to get through. I wanted to make the “pre” element work as a code snippet display for me, and needed a fix to get it to wrap text (since the “width” attribute has been defunct for some time). Here’s the solution! pre { background-color: #F2F2F2; padding: [Continue Reading]
Speeding up your site
There is a slew of methods to speed your site up–which is not only the polite thing to do for your guests–but helps with Speed Engine Optimisation (SEO) too. Google in particular looks at how quickly your site loads when deciding how to rank your site in search results. Now, if you’re familiar with web [Continue Reading]