Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1436165

    This seems to just happen on blog posts:
    Most of these are the Featured images, but a good deal also are just images/easy sliders in the content.

    Apparently having an image link to a page of just the picture can confuse bots . . . and I’m dealing with an unexplained serp drop.

    How do I remove the URL location of the images themselves but allow for a manual setting to create a link to a page?

    #1436181

    In case it helps, here’s the note from ahrefs about what this is:
    “About this issue: We detected that some links to resources are formatted with **less than sign**a href**greater than sign** HTML element. An **less than sign**a**greater than sign** tag with a href attribute is used to link to other web pages and must only contain a page URL. Search engines will crawl your site from page to page by following these HTML page links. When following a page link that contains a resource, for example, an image, the returned page will not contain anything except an image. This may confuse search engines and will indicate that your site has poor architecture.”

    **had to put these because this box reads actual opening and closing brackets as actual code**

    #1436338

    Hi,

    Thank you for the inquiry.

    Would you mind providing a screenshot of the issue and the link to the page in question? You can use platforms like Savvyify, Imgur or Dropbox to upload and share the screenshot. Here are the steps to follow:

    1.) Visit the website of your chosen platform, such as Savvyify, Imgur or Dropbox.
    2.) Locate the option to upload a file or an image.
    3.) Select the screenshot file from your computer or device and upload it to the platform.
    4.) After the upload is complete, you will be provided with a shareable link or an embed code.
    5.) Copy the link or code and include it in your message or response to provide us with the screenshot.

    Thank you for taking the time to share the screenshot. It will help us better understand the issue you’re facing and provide appropriate assistance.

    Best regards,
    Ismael

    #1436413

    I wish I could. I just deleted the images that were causing the issue. I don’t have any more Semrush audits available but I will see if Ahrefs will show it.

    #1436446

    Hi,

    Thank you for the update.

    I wish I could. I just deleted the images that were causing the issue.

    We may need to inspect the site in order to properly check the issue. Please provide the site URL in the private field.

    Best regards,
    Ismael

    #1436529

    see private box

    #1436819

    Hi,
    Thanks for your patience and the details but I didn’t know what formatted as page link meant for SEMrush, but I found this article which says this typically means the image link goes to the image file, which is typically an error.
    So I checked your homepage and your blog page but didn’t find this until I checked some of your blog posts, then I found some of your featured images on your single posts are linking to themselves, so try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function av_remove_featured_image_link($image) {
        if (is_single()) {
            $image = get_the_post_thumbnail( $current_post['the_id'], 'featured' );
        }
        echo $image;
    }
    add_filter('avf_post_featured_image_link','av_remove_featured_image_link', 10, 1);

    and this should solve the issue.

    Best regards,
    Mike

    #1436849

    Yes, the issue is that the linked image points to the image page rather than to a page link. I’ll try the code now.

    #1436851

    That seems to fix it. Thanks!
    Jon

    #1436875

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Blog Posts: “106 resources are formatted as page link” warning on SEMrush’ is closed to new replies.