Site voiledepudeur.com problème redirection

#778562
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    I apologize for the redirection issue you are facing on your website voiledepudeur.com. Thank you for providing the URLs causing the problem. To resolve this redirection issue, you can follow these steps:

    1. Check WordPress Address & Site Address: Confirm if WordPress is storing your website files at the correct version of your website. Navigate to Settings → General → WordPress Address in the WordPress admin area and ensure that both the WordPress Address and Site Address are configured to your website’s correct version (www or non-www).

    Website Address and Site Address - WordPress General Settings

    1. Check .htaccess File: Verify if any redirects have been created in your .htaccess file. You can check this in your WordPress Dashboard by going to Rank Math SEO → General Settings → Edit .htaccess. If you find any additional redirection rules, delete them and save the changes.

    Edit .htaccess

    After following these steps, please check if the redirection issues are resolved. If the problem persists, feel free to reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for your patience and cooperation.

    Sources:
    Why Are Posts Redirecting to www or Non-www Incorrectly?
    Why Are Posts Redirecting to www or Non-www Incorrectly?
    Solving Redirection Issues Using Rank Math SEO Plugin » Rank Math
    Random URLs Redirecting Even When No Redirect Was Created » Rank Math
    Random URLs Redirecting Even When No Redirect Was Created » Rank Math

    Moussa El hadj mimoune
    Rank Math free
    Content AI Starter

    Voici mon fichier htaccess : <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.

    # BEGIN WordPress
    # Les directives (lignes) entre « BEGIN WordPress » et « END WordPress » sont générées
    # dynamiquement, et doivent être modifiées uniquement via les filtres WordPress.
    # Toute modification des directives situées entre ces marqueurs sera surchargée.
    <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

    Hello,

    Thank you for contacting Rank Math support and sorry about the inconvenience caused due to that.

    We checked and can see that the URL is redirecting properly as shown in the image below:

    Since you already have raised a ticket concerning this issue, it is better to stick to that ticket to avoid duplication so we will be closing this ticket in favour of that.

    Hope this helps.

    Thank you for choosing Rank Math.

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

The ticket ‘Site voiledepudeur.com problème redirection’ is closed to new replies.