If you have a subdomain and want to redirect it to your main domain, then this post provides the redirect rule that you have to add in .htaccess file in sub-domain’s root directory. Also read: Serve static content like images from subdomain to increase website page speed For example, if your subdomain is img.example.com and […]
Category: Web Hosting
Web hosting guide, tutorials
Robots.txt file is the face of your website for web crawlers and it resides on the root directory of your website. It tells the Web bots or search engines (like google) what to crawl and what not to crawl on your website. You should have a robots.txt file if you want to block certain folders […]
If the rewrite rules in main domain’s .htaccess file are affecting the addon domain, then add below code (at end) in main domain’s .htaccess file. You can find the .htaccess file at public_html/ <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^(www\.)?addondomain\.com Rewriterule .* – [L] </IfModule> Note: Replace addondomain in above code with your addon domain In […]
If you have installed WordPress for a domain/site on Hostgator and want to uninstall it from cPanel, follow below steps. Login to your Hostgator account Click on Hosting tab Under “Most Popular Links”, click on “Launch QuickInstall”. A new window opens Click on “My Installs”. It displays all your installations on your Hostgator account Click […]
Suppose, if you have purchased hosting plan on Hostgator and registered a domain on GoDaddy, then follow below steps to host your GoDaddy domain on Hostgator. This article explains how to add a domain (Registered with other domain registrar like GoDaddy) on Hostgator, install WordPress on it and point it to Hostgator server. Adding a […]
If you have purchased Linux hosting plan on Hostgator, it proviides a cPanel, a web hosting account management tool where you can access all domains, sub domains. If you don’t know how to login to cPanel, below are the two easy ways to do so. When you purchase any Linux hosting plan on HostGator, you will receive your account […]
You can fix www vs non-www canonical issue by using 301 domain redirect feature on Hostgator cPanel. Below are the simple steps on how to redirect a domain on Hostgator cPanel. Redirecting a non-www domain to www Login to your Hostgator cPanel How to Loin to Hostgator cPanel Fill the […]
If you purchased a hosting plan on HostGator and raised a ticket to migrate your wordpress site from Godaddy to HostGator, after successful migration of your wordpress site content you will get a mail asking you to change the nameservers on GoDaddy with those provided by HostGator in the mail. Nameservers point to your site where […]
If you have www and non-www URLs, search engines can’t decide which one to show in search results. This is because of duplicate content,even though both URLs are technically different and It affects your site ranking as the popularity of content splits between multiple URLs having same content. To get rid of this, you should […]
Registering a domain name for your business is easy.But, few things, you should seriously consider while selecting it to promote your brand and to get upper hand over your competitors. How to select a domain name 1. Make it as short as possible – short names are easy to remember 2. Make it easy to […]