10 tips to speed up your ExpressionEngine sites

1. Cache
Cache, cache and cache. It’s the first step to make your site faster. It’s great news that expressionengine comes with excellent cache features – query cache, tag cache, template cache etc – turn them on. Its important for Expressionengine SEO too.

Query Cache – Query Caching caches the output of your database, saving each query as a text file. When your visitors access your web pages, the cache files are examined to see if the particular queries being requested exist in cached form. If they do, ExpressionEngine uses the cached data instead of querying your database. This provides a significant reduction in your overall database load. The query caching system is completely dynamic.
This feature is found under Admin>Weblog Administration > Global Weblog Preferences.
NOTE: Dynamic weblog query caching will cause weblog queries to not behave as expected when set to: orderby=”random”
Continue reading

SEF url for EE categorized entries

If you have categories for a weblog entries, the url for entry category page is not look so meaningful.
Let you have a weblog named “news” and categories for this weblog is international, sports, market etc.
You may want the urls like –

Continue reading

Force to browse your site with www using htaccess

If your domain is indexed using www and without www, your site ranks will be shared so you should tell Search Engines to index only with one name. On google webmaster tool, there is an option to do that.

Also you can force your visitors, bots to browse your site with only one name, either with www or without www. Here is two lines of code you have to add to your htaccess file to force them to browse site with www –

RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Sometime it is useful.