SEO Score

#424038
  • Resolved ericschneeberger
    Rank Math free

    Bonjour,
    Pouvez-vs me dire, en rapport à la PJ, pourquoi est-ce que mon score n’est pas meilleur que ça ?
    D’après moi, j’ai tout juste mais j’ai une erreur à quelque part, Je mets des virgules entre les mots. Est-ce correct ?
    En outre, dans la Meta description, lorsque je tape le texte, le curseur va jusqu’au vert (voir PJ Score RankMath #2) et j’ai les 2 points vert sous l’onglet SEO de base
    MAIS
    Lorsque je sauve le travail, ma barre de Méta-description passe au gris (voir PJ Score RankMath #1) et 1 des 2 deux point vert a disparu
    Que ce passe-t ‘il ? qu’est-ce que je fais faux ?

    Je vous remercie d’avance pour votre aide

    Avec mes cordiales salutations de l’Helvétie
    —————————————————–
    Eric SCHNEEBERGER
    CH – 2576 LUESCHERZ
    Mobile: +41 79 654 70 62
    https://www.vins-authentiques.ch

Viewing 15 replies - 1 through 15 (of 15 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting the support and we regret the inconvenience caused.

    It seems like you’re modifying an attachment page and your permalink settings are set to display the IDs instead of the post-name and that is why the keyword is not detected in the URL/permalink.

    As for the meta description, attachment pages do not have the default editor support, and as the preview of the meta description is shown only when the editor support is enabled, we’re unable to analyze the meta description when the page reloads.

    With that said, it is only the test that is not passed and Google would be able to analyze the entered data correctly from the front end of the website.

    Hope this helps.

    Thank you.

    Hello,

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

    Thank you.

    Hi Prabhat
    Thank you for your response
    In this case, I was setting the SEO fields for an image. When I download the image I give them a file name. At the beginning of the download phase, SEO process, the permalink take the name of the file name. After having complete, modified and tried to get the best score, saving several time, the permalink change from file name or permalink name to ID link. I put the Permalink setting as attachment in order to show you my configuration.
    Could you help me to correct this situation? In the Title and Description fields, is it important to choose comma or ; to separate the words?

    Sorry but what do you mean by “I have updated the sensitive data as requested. Can you please check further?” you don’t have access to my website and how can I check further?
    Eric

    Hello,

    You must have added something in the sensitive data section that’s why that message appeared. To change the permalink structure of the attachment pages, please add this filter to your site:

    function wpd_attachment_link( $link, $post_id ){
        $post = get_post( $post_id );
        return home_url( '/images/' . $post->post_title );
    }
    add_filter( 'attachment_link', 'wpd_attachment_link', 20, 2 );
    

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

    You don’t need to separate the words using the comma or semi-colon for the title and descriptions if it isn’t necessary. If you are asking for the focus keyword field, you can use the comma there to separate the keywords.

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

    Dear Jaideep Asrani
    Thank you for your response
    Before making any change I would like to be sure that you understand my problem (See upper note)

    I was inserting data into SEO fields for an image (see files in the “Sensitive Data” section) which will be further inserted in a Woocommerce Product. By downloading an image into my WP Media section I give it a file name. After having complete the SEO tuning phase, modified and tried to get the best score, saving several time, the permalink change from file name or permalink name to ID link (see files in the “Sensitive Data” section). I stored also Permalink setting as attachment (see files in the “Sensitive Data” section) in order to show you my WP configuration.
    If I have to insert the above code, may I create a Snippet? If yes what are the settings? “Run snippet everywhere”, “Only run on site front-end”, etc.
    Thank in advance you for reply & your support
    Eric

    Prabhat
    Rank Math agency

    Hello,

    It seems like there’s confusion on your end. “Images” do not have their SEO title/ SEO description as they are simply image files. The permalinks of actual images are always their routes followed by the file names and only the permalinks of attachment pages can be modified.

    The file that you’re editing is an “Attachment Page” of an image. WordPress automatically creates these attachment pages for each individual media file on your website. You can read more about it here: https://www.webnots.com/what-is-attachment-page-in-wordpress/

    Now, these attachment pages usually have thin content and are not beneficial from the SEO point of view. They can even waste your crawl budget. So, unless you’re certain about getting them indexed, we recommend enabling the “Redirect Attachments” from Rank Math > General Settings > Links.

    Here’s a guide with more details: https://rankmath.com/kb/should-you-redirect-attachments/

    Coming to your question, if you’re willing to get these attachment pages indexed, yes, you need to create a new snippet and you can “Run snippet everywhere”.

    Hope this helps.

    Thank you.

    Hello,

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

    Thank you.

    Hi
    At the end I wanted to insert the proposed code in the snippet but it gave me an error by the activation of it
    I enable the “Automatic Redirection”, is it OK like this?
    I don’t understand all your writing up there BUT, is it important to configure SEO’s fields attached to an image? When yes, are my images data correct (see files in the “Sensitive Data” section)
    Thank you for your reply

    PS: I’m a perfectionist and I would like to get at list one image configured correctly! Could you help to make this?

    Thanks in advance, Eric

    Anas
    Rank Math business

    Hello,

    Can you please share a screenshot of the error that you are getting after adding the code?

    I checked the screenshot, WordPress by default creates auto-post redirects whenever you change the slugs of posts.

    Auto Post Redirect option in Rank Math should only be enabled if the default feature is not working for some reason.

    For the attachments, these attachment pages(images) usually have thin content and they are not beneficial from the SEO point of view. So it is not important to configure SEO details for the images.

    We recommend enabling the Redirect Attachments options at Rank Math > General Settings > Links.
    images

    Hope this helps.

    Thank you.

    Hello,

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

    Thank you.

    Hello Anas
    Thank you for your response. By activating the Snippet https://ibb.co/cCsHxKG following error appear https://ibb.co/bBxmDkk
    Question #1: About the “Redirect Attachments” I don’t have the same view in the French version than you and I’ve activated the following button https://ibb.co/Rjb23qk. Could you confirm that’s the correct setting?
    Response to #1:
    Question #2: by activating this function, should I edit/activate any of my images (or other) in order to make this function working or this is an “on fly” function?
    Response to question #2:
    Question #3: how may I test to see the difference settings before and after activating the function?
    Response #3:
    Question #4: I have only one image with per wine product. Every image is attached to a Product see https://ibb.co/jgdPPNt. Is that a good idea? Is that correct?
    Response #4:
    Question #5: Does it make sense to set my images on “Index” or “No Index” in Rank Math setting https://ibb.co/WFJ7LLg
    Response #5:

    Thank you very much to taking time for reply
    Eric

    Prabhat
    Rank Math agency

    Hello,

    Could you confirm if you wish to enable the “Redirect Attachments” option? If yes, you do not need to worry about that error as you do not need to add that code.

    However, if that’s not the case, please share the screenshot after translating the page to English so that we can better understand the issue.

    Coming to your questions,

    1. You’re checking the wrong tab. As mentioned in the previous reply, the Redirect Attachments option is available under Rank Math > General Settings > Links. Here’s a screenshot for a quick reference: https://i.rankmath.com/bJ8M9F

    2. It works on the fly and you do not need to do anything.

    3. You can open this link after and before enabling that option: https://your-domain.com/?attachment_id=5413 (please replace “your-domain.com” with your actual domain).

    When not enabled, it would take you to the attachment page with the image, and after enabling the option, it would redirect you to the product where you’ve used the image.

    4. There are no issues with that approach. However, if you have multiple images of the same product with different views/content, you can add them as well to give users a more broad preview of the product.

    5. If you’ve enabled the “Redirect Attachments” option, the robots meta settings (index or noindex) for the attachment pages do not matter.

    Hope this helps.

    Thank you.

    Thank you very much to all for the quality of your answer and your patience
    Eric

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

You must be logged in to reply to this ticket.