With the Performance Settings you have the ability to clean up the code within the header of your website. WordPress adds some extra code as default to every site which isn't really needed and if you check the box "Cleanup Header" then Social SEO Pro will strip out that code. Below is the code which the plugin will strip out:
<link rel="alternate" type="application/rss+xml" title="WP Social DEV » Feed" href="http://www.wpsocial.dev/feed/" /> <link rel="alternate" type="application/rss+xml" title="WP Social DEV » Comments Feed" href="http://www.wpsocial.dev/comments/feed/" /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.wpsocial.dev/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.wpsocial.dev/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 3.6" />
Dashboard Widgets
By activating this option, Social SEO Pro will disable the following widgets within the Dashboard:
- WordPress Blog
- Other WordPress News
- Incoming Links
- Plugins
When you deactivate the options within the settings page, these widgets will be displayed again.
HTML5 Boilerplate .htaccess
By activating this option, Social SEO Pro will add some entries to your site's .htaccess file to optimize the site for better performance. These are the .htaccess settings recommended by the HTML5 Boilerplate project.
After you activated the .htaccess option, go to Permalinks > Settings and re-save the permalinks. You don't need to change anything, just save them again to make sure, all the code gets added to the .htaccess file.
Below is the code which is being added to your site's .htaccess file:
# BEGIN HTML5 Boilerplate # This contains the HTML5 Boilerplate .htaccess that can be found at: # github.com/h5bp/html5-boilerplate/blob/master/.htaccess # # Added: # Block access to access to WordPress files that reveal version information. # # Commented out by default: # Expires headers: Use WP Super Cache or W3 Total Cache (unless using the H5BP build script) # ETag removal: Use WP Super Cache or W3 Total Cache (unless using the H5BP build script) # Start rewrite engine: Handled by WordPress # Suppress/force www: Handled by WordPress # Custom 404 page: Handled by WordPress # # Anytime you update this file the .htaccess file in the root of your # WordPress install is automatically updated with the changes whenever # the permalinks are flushed or set # # ---------------------------------------------------------------------- # Better website experience for IE users # ---------------------------------------------------------------------- # Force the latest IE version, in various cases when it may fall back to IE7 mode # github.com/rails/rails/commit/123eb25 # Use ChromeFrame if it's installed for a better experience for the poor IE folk <IfModule mod_headers.c> Header set X-UA-Compatible "IE=edge" # mod_headers can't match by content-type, but we don't want to send this header on *everything*... <FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svg|svgz|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$"> Header unset X-UA-Compatible </FilesMatch> </IfModule> # ---------------------------------------------------------------------- # CORS-enabled images (@crossorigin) # ---------------------------------------------------------------------- # Send CORS headers if browsers request them; enabled by default for images. # developer.mozilla.org/en/CORS_Enabled_Image # blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html # hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/ # wiki.mozilla.org/Security/Reviews/crossoriginAttribute <IfModule mod_setenvif.c> <IfModule mod_headers.c> # mod_headers, y u no match by Content-Type?! <FilesMatch "\.(gif|png|jpe?g|svg|svgz|ico|webp)$"> SetEnvIf Origin ":" IS_CORS Header set Access-Control-Allow-Origin "*" env=IS_CORS </FilesMatch> </IfModule> </IfModule> # ---------------------------------------------------------------------- # Webfont access # ---------------------------------------------------------------------- # Allow access from all domains for webfonts. # Alternatively you could only whitelist your # subdomains like "subdomain.example.com". <IfModule mod_headers.c> <FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$"> Header set Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> # ---------------------------------------------------------------------- # Proper MIME type for all files # ---------------------------------------------------------------------- <IfModule mod_mime.c> # JavaScript # Normalize to standard type (it's sniffed in IE anyways) # tools.ietf.org/html/rfc4329 AddType application/javascript js jsonp AddType application/json json # Audio AddType audio/ogg oga ogg AddType audio/mp4 m4a f4a f4b # Video AddType video/ogg ogv AddType video/mp4 mp4 m4v f4v f4p AddType video/webm webm AddType video/x-flv flv # SVG # Required for svg webfonts on iPad # twitter.com/FontSquirrel/status/14855840545 AddType image/svg+xml svg svgz AddEncoding gzip svgz # Webfonts AddType application/vnd.ms-fontobject eot AddType application/x-font-ttf ttf ttc AddType font/opentype otf AddType application/x-font-woff woff # Assorted types AddType application/octet-stream safariextz AddType application/x-chrome-extension crx AddType application/x-opera-extension oex AddType application/x-shockwave-flash swf AddType application/x-web-app-manifest+json webapp AddType application/x-xpinstall xpi AddType application/xml atom rdf rss xml AddType image/webp webp AddType image/x-icon ico AddType text/cache-manifest appcache manifest AddType text/vtt vtt AddType text/x-component htc AddType text/x-vcard vcf </IfModule> # ---------------------------------------------------------------------- # Gzip compression # ---------------------------------------------------------------------- <IfModule mod_deflate.c> # Force compression for mangled headers. # http://developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping <IfModule mod_setenvif.c> <IfModule mod_headers.c> SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding </IfModule> </IfModule> # Compress all output labeled with one of the following MIME-types # (for Apache versions below 2.3.7, you don't need to enable `mod_filter` # and can remove the `<IfModule mod_filter.c>` and `</IfModule>` lines # as `AddOutputFilterByType` is still in the core directives). <IfModule mod_filter.c> AddOutputFilterByType DEFLATE application/atom+xml \ AddOutputFilterByType DEFLATE application/javascript \ AddOutputFilterByType DEFLATE application/json \ AddOutputFilterByType DEFLATE application/rss+xml \ AddOutputFilterByType DEFLATE application/vnd.ms-fontobject \ AddOutputFilterByType DEFLATE application/x-font-ttf \ AddOutputFilterByType DEFLATE application/x-web-app-manifest+json \ AddOutputFilterByType DEFLATE application/xhtml+xml \ AddOutputFilterByType DEFLATE application/xml \ AddOutputFilterByType DEFLATE font/opentype \ AddOutputFilterByType DEFLATE image/svg+xml \ AddOutputFilterByType DEFLATE image/x-icon \ AddOutputFilterByType DEFLATE text/css \ AddOutputFilterByType DEFLATE text/html \ AddOutputFilterByType DEFLATE text/plain \ AddOutputFilterByType DEFLATE text/x-component \ AddOutputFilterByType DEFLATE text/xml </IfModule> </IfModule> # ---------------------------------------------------------------------- # UTF-8 encoding # ---------------------------------------------------------------------- # Use UTF-8 encoding for anything served text/plain or text/html AddDefaultCharset utf-8 # Force UTF-8 for a number of file formats <IfModule mod_mime.c> AddCharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml </IfModule> # ---------------------------------------------------------------------- # A little more security # ---------------------------------------------------------------------- # "-Indexes" will have Apache block users from browsing folders without a default document # Usually you should leave this activated, because you shouldn't allow everybody to surf through # every folder on your server (which includes rather private places like CMS system folders). <IfModule mod_autoindex.c> Options -Indexes </IfModule> # Block access to backup and source files # This files may be left by some text/html editors and # pose a great security danger, when someone can access them <FilesMatch "(\.(bak|config|sql|fla|psd|ini|log|sh|inc|swp|dist)|~)$"> Order allow,deny Deny from all Satisfy All </FilesMatch> # Block access to WordPress files that reveal version information. <FilesMatch "^(wp-config\.php|readme\.html|license\.txt)"> Order allow,deny Deny from all Satisfy All </FilesMatch> # END HTML5 Boilerplate