Put the meta description in the Title Attribute

#888679
  • Resolved Giuliano Ciolino
    Rank Math free

    I would like to put the meta description in the Title Attribute format, but I don’t know the variable.

    Rank Bot suggests %description% but it had no effect.

    So far I have used %extract%, but in the featured images of the pages there is no excerpt, only the meta description. I use the meta description and the excerpt as if they were the same thing, is it good for SEO?

    As I was saying, without the excerpt in the pages, the images have the first text they find and that is not good.

    https://postimg.cc/gallery/rRtF7yZ/a96cd268

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

    We apologize for the issue you are facing with the meta description and title attribute. To clarify, the variable %description% is not a supported variable in Rank Math for the Title Attribute. Instead, you can use the %excerpt% variable, but as you mentioned, if there is no excerpt set for your posts, it will default to the first text it finds in the content, which may not be ideal for SEO.

    Using both the meta description and excerpt interchangeably is not recommended. The meta description is primarily for search engines and users in SERPs, while the excerpt is often used for summaries or previews within your site. It’s best to have distinct content for both to optimize your SEO effectively.

    To ensure that your featured images have appropriate text, consider setting a custom excerpt for each post. This way, you can control what text appears in the title attribute of your images. You can set a custom excerpt in the Block editor by clicking the Settings icon and navigating to the Excerpt metabox. In the Classic editor, you can enable the Excerpt metabox from Screen Options at the top of the post editing screen.

    If you need further assistance or have more questions, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for raising this concern!

    Hello,

    Thank you for contacting us. We apologize for any inconvenience this issue may have caused.

    Please note that the variable %excerpt% in Rank Math will show the excerpt of the current post (the data or value added in this field)

    excerpt

    Also, the variable will be auto-generated if there is no post excerpt available from your post. It will pull the first 160 characters on your content if that field is empty.

    To clarify, Rank Math cannot add an excerpt to your posts as the variable relies on the data you have added from your content or post excerpt itself.

    The default meta description is set to %excerpt% but you can change that by going to WordPress Dashboard > Rank Math SEO > Titles & Meta > Posts.

    If you want to have more fine-grain control over the meta description of each post you need to edit those manually on each post using the snippet editor of our plugin as illustrated here: https://rankmath.com/kb/seo-meta-tags/

    It’s important to note that the variable %excerpt% is converted to text when the page is loaded so all posts have meta descriptions already taken from the content of the post.

    Looking forward to helping you.

    Giuliano Ciolino
    Rank Math free

    I used to use featured images and could not insert custom alt texts. I chose to insert images manually for each post and their alt texts.

    On Google, I had very small images and very poor quality, because Google took the small image and not the posts and then saved it in very low quality.

    I disabled all automatic alt texts, because in my opinion it is one of the reasons why Google removes my results from the SERP. Some time ago, I had disabled your SEO optimization for images and I started to have results: 400 keywords and 740 impressions as the best result.

    Then, I enabled your SEO optimization for images again and improved the site, but Google removed all the results and for 6 months or more, terrible results. 0 keywords and less than 5 impressions per day. I expect to do results far above my personal records, if it is the fault of the offending setting.

    I used the attribute title with the excerpt and from what I understand, this could generate a duplicate feeling for Google.

    Hello,

    If you want to use the meta description as the Title attribute of the images, you can use the %seo_description% variable. However, the title attribute should have a title. The SEO description will be too long to be considered the title. You should use the post title (%title%) or the SEO title (%seo_title%) as the title attribute of your featured images.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Giuliano Ciolino
    Rank Math free

    But the SEO title is the same title of the page. I will find myself:
    – “NameOfGame” as title
    – image with alt text “NameOfGame preview video games”
    – title attribute “NameOfGame”.
    – stars to vote
    – game

    It seems like a bad choice and the title attribute as description loses meaning. What can I do to have the title attribute that makes sense?

    Hello,

    The featured image will be a screenshot of the game. So it is completely fine to use the game’s name as the title attribute of the image. It won’t have any negative impact on the image SEO of the site.

    Please do not hesitate to let us know if you need our assistance with anything else.

    Giuliano Ciolino
    Rank Math free

    How long should the title attribute of images be?

    Giuliano Ciolino
    Rank Math free

    %title% game available for free and online.

    Play %title% for free and online.

    Some examples came to me for the title attribute. They seem descriptive and short.

    The first example seems the most suitable to me, because with the second one I expect that the image is necessarily the link for the game. The first example too, to be honest, but it seems less related to the image and more to the content of the page.

    Hello,

    The first example seems better as it describes the image and provides information about the page’s content.

    Please do not hesitate to let us know if you need our assistance with anything else.

    I’ve been waiting for 4 years for you to fix the image issues:
    – automatic alt text and attribute title does not add the automatic text on all plugins with images, because they do not follow WordPress guidelines
    – Alt text does not work in categories. It seems to be a problem with the full block theme. Same error on the 2023 theme, but not on 2021 which is not a full block theme.

    What do I do? I can’t contact WordPress, because I’ve been banned.

    https://imgur.com/a/r419BXH

    Hello,

    1. Please note that our auto alt/title/caption attributes only work for images that are inserted into the page’s actual content or post_content. If your custom gallery or plugins that display images don’t have their images inserted in the content, our Image SEO feature will not work.

    2. The automatic alt text is working fine for category pages. Can you please confirm if the variable %title% is not working for you? In your screenshot, the alt text seems to be present there.

    Looking forward to helping you.

    1. that’s what i said, you don’t support images outside of post content.

    2. Categories have theme generated alt text, but it’s a bug. I don’t want the title, but the alt text consistent with the rest of the images. Your plugin seems to add alt text only to images that don’t have it and it doesn’t matter if the theme added it.
    https://imgur.com/a/2HosMv6

    In short, Rank Math’s image seo optimizations are of little use in my situation.

    Hello,

    We understand that our Image SEO module might not have the functionality that you would like but at the moment we don’t have any plans to introduce changes to it in the immediate future.

    If that changes in the future, we’ll let everyone know through the usual communication channels.

    Thank you.

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

The ticket ‘Put the meta description in the Title Attribute’ is closed to new replies.