You need to confirm the ownership of the site for yourself
We have shown you the main domain of some well-known sites as an exampleHow to determine the main domain of the site? There are two ways to determine the main domain of the site, the first way is through Google Webmaster and the second way is through 301 redirect. Google: First, create a user account in Google Webmaster , if you haven't created one yet, you can start using the www domain of the site. Next, for this you can confirm your identity using your Google Analytics account. Verification of domain ownership by Google Analytics Verification of domain ownership by Google Analytics If you don't have a Google Analytics account, you can confirm your ownership of the domain by additional means such as adding a meta tag or uploading an HTML file to the host.Alternative ways to verify domain ownership Alternative Micronesia Email Listways to verify domain ownership After confirming the domain with www, click on the ADD A SITE option from the top right corner of the page and add the domain of your site without www, go through all the previous steps and prove your ownership of the domain! Adding a new domain to Google Webmaster Adding a new domain to Google Webmaster After confirming both domains, go to the following address from the left menu to determine the main domain of the site: Configuration>Settings>Preferred Domains Choosing the main domain of the site Choosing the main domain of the site Choose your desired domain as the main domain and you will receive a message from Google Webmaster about changing your main domain. 301 redirect: To use this method, it is enough to add the following code to the file htacess. Add your own: RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www.
https://zh-cn.youtubeuser.club/wp-content/uploads/2024/05/Untitled-6.png
If you haven't chosen your domain yet, you can buy it from Iranserver. Measuring the amount of learning 3 other questions have been defined for this article . Log in to your account to view all questions. log in sign up What should we do if our site is Https? Register the site with both addresses with and without www in Google Webmaster. Register the site with both addresses with www and without www and as https in Google Webmaster. 301 redirect the version without https to the version with SSL.
頁:
[1]