How to solve the Canonical URL issue

what-is-canonical-url.jpg
How to correct the Canonical Issue :- Hello friends, if you have a website and you want it to come up on the top of the search, then you have to take full care of the canonical URL as well, because if your post is indexed by more than one URL in Google, then in the ranking Heavy damage can occur. So let’s know How to correct the Canonical Issue.

What is Canonical URL

Say Canonical URL or Canonical Link is the same thing, which is used in HTML. It is used as SEO, where if we use the Canonical Tag, if the same page in our website is opened with a single URL, then we tell in which console URL is the most, so that duplicate content is not found in the search. Appear and gain in ranking.

What is Canonical issue?

A canonical issue arises when 301 redirects do not occur properly. This means that your website can be accessed by the search engine from many different URLs. This means that the search engine can potentially index your site under different URLs, which means that it will look like a duplicate content site.




  • For example if you have a website: http://www.example.com then the index page can be accessed with all the following urls:http://www.example.com
  • http://www.example.com/index.html
  • http://example.com
  • http://example.com/index.html

    How to solve Canonical issue?






    Today I will share with you 3 ways to solve this issue. Which will solve your problem 100%.

    The best and most effective way to resolve a Canonical issue is a permanent 301 redirect. This can be implemented from the detailed information given below. Depending on which server your website is hosted on, the methods that you use to implement redirect will depend.

    Apart from this, it is also worth logging into Google webmaster tools and setting two profiles for your domain; www. Another non www with prefix. Then go to the site “configuration> setting> preferred domain” and choose which domain you want to use.

    1- How to implement 301 redirect with .htaccess file?

    If you have hosted your website on any of the following types of servers, then you will be able to use a .htaccess file:

    • Linux
    • Apache
    • Zeus
    • Sun Java

    These are the most common hosting servers and also the easiest to implement permanent 301 redirect. Just copy the code into your existing .htaccess file if you can open a blank notepad document and save it as .htcess.

    syntext code

    2- Redirecting 301 using 2 Windows servers?





    If you host your website on a Windows server, you will need administrative access to the hosting server and 301 redirect to IIS.

    1. Go to “All program> administrative tool> internet information service”
    2. Navigate to the domain and right click on it, then choose “Properties”.
    3. Click on the “Home directory” tab
    4. Select Radial button “A URL to redirect”
    5. Then enter the URL you want to redirect (e.g. http://www.example.com)
    6. Click “Ok”

     

    3 Using canonical url using Yoast plugin?

    Yoast SEO (free or premium) adds a canonical URL to your WordPress install for all contents selected by the search engine to index. It works automatically in 99.9% of cases. You do not have to make any more changes for this.

    If you want to change them, there is a separate box for it in the yoast plugin at the bottom when writing the post, where you can enter the canonical URL.

    Some steps are given below. You can understand them easily by following them.

    1: Log in to your WordPress website.

    (When you are logged in, you will be in your Dashboard.)

    2: Edit post, page or taxonomy. (On the left side, you will see a menu that will allow you to navigate to your posts, pages and other contents. Navigate to the individual item to edit the content settings.)

Leave a Reply

Your email address will not be published. Required fields are marked *