How to solve the problem of domain redirection without www in easy steps
In this article, we will talk about solving the problem of redirecting the domain without www and not opening the website without www, and how to redirect the domain “URL” without WWW in the correct way and with ease and in simple steps that you can apply to any site from which you purchased the domain, but pay close attention to not make mistakes. When redirecting your domain.
The difference between WWW and without WWW:
WWW:
“www” stands for “world wide web,” and websites whose domain name begins with “www” are the most popular choice for any website.
The prefix acts as a hostname, making it easier to add DNS records when adding multiple subdomains.
Example of websites that precede (www): www.google.com, www.doctormega.com, www.doctormega.com/blog, etc., redirecting the user to the www version of their website.
Without – www:
These days, using www as your domain name is not mandatory and most websites these days have started using the non-www version. However, non-www domain names are known as abstract domains.
Although domain names have no technical edge, they prevent the owner from creating subdomains without cookies. Feature with non-www version The prefix is usually a representation of the page the user is currently viewing.
Example of websites without (www) help.twitter.com lets you know this site is for technical support and help or developer.mozilla.org lets you know this site is for developers, etc.
Regardless of whether you choose the www prefix for your domain name or not, HTML pages are still online and accessible over the Internet. Although there are no direct implications on website SEO, one version being preferred by the other, if users are redirected to either version, it could impact your overall SEO. There is a simple way to prevent this by setting up your favorites on google.
Follow these steps to update your Google search preferences:
- Go to Google Webmaster Tools
- Choose your website
- Click the Settings icon on the far right side of the page
- In the drop-down menu, select “Site Settings”
- Set “preferred domain” (www or without www)
In addition to setting your preferences to Google, you can even redirect www to non-www and vice versa.
How to redirect a domain without www
The domain redirection problem is experienced by most website owners, and some of them imagine that the solution to the domain redirection problem is only through the site settings and activating the domain redirection button.
But this is part of the solution to the problem of domain routing without www, and the other part is through the service provider, which is the place from which you purchased your domain. By adjusting the DNS settings and adding Google addresses to redirect the domain.
One of the problems that most sites face is that Google AdSense rejects a blog or a site that does not open without a www. You receive a message from AdSense not to accept your site or your site is broken, unavailable, or not ready to display ads.
solving the problem of domain redirection without www in GoDaddy
The first step in redirecting the domain and opening the website without www
- Go to the site where you purchased the domain and open the DNS settings.
We will apply the explanation to the GoDaddy website, but the same commands that we will do can be applied to any site from which you purchased your domain. There is no difference, as the settings are the same.
1- After opening your domain provider’s website. Go to My Products.
2- Choose the domain you want to redirect to and open the Domain Name System (DNS) settings.
The second step is adding records to redirect the domain
To redirect the domain from "mydomain.com" to "www.mydomain.com"
The four A records that point to Google's IP addresses must be added.
You will add 4 records so that the values are as follows:
- In the Type field, the records will be A
- In the Name field, we will write @
- In the Value field, we will add the following IP addresses:
216.239.32.21
216.239.34.21
216.239.36.21
216.239.38.21
- In the TTL field, we will choose 1Hour
After adding A records to redirect the domain, the situation will be as in the following image 👇
The third step is to redirect the domain from the settings in Blogger
1. Log in to Blogger.
2. Select your blog, then click Settings.
3. Go to publishing settings and activate the redirect domain button (mydomain.com to www.mydomain.com).
Finally, don't forget to redirect using HTTPS
- Ensure that the user’s connection is redirected to the HTTPS protocol by activating the button as shown in the following image:
solving the problem of domain redirection without www in Namecheap
If you buy your domain from Namecheap, you follow the same steps
- Solve the problem of domain redirection without Www from Namecheap.
• Open your account on the Namecheap website.
• Then go to the dashboard.
• After that, you choose the domain you want to redirect, then click on Manage.
• Then Advanced DNS.
• After that, you click on Add New Record and add the same records and tabs mentioned in the explanation as we did in Godaddy.
Note: After making the DNS settings and activating the redirection button on the blog, the site will stop working for a few minutes and then it will work normally without www.
Conclusion
After making these settings in the aforementioned manner, the problem of redirecting the domain without www will be solved. Solve the problem of the AdSense message that the site is down and not ready to display ads, and then you can submit your site again, and God willing, you will be accepted.