PROBLEMAS CON LA ETIQUETA CANONICA

#537056
  • Resolved Analia Castro
    Rank Math free

    Hola buenas tardes,

    Actualmente dentro de Rank math no hemos puesto etiquetas canonicas en nuestras URL, dado que no consideramos tener contenido duplicado en nuestros sitio, solo tenemos el sitio en otros idiomas (www.prillwitzgroup.com).
    En PageSpeed Insighth nos aparece un cartel en todas nuestras URL:
    ! El documento no tiene un atributo rel=canonical válido No es una URL absoluta (//www.prillwitzgroup.com/).
    Mire en el codigo fuente de nuestro sitio y se declara la etiqueta canonica de cada pagina como la misma.

    Queremos solucionar esto, dado que no entendemos cual es el error.

    Espero puedan ayudarnos.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    I’ve checked the canonical URL of your site, and indeed it is returning a relative URL (without https://)

    For initial troubleshooting, please ensure that you have not added the canonical URL in this field upon editing the page as you should leave it empty since Rank Math automatically adds the canonical

    Canonical

    If that’s already empty and the issue still persists, assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Let us know how this goes.

    Thank you.

    Reinelle,

    Muchas gracias por tu contestacion, ha sido de gran ayuda para encontrar el problema.
    Como primer paso he verificado y el casillero de canonical url se encuentra vacio. Como segundo paso instalamos un tema alternativo, desactivamos los plugins y luego los activamos en el modo diagnostico y no han arrojado ningun problema y muestran correctamente las etiquetas.

    Entiendo que este problema surge entre el TEMA: ASTRA y Rank Math. Tienen alguna manera de solucionarlo? Saben si esta configuracion se puede cambiar en el tema?

    Aguardo su respuesta para avanzar.

    Reinelle,

    He vuelto al tema ASTRA en el modo diagnostico y lo veo correctamente.
    Ahora he salido del modo dignostico pero dentro del wordpress y lo veo correctamente.
    Por ultimo he salido del wordpress y lo veo mal.

    Aguardo tus comentarios,

    Desde ya muchisimas gracias.

    Hello,

    In this case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Thank you.

    Reinelle,

    Perfecto. He cargado los datos de acceso al wordpress.

    Aguardo su pronta respuesta.

    Hello,

    It seems that you have missed adding the login details in the sensitive data section.

    Please share here as well so we can log in and investigate the issue further.

    Looking forward to helping you.

    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Reinelle,

    Por favor verificar ahora.
    He vuelto a cargar lo datos solicitados.

    Quedo atenta,

    Hello,

    Appreciate the details.

    We checked a few URLs on your website and the URLs are no longer related. They are absolute and contain the https:// part as well. Here is a screenshot for reference:

    And here is another one from your homepage:

    Have you managed to fix the issue already or are we not looking in the right place? If that is the case, please provide more information so we can help.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello good morning,

    We are still seeing the problem.
    If these images that you show me were taken from inside the wordpress, we also see it correctly. The problem is when we are not inside the editor.
    I can not attach images, but if you scan the site http://www.prillwitzgroup.com from the Page Speed Insighth you can see the error in the SEO part. The error indicates that the URLs are relative.

    Hello,

    Thank you for providing additional information.

    I checked the website in incognito mode with Rank Math deactivated and it was still showing the relative URL i.e. without https. As you’ve confirmed that the issue was with Rank Math and Astra theme and without Rank Math, the problem still persists. I would suggest posting the question to Astra theme support.

    Also, I noticed you’re using Rank Math Pro and opened this ticket with Free account. Can you please search and forward a receipt from FastSpring.com so we can locate your account and merge both the accounts.

    We hope that helps. We are here if you need us again.

    Thank you

    Hola buenos dias,

    Hemos seguido investigando este problema y llegamos a la raiz.
    Teniamos configurado Cloudflare, y desactivandolo encontramos que era lo que estaba declarando URL relativas.
    Solucionado esto, hemos desactivado Cloudflare y cambiado los DNS con nuestro servidor.
    Ahora bien, de todas formas las etiquetas canonicas no estan mostrando lo que tenemos declarado en Rank Math. Ej. wwww.prillwitzgroup.com/pt/ dejara que la etiqueta canonica es http://www.prillwitzgroup.com y asi con casi todas las URL.

    Esto como lo puedo solucionar?

    Hello,

    I can check that you are using Polylang to translate the site. Unfortunately, Polylang is not compatible with our plugin and that’s why the wrong canonical is added to the translated pages. Please add the following filter to your site to fix the issue:

    add_filter( 'rank_math/frontend/canonical', function( $canonical ) {
    	$canonical = 'https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
    	return $canonical;
    });

    Here is how to add a filter to your site: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps. Let us know if you need any other assistance.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 14 replies - 1 through 14 (of 14 total)

The ticket ‘PROBLEMAS CON LA ETIQUETA CANONICA’ is closed to new replies.