Newsletter
sending...Categories
Sites we like (related)
Sites we like (unrelated)
Author Archives: admin
apache caching
# 1 YEAR Header set Cache-Control “max-age=29030400, public” # 1 WEEK Header set Cache-Control “max-age=604800, public” # 2 DAYS Header set Cache-Control “max-age=172800, proxy-revalidate” # 1 MIN Header set Cache-Control “max-age=60, private, proxy-revalidate”
Posted in .htaccess
Leave a comment
setting the default page
#Serve Alternate Default Index Page DirectoryIndex about.html
Posted in .htaccess
Leave a comment
remove ‘products’ from url string
RewriteRule ^products/(.+)$ http://www.yoursite.com/$1 [R=301,L]
Posted in .htaccess
Leave a comment
add trailing slash to url
#trailing slash enforcement RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !# RewriteCond %{REQUEST_URI} !(.*)/$ RewriteRule ^(.*)$ http://domain.com/$1/ [L,R=301]
Posted in .htaccess
Leave a comment
remove file extension from url string
RewriteRule ^(([^/]+/)*[^.]+)$ /$1.php [L]
Posted in .htaccess
Leave a comment
Use your own 404 page
If you wish to create a 404 page based on your sites design instead of some horrible default page, then this is the code you are looking for. ErrorDocument 404 /404.php In fact, we would recommend that you do this … Continue reading
Posted in .htaccess
Leave a comment
Only allow specific IP addresses to your site
Using your .htaccess file, it is possible to only allow specific IP addresses access your site. If you wish to do this, try this code:
Posted in .htaccess
Leave a comment
Prevent Hotlinking
Hotlinking is when other websites display your files/images on their site. This results in this unknown site using your bandwidth to display content on their site and is effectively stealing. This is even worse when your hosting package has limited … Continue reading
Posted in .htaccess
Leave a comment
Discover Your Backlinks
There are many SEO tools out there however I only report to you the SEO tools that stand out from the rest. I have to say that when it comes to discovering your sites backlinks or your competitors backlinks,
Posted in Free SEO Tools
Leave a comment
Does page speed matter?
As with any SEO tool, there are so many different free page speed tools that all display different results so which one should you take notice off? Well the answer is simple yet so many of us just don’t realise … Continue reading
Posted in Page Speed
Leave a comment