Hello,
I am having some work done on my website for SEO and It was brought to my attention that most of my images (especially the feature Image) have links that open into a new page just for the image itself. I am looking how to remove these links that create a new page. I read in a previous forum post to add these codes to my Quick CSS but it didn’t change anything.
.single-post .single-small.with-slider .small-preview { pointer-events: none; }
.flex_column .template-blog .big-preview.single-big { pointer-events: none; }
.fullsize .big-preview.single-big { pointer-events: none !important; }
Is there a way to keep this from happening.
Here is an example of what is happening that I need help to change.
Thank you for any assistance.
Hey gatorfan02332,
WordPress by default creates a single page for each attachment that you have on your site.
The attachment page is not a true page that you will find listed with your pages, it is dynamically created.
The css solutions above are only to keep users from clicking the links, not for SEO.
Here is a option: How to Hide Media Attachment Pages in WordPress
Here is another: How to Disable Image Attachment Pages in WordPress
Best regards,
Mike