Formation of multiple dynamic URLs and Irrelevant pages indexing.

#756277
Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    Thank you for contacting Rank Math support.

    You will have to get in touch with the support of the Event plugins you are using to prevent the generation of the random event URLs. Our plugin can’t control that.

    For the issue with indexing, please share the screenshot of the affected URLs so we can check and assist you further.

    Looking forward to helping you.

    Anonymous
    Rank Math free

    It’s been three days since I haven’t heard from you. Can you please look into this issue? We really need your help.

    Anonymous
    Rank Math free

    I have also the same problem

    Hello,

    Apologies for the delay as the ticket you have shared seems to have been stuck in our drafts section for some reason.

    In this case, you can use this filter to set those URLs to noindex:

    add_filter('rank_math/frontend/robots', function ($robots) {
    $url = home_url($_SERVER['REQUEST_URI']);
    if (strpos($url, '?post_type=') !== false || strpos($url, 'events') || strpos($url, 'tribe-bar-date=')) {
    $robots["index"] = 'noindex';
    $robots["follow"] = 'nofollow';
    };
    return $robots;
    });

    Here’s a link to how to apply this to your site:
    https://rankmath.com/kb/filters-hooks-api-developer/

    Hope that helps.

    Anonymous
    Rank Math free

    @Reinelle, Thank you for your response.
    We will implement this process and let you know about the results.

    Hello,

    We’ll be waiting to hear back from you. If you need help with anything else in the meantime, please let us know.

    Thank you for choosing Rank Math

    Anonymous
    Rank Math free

    To address the URL variations forming issue and ensure proper indexing of relevant pages, consider the following steps:

    URL Canonicalization: Implement canonical tags on your website to indicate the preferred version of URLs. This helps search engines understand which URL to index and prevents the indexing of duplicate or irrelevant URLs.

    URL Parameters Handling: Configure your website to properly handle URL parameters, especially for dynamic content such as event pages. Use the “URL Parameters” tool in Google Search Console to specify how parameters should be treated by search engines.

    301 Redirects: If multiple variations of URLs lead to the same content, set up 301 redirects to redirect all variations to the preferred URL. This consolidates link equity and ensures that search engines index the correct URL.

    Robots.txt Optimization: Review and optimize your robots.txt file to prevent crawling of irrelevant or duplicate pages. Ensure that only necessary pages are allowed for crawling and disallow any parameters or paths that generate unnecessary URLs.

    XML Sitemap Submission: Submit an updated XML sitemap to Google Search Console with only the URLs you want indexed. Regularly update the sitemap to reflect changes on your website and ensure that it accurately represents the site structure.

    Regarding removing non-indexed URLs from the website:

    Content Cleanup: Review your website’s content and identify non-indexed pages that are no longer relevant or necessary. Delete or update these pages to improve the overall quality of your website.

    Noindex Tag: For pages that you don’t want indexed, add a meta robots tag with the “noindex” directive. This instructs search engines not to index the page while still allowing it to be accessed by users.

    Robots.txt Disallow: If there are specific directories or paths containing non-indexed pages, add them to the robots.txt file to prevent search engine crawling.

    Manual Removal Request: Use Google Search Console’s Removals tool to request the removal of specific URLs from Google’s index. Keep in mind that this is a temporary solution and may not be effective for all URLs.

    By implementing these strategies, you can optimize your website’s indexing and ensure that only relevant and valuable content is indexed by search engines.

    Anonymous
    Rank Math free

    @josie peyton,
    Thank you for your insights. Your insights mean a lot to us.

    Anonymous
    Rank Math free

    @Great and @Reinelle,
    Thank you for your support; The given code is working effectively.

    Hello,
    
    You’re welcome.

    We are super happy that this issue is already resolved. If you have any other questions in the future, know that we are here to help you.
    
    If it isn’t too much to ask for – would you mind leaving us a review here?
    https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post
    https://www.trustpilot.com/evaluate/www.rankmath.com

    It only takes a few minutes but makes a huge difference.

    It would mean so much to us and would go a really long way.

    Thank you.

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

The ticket ‘Formation of multiple dynamic URLs and Irrelevant pages indexing.’ is closed to new replies.