10 htaccess Hacks Every SEO Should Know. There’s a lot that you can do with an htaccess file, and of course, things can get pretty advanced in a hurry.
Here, we’re going to keep things pretty simple. These are the 10 basic htaccess hacks that every webmaster should know. 1. Force Caching with htaccess Use: The following htaccess code won’t help the initial pageload, but it will significantly help subsequent pageloads by sending 304 status when requested elements haven’t been modified. FileETag MTime SizeExpiresActive on ExpiresDefault "access plus x seconds" I generally set the cache for one day (86400 seconds). ExpiresByType image/gif "access plus x seconds"ExpiresByType text/css "access plus x seconds" Simple! 2. Use: I think this one is self explantatory. ErrorDocument 404 /notfound.html 3. Use: If you have permanently changed the URL structure on your site (via either optimization change or CMS migration), you will want to implement 301 redirects from the old URL to the new URL.
The syntax for a basic 301 redirect is: 4. Seo. 10 SEO Techniques All Top Web Sites Should Use. The Web Developer's SEO Cheat Sheet. The author's posts are entirely his or her own (excluding the unlikely event of hypnosis) and may not always reflect the views of Moz.
February 16, 2014 - Updated to Version 2.2: We've uploaded a brand new version of the PDF. It now reflects changes to Google's mobile user-agents. It is my honor and privilege today to introduce the brand-new version of The Web Developer's SEO Cheat Sheet. This free and downloadable document covers all of the important SEO code and best practices that are needed by online marketers and developers. Benefits and features Save the Google searches for your new inbound visitors: This cheat sheet covers all of the details you would normally spend hours researching online. Download the Web Developer's SEO Cheat Sheet Information covered If it is important, we have you covered!
Page 1 Important HTML Elements HTTP Status Codes Canonicalization URL Best Practices Webmaster Tools Page 2 Robot Control Syntax Important User-agents Sitemap Syntax Page 3 Page 4 Backstory: Creating a Sweet High Value Keyword List in 5 Minutes : SEO Book.com. SEO Best Practices: SEOmoz's New Policies Based on Updated Correlation Data. Title tags—technically called title elements—define the title of a document.
Title tags are often used on search engine results pages (SERPs) to display preview snippets for a given page, and are important both for SEO and social sharing. The title element of a web page is meant to be an accurate and concise description of a page's content. This element is critical to both user experience and search engine optimization. It creates value in three specific areas: relevancy, browsing, and in the search engine results pages. Code Sample <head> <title>Example Title</title> </head> Optimal Format Primary Keyword - Secondary Keyword | Brand Name Optimal Length for Search Engines Google typically displays the first 50-60 characters of a title tag, or as many characters as will fit into a 512-pixel display. Title Emulator Tool Enter your title below to see how it would appear in Google's search results. Enter Your Full Title Text: Enter Search Phrase (optional): www.example.com/example.