WebSite X5Help Center

 
Marius T.
Marius T.
User

Canonical failed for index page  en

Auteur : Marius T.
Visité 1325, Followers 1, Partagé 0  

Hi

I have digged a lot about this issue and maybe I can find some help here, please.

For the page http://www.softedu.eu the Google webmaster tools refuse to index my home page because of the wrong canonical tag which is:

<link rel="canonical" href="http://www.softedu.eu/" />

Should I put <link rel="canonical" href="http://www.softedu.eu/index.html" /> instead?

I remember that I have tried and generate another bunch of problems ... but I am not sure.

Posté le
12 RéPONSES - 3 UTILE - 1 CORRECT
Daniel W.
Daniel W.
User
Meilleur utilisateur du mois EN

For the lazy ones, see

-----

Specify canonical page using rel="canonical" and other methods

....
Your website will probably work fine without specifying a preferred canonical URL. If you don't provide a canonical URL, Google determines the objectively best version of the URL for Google Search users.
(Source: Google.com)

-----

Lire plus
Posté le de Daniel W.
Marius T.
Marius T.
User
Auteur

Of course but this is not what I have asked. As a diligent one you should see, but thanks for your time.

Lire plus
Posté le de Marius T.
Daniel W.
Daniel W.
User
Meilleur utilisateur du mois EN

Does the question only refer to the domain address, i.e. the homepage of the website?

-----

Use cases of a canonical tag

A canonical tag is used when content is used on multiple URLs or a unique URL is not possible for technical reasons. Here you will find a few use cases when canonical tags are used:

Is a page accessible via various URLs, for example http://www.domain.dehttps://www.domain.dehttp://domain.dehttps://domain.dehttps://www .domain.de/index.php, the canonical tag can be used - in this case, however, the ideal solution is to redirect all variants to the main URL with a 301 redirect.

>> more-fire.com/blog/das-canonical-tag/ (German website)

-----

Lire plus
Posté le de Daniel W.
Marius T.
Marius T.
User
Auteur

The 301 option is not an option, due to a lot of reasons.

To the second ... let's agree it is about the homepage of the website, as html structure shows.

I really appreciate an answer which reffers exactly to the question asked.

I reiterate it here, briefly for "lazy ones" :-)

<link rel="canonicalhref="http://www.softedu.eu/" />

OR

<link rel="canonicalhref="http://www.softedu.eu/index.html" />

Lire plus
Posté le de Marius T.
Franz-Josef H.
Franz-Josef H.
Moderator

If you enter the correct URL, Google will no longer complain.

<link rel="canonical" href="https://www.softedu.eu/" />

is the right one. However, your entry is

<link rel="canonical" href="http://www.softedu.eu/" />

(Look at the s after http...wink)

Lire plus
Posté le de Franz-Josef H.
Marius T.
Marius T.
User
Auteur

Hi, there is no secure option attached to the domain, it is simple http not https

Lire plus
Posté le de Marius T.
Franz-Josef H.
Franz-Josef H.
Moderator

It is the case that your website is automatically redirected to a secure website because after accessing your page it says https://www.softedu.eu/ in the address bar in the browser! Your provider may have activated an SSL certificate.

But what can still be seen, is that you entered the URL of the website with http in WebsiteX5. So in step 5 'Export' selection 'Export the website to the Internet' you have to enter the value 'https://www.softedu.eu/' in the 'URL of the website' field. This also applies if you select the 'Export to a drive' option and then upload using an external ftp program. In order to take over this change, the project must be rebuilt. To do this, hold down the Ctrl key and click on the preview button and wait until the progress bar has completely run through. Then upload the project completely.

Lire plus
Posté le de Franz-Josef H.
Marius T.
Marius T.
User
Auteur

Ro Partner: ok but it's X5 doing that open graph naming.

Franz-Josef H: I am pretty sure that the hosting did not activatr SSL because they should charge me.

It is overwelming for me ...

Lire plus
Posté le de Marius T.
Franz-Josef H.
Franz-Josef H.
Moderator

The post or the problem is not yet resolved. So why are you closing the post by checking the correct checkmark in Ro Partner's post?

The fact is what I wrote: when your page is displayed by the browser, you can see at the top that it is a secure page and an SSL certificate is active - for whatever reason...

In order to eliminate the refusal of Google Webmaster Tools and that is your hope as you write above, you should proceed as I described above. If it doesn't help you can reset it.

Lire plus
Posté le de Franz-Josef H.
Franz-Josef H.
Franz-Josef H.
Moderator

By the way, the procedure described will also correct the entry that Ro Partner mentioned.

Lire plus
Posté le de Franz-Josef H.
Marius T.
Marius T.
User
Auteur

Ok, thank you. I will try this. 

Lire plus
Posté le de Marius T.