To redirect all www traffic to non-www URL - you need to add the following lines in .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^www.example.com [NC] RewriteRule ^(.*)$ http://example.com/$1 [L,R=301] Replace example.com with your own domain name.
Continue readingCategory: SEO
How to force redirect http to https using .htaccess
If you have an SSL certificate installed and would like to force your website to load with https URL - you may add the following code in the .htaccess file (Linux based hosting): RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] You need to place the .htaccess file in the home directory of your website.
Continue readingDownload the favicon icon from any website
It is possible that you might like a favicon (yes the logo icon that is displayed in the browser tab) of a certain website. Now, normally most of the websites store it in the form of favicon.ico in the root directory of any website. So, you can just type in: http://domain.com/favicon.ico and download it when…
Continue readingHow to check your website rank for certain keywords?
Want to check what your website rank is for some certain keywords? Here is the link where you can check your website rank in SERP (Search Engine Result Pages):
Continue readingHow to write unique contents using WordPress plagiarism checker
If you are writing blog posts and actually copying content from other sites - you'll not be doing any good (if not bad) to your blog from SEO perspective. The math is simple - if the content is not yours - do not put it in your website. Now the question is how are you…
Continue readingRestrict Search Engines from finding your website
While everybody is busy getting their website more and more exposed to the search engines (SEO) - you might want to restrict search engines to crawl your website. You may have your own development website or may have your company's web based HR system - which you don't want to expose to the world. Search…
Continue readingHow to remove Malware from WordPress sites
Wordpress has made the web designers' lives easier. It has reduced the web development time & cost drastically. The CMS is so powerful that more and more people are converting/migrating their sites to Wordpress. With ease comes the danger of being compromised. If compromised - your site will not function properly. It may leak your…
Continue readingDetermine if the storage is SSD or HDD – using linux command
You've purchased a Cloud server or a Virtual server. The server provider says it comes with an SSD (Solid State Drive). Now you definitely would like to verify whether the storage is indeed SSD or is it simple HDD (Hard Disk Drive). If you're server is running on any version of Linux OS (kernel version…
Continue readingSSH commands to check Hard Drive usage information in Linux Server
Login to your Linux server using SSH Client (ie, PuTTy) Once you are connected to your server: Use to following command to check Hard Drive and partitions: (without the "#") # df -h It will show you output like this: Filesystem Size Used Avail Use% Mounted on /dev/simfs 489G 42G 447G 9% / none 7.8G…
Continue readingBeware of Unlimited Space / unlimited bandwidth Web Hosting.
"UNLIMITED" - a well known term in web hosting industry now a days. Unlimited emails, unlimited databases, unlimited aliases etc were some of the features heard for a long time. Now competition has driven the companies to offer Unlimited web space and Unlimited Bandwidth. I have spoken to many hosting provider support team and asked…
Continue reading