Now type your domain into a browser, and see if the redirect is working. htaccess file.ģ) Verify that the redirect is a 301 and not anything else. On most Cpanel hosting accounts this folder is called “public_html” and you will be rewriting OVER your existing. txt extension) and upload it to the public HTML folder on your OLD site. Save it as a text file named “.htaccess” (but without the. Copy and paste the following code, and be sure to replace with your new domain. This requires either FTP, or Cpanel access to your old domain in order to upload the. You will need your old domain hosting account because you need to put a simple text file in the public HTML folder called “.htaccess”. Ask your registrar for help if you have any questions.ī) If the registrar option is not possible, you will need to keep a hosting account for your old domain. Some registrars do the second step for you automatically once you’ve chosen forwarding. These are probably are on a different screen, so you it might require a few more clicks to get there. Second, you usually need to confirm that you have selected to use your registrar’s default Nameservers. First you need to select “301 Forwarding” (it might be called something else) and provide the URL of the new domain. This usually means you SAVE MONEY! This approach usually involves two steps. The reason I like this approach is that you do not have to have hosting for the old domain. Most registrars (but not all) allow you to 301 redirect from one domain to another. Your registrar is the company you purchased your domain from. By identical structure, I mean that “will redirect to “a) My favorite way to 301 redirect from one domain to another is by using my registrar. If you are changing structure between the two sites, this step will be more complicated, and I suggest you hire a programmer or WordPress developer to help you. These instructions assume that your structure is identical between the old domain and the new domain. Use the “Add a Site” button if you need to add either of the domain names.Ģ) Use your registrar or. Login into Google Webmaster Tools and make sure that you have both your old domain and your new domain listed as sites. Here’s a step-by-step checklist on how to 301 redirect one domain to another.ġ) Make sure you have both domains listed in Google Webmaster Tools. In this case, you can skip steps 1 and 4 in the following checklist. These are sometimes called typo domains, as you are covering your bases for common typos of your primary brand domain. This case is a little different in that I’m assuming your alternative domain name never was in Google because it never actually hosted a site. For example, you may own domains with dashes and without dashes, or perhaps you own both the. This will allow your new domain to retain any search-engine love the old one had.Īnother reason to use a 301 redirect is when you own multiple domains for a single site, but these alternative domains never actually hosted your site. Var/etc/nginx.When changing domains from “to “it is important to use a 301 redirect from the old to the new, because the 301 redirect is the only one that tells Google and all the other search engines that the move is permanent. I am seeking for real redirect, so that is why I have tried to store this in the nf. On sub.1.com is running a wordpress in a plesk. Where 2.com should point to the subdomain sub.1.com. I have a simple setup: I own two domains and want to point one domain to a subdomain of the other.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |