What does 'Resources As Page Links' mean in Site Audit?
Resources As Page Links
Description
Pages that have resources as page links.
How to Fix
Review the pages with resources as page links and update them to be page links.
Detailed Analysis
Certainly! Let's delve into the SEO issue titled "Resources As Page Links."
1. What Causes This Issue
The issue of "Resources As Page Links" arises when pages that are meant to serve as resources—such as images, PDFs, scripts, or stylesheets—are linked as standalone pages within the site architecture. These resource files are not intended to be indexable content pages, and linking to them as if they are regular content pages can cause confusion for search engines and users.
Several factors can cause this issue:
- Improper Linking Practices: Unintentionally linking to the URL of a resource file instead of embedding or referencing it correctly within HTML.
- CMS Configuration Errors: Content Management Systems (CMS) might automatically generate links to resource files.
- Broken or Outdated Code: Using outdated or broken code that doesn’t properly reference or embed resources, leading them to be treated as standalone pages.
- Incorrect Sitemap Entries: Including resource file URLs directly in XML sitemaps.
2. Why It's Important
Linking to resources as standalone pages can lead to several SEO and user experience problems:
- Search Engine Crawling and Indexing: Search engines may waste crawl budget on non-content URLs, which could delay or prevent important pages from being indexed.
- Poor User Experience: Users landing on a resource file instead of a webpage might encounter unexpected results, such as downloading a file they didn’t intend to open.
- Diluted Page Authority: Linking to non-content pages can dilute the link equity that should be directed towards valuable content pages.
- Duplicate Content Issues: Resources inadvertently indexed as pages can create duplicate content, leading to potential penalties or reduced rankings.
3. Best Practices to Prevent It
To prevent resources from being linked as standalone pages, consider the following best practices:
- Proper Embedding: Ensure that resources like images, scripts, and stylesheets are embedded using proper HTML tags (e.g.,
<img>
,<script>
,<link>
) rather than direct links. - Use Robots.txt: Disallow search engine crawlers from accessing directories or specific file types that serve as resources (e.g.,
/images/
,/scripts/
). - Canonical Tags: Implement canonical tags on pages to signal preferred content and avoid indexing resource pages.
- Review Sitemap: Regularly audit sitemaps to ensure only content pages are included and resource URLs are excluded.
- Internal Linking Audit: Periodically review internal links to ensure that they point to appropriate content pages rather than resource URLs.
4. Examples of Good and Bad Cases
Bad Case:
- Scenario: A website links directly to a PDF file in the main navigation menu, causing users and search engines to treat the PDF as a primary page.
- Outcome: Users might be confused when they click on a navigation link expecting a webpage and are instead prompted to download a file. Search engines might also index the PDF, which does not provide the intended content structure or context.
Good Case:
- Scenario: A website uses
<a href>
to link to a blog post that references a PDF. The PDF is embedded within the post using a<iframe>
or linked appropriately within the content. - Outcome: Users are directed to a well-structured content page that provides context around the PDF. Search engines index the blog post with relevant context, ensuring a better user experience and efficient use of crawl budget.
By following these guidelines and best practices, you can ensure that your website's resources are managed correctly, providing a seamless experience for users and optimizing your site’s performance in search engine rankings.
Updated about 5 hours ago