![]() To find out if any media item remains unattached to any post or page, go to your Media Library. Keep in mind that this redirect option will only work if the media item was uploaded to the original post in the first place. ![]() That’s it, all your WordPress media attachment pages will be redirected to the parent post or page. Save the changes at the bottom of the page.Find the option to Redirect Attachment URLs to the attachment itself.Click on the new Search Appearance menu link under SEO in your dashboard sidebar.Once you configure the settings, the plugin takes care of all attachment URL redirects, without any further work on your part. Yoast SEO has built-in options to help you redirect WordPress attachment pages. You can do this using either some free plugins or with your own code snippets. You can help your readers skip these attachment pages by redirecting them to the post or page that they belong to. How to redirect WordPress attachment pages By clicking on the image URLs, an unauthorized visitor may be able to access the media content within these posts or pages despite not knowing the password. It may happen that someone shares your images on social media. It’s possible that Google may index all the image files and consider it as duplicate content.įinally, there’s also a niche situation where access to content in pages and posts is restricted by a password.This standalone attachment appears out of context, and a reader may not be able to make sense out of it. Visitors landing on the image or attachment page are likely to close the link and move away, thereby increasing your bounce rate.Like 404 errors, this is something you want to avoid. Google may start bringing more traffic to the attachment pages instead of the original post to which they belong.WordPress then automatically creates four URLs, three for the images, and one for the original post. ![]() Many beginners unknowingly choose this option despite it being a poor choice in most situationsīut even beyond that issue, there are some other reasons to consider redirecting attachment pages to the parent post.įirst, there’s SEO. Let’s say you create a post and add three images to it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |