Probleme redirection and no(index

#776509
Viewing 15 replies - 1 through 15 (of 17 total)
  • Hello,

    Thank you for reaching out to us with your redirection and indexing concerns. To resolve the redirection issues and ensure that specific URLs are not indexed, you can follow these steps:

    1. Redirecting URLs:

    2. Preventing Indexing:

      • To prevent specific URLs from being indexed, you can use meta tags like noindex or nofollow. You can add these meta tags to the HTML “ section of your website’s pages.

    If you encounter any difficulties or need further assistance, please feel free to assign this ticket to a human agent using the available buttons, and we will assist you promptly.

    Thank you for your understanding and patience.

    Sincerely

    Sources:
    Solving Redirection Issues Using Rank Math SEO Plugin » Rank Math
    How to Fix “Duplicate, Google Chose Different Canonical than User” » Rank Math
    Why Are Posts Redirecting to www or Non-www Incorrectly?
    Why Are Posts Redirecting to www or Non-www Incorrectly?
    Page With Redirect – Google Search Console Status » Rank Math

    Moussa El hadj mimoune
    Rank Math free
    Content AI Starter

    For more context here is the content of the htaccess file:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    RewriteCond %{HTTP_HOST} ^www\.voiledepudeur\.com [NC]
    RewriteRule ^(.*)$ https://voiledepudeur.com/$1 [L,R=301]
    </IfModule>
    # o2switch pagespeed start / DO NOT REMOVE OR EDIT
    <IfModule pagespeed_module>
    ModPagespeed on
    ModPagespeedRewriteLevel PassThrough
    ModPagespeedEnableFilters add_head,canonicalize_javascript_libraries,collapse_whitespace,combine_css,combine_javascript,combine_heads,convert_meta_tags,dedup_inlined_images,elide_attributes,extend_cache,recompress_images,flatten_css_imports,hint_preload_subresources,inline_css,inline_javascript, lazyload_images,rewrite_javascript,move_css_above_scripts,move_css_to_head,insert_dns_prefetch,remove_comments,remove_quotes,rewrite_images,strip_image_meta_data,sprite_images
    </IfModule>
    # o2switch pagespeed end / DO NOT REMOVE OR EDIT
    Header always set Strict-Transport-Security max-age=31536000

    # BEGIN LSCACHE
    #END LSCACHE
    # BEGIN NON_LSCACHE
    # END NON_LSCACHE
    # This file was updated by Duplicator on 2024-01-30 18:18:46.
    # See the original_files_ folder for the original source_site_htaccess file.

    # BEGINWordPress
    # The directives (lines) between “BEGIN WordPress” and “END WordPress” are generated
    # dynamically, and should only be modified via WordPress filters.
    # Any changes to directives between these markers will be overridden.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule.* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule. /index.php [L]
    </IfModule>

    # END WordPress

    Thanks in advance,
    Sincerely

    Moussa El hadj mimoune
    Rank Math free
    Content AI Starter

    Es-ce que le faite de mettre dans le robot.txt va résoudre le problème :
    Disallow: /non-classe/
    Disallow: /?s=%7Bsearch_term_string%7D&PageSpeed=noscript
    Disallow: /?s={search_term_string}&PageSpeed=noscript
    Disallow: /?s={search_term_string}
    Disallow: /?s={search_term_string}
    Disallow: /?PageSpeed=noscript
    Disallow: /conseils-adaptes/
    Disallow: /des-conseils-pour-hommes/
    Disallow: /merci-pour-votre-commande/
    Disallow: /vetement-femme-musulmane/
    Disallow: /jilbeb-alya/

    Par contre pour l’erreur de redirection avec http et www au lieu de la vrai page qui doit être https://voiledepudeur.com/ comment faire pour que ça soit définitif et que dans la search console je n’ai plus le soucis.
    Merci d’avance

    Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    Checking your website, all 4 variations are now redirecting to the correct final version as you can see from the screenshot below:

    Rank Math support

    As for the pages you don’t want to get indexed, checking some of them, they are already set to noindex:

    Rank Math support

    They also don’t show up on the SERP:

    Rank Math support

    However, there are also some pages that are still marked as index, to fix that, please follow this guide: https://rankmath.com/kb/how-to-noindex-urls/

    Assuming that these URLs keep showing on Google Search Console, Google may keep discovering them via internal links so the robots.txt method you mentioned is one way to address this.

    Looking forward to helping you.

    Moussa El hadj mimoune
    Rank Math free
    Content AI Starter

    Good morning,
    Okay thank you for your help!
    Which ones always have the index attribute?
    Furthermore how to resolve the problems with the url ending with “khimar” and “quamis-saoudien-3” knowing that I changed their urls but which are marked as no-index according to the search console knowing that I made a redirection for each of these urls?
    Thanks in advance

    Hello,

    Thank you for your patience.

    This URL https://voiledepudeur.com/khimar/ is getting a redirect loop. To fix this, you can follow our guide here:
    https://rankmath.com/blog/fix-redirect-loops/

    Also, if a URL is redirected, then there’s no need to set it to noindex. Search engines will understand that there’s a redirection, so they will ignore the robots meta tag like index/index.

    Hope that helps.

    Moussa El hadj mimoune
    Rank Math free
    Content AI Starter

    Good morning,

    I have resolved the issues I think but can I have confirmation from you?

    Thanks in advance,
    Sincerely

    Hello,

    The URL https://voiledepudeur.com/khimar/ and https://voiledepudeur.com/quamis-saoudien-3 are now showing a 404 page.

    This does not seem to have resolved the issue.

    Please follow this guide below where we’ll show you how to create a redirection: https://rankmath.com/kb/how-to-create-a-redirection/

    We hope this clarifies your issue. If you have any questions or need more help, please let me know.

    Thank you for choosing Rank Math!

    Moussa El hadj mimoune
    Rank Math free
    Content AI Starter

    Sauf que quand je créer une redirection pour https://voiledepudeur.com/khimar/ vers https://voiledepudeur.com/khimars/ qui est la page principal j’ai une boucle de redirection qui ce créer .
    Pour ce qui est de l’url https://voiledepudeur.com/qamis-saoudien-3/ je ne vous ai pas donné la bonne url mais celle là est la vrai concernant le problème de no-index.

    Merci d’avance de votre aide

    Moussa El hadj mimoune
    Rank Math free
    Content AI Starter

    this url https://voiledepudeur.com/khimar/ refers to the home page even though there is no redirection which was created. How do you know why I would like to fix this url problem.
    Screenshots link: https://imgur.com/a/yk9g7zC

    Thanks in advance,
    Sincerely

    Hello,

    The https://voiledepudeur.com/khimar/ URL is not redirecting to the homepage. It is returning a 404 error.

    Please check and let us know if you need our assistance with anything else.

    Moussa El hadj mimoune
    Rank Math free
    Content AI Starter

    Good morning,

    However when I click on your link https://voiledepudeur.com/khimar/ I land on the home page and no to a 404 error.

    Thank you in advance for your assistance

    Hello,

    Thank you for your patience.

    The URL is getting a 404 when accessing it

    404

    If it’s still showing you your homepage, please clear your website and browser’s cache for troubleshooting.

    Looking forward to helping you.

    Moussa El hadj mimoune
    Rank Math free
    Content AI Starter

    D’accord, parfait j’ai vider le cache et effectivement je tombais bien sur une page 404 donc j’ai mis une redirection pour celle-ci.

    Maintenant pour mon autre site internet j’ai une erreur de redirection : https://dev-web-agency.com/agence-web-de-creation-de-sites-e-commerce signalé en “erreur de redirection” mais je ne sais pas pourquoi.
    Links : https://imgur.com/a/FE4OylH

    Merci d’avance

    Hello,

    If you load the URL in the browser, it doesn’t show any issue and the only thing you see is that it redirects it to add a trailing slash (/).

    Please clear your website caches and simply allow Google to recrawl this URL.

    The URL is currently indexed so there shouldn’t be any issues, you just need to wait for Google to update the report.

    Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 15 replies - 1 through 15 (of 17 total)

The ticket ‘Probleme redirection and no(index’ is closed to new replies.