• Hello,

    I have a redirect issue on  https://lifeatdubai.com/ this site.

    I want to redirect this article to this one.

    So, I used it for .htaccess file. Firstly I added,

    RewriteEngine On
    Redirect 301 dubai-restaurants-with-alcohol/ https://lifeatdubai.com/indian-restaurants-in-dubai-with-alcohol/ to .htaccess file.

    But nothing happened. So I thought this code is wrong and after I change it to

    RewriteEngine On
    Redirect 301 https://lifeatdubai.com/dubai-restaurants-with-alcohol/ https://lifeatdubai.com/indian-restaurants-in-dubai-with-alcohol/.

    After I saw this issue. Now site home page showing the below:

    This page isn’t workinglifeatdubai.com redirected you too many times.
    Try clearing your cookies.
    ERR_TOO_MANY_REDIRECTS

    I follow below steps:

    • Restored the previous backup
    • cleared the cache
    • Re-uploaded the .htaccess file

    Site working fine on mobile device and when we log to the admin panel and going to the site using same browser still working fine. But this redirect issue showing only desktop device.

    On desktop/laptop site redirect to this url.

    Actually this redirect issue have only on the home page.

    I think this is a caching issue. I currently using W3 Total Cache plugin. But after this issue, I deactivated.

    Can you please help to fix this as soon as possible?

    Thank you,

    Helani

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @helani

    Thank you for reaching out and I am happy to assist you with this.
    Can you please share where you added the rule in the .htaccess? I can see that the W3TC is enabled and the page /indian-restaurants-in-dubai-with-alcohol/ is throwing 404.

    Does the issue persist if you disable W3TC?

    Based on what you are trying to achieve, the redirect should look like the below:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    Redirect 301 /dubai-restaurants-with-alcohol/ https://lifeatdubai.com/indian-restaurants-in-dubai-with-alcohol/
    </IfModule>

    I am not seeing any redirect issues when visiting the homepage of the webstie.

    Let me know if this helps!

    Thanks!

    Thread Starter Helani De SIlva

    (@helani)

    I added

    <IfModule mod_rewrite.c> RewriteEngine On Redirect 301 /dubai-restaurants-with-alcohol/ https://lifeatdubai.com/indian-restaurants-in-dubai-with-alcohol/ </IfModule>

    this code after # END WordPress this line. I think I’m wrong. I learn it today.

    But I can’t solve it. I did I mentioned previous steps.

    Yes, still have the issue (after disable W3TC).

    Can’t you see the issue on desktop device? Still I can see the home page redirect.

    I can provide the screen record for regard this: https://www.loom.com/share/861654c209604fe597472f0bb6ad4c5a?sid=5102e097-77b5-4c11-8659-7620eada0855

    Please check this as soon as possible.

    Thank you,

    Helani

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @helani

    Here is the screenshot of what I am seeing when visiting : https://lifeatdubai.com/

    Please note that since the issue occurs when the W3TC is deactivated, the problem is no related to our plugin.

    You should try clearing the browser Cache or use incognito window.

    Thanks!

    Thread Starter Helani De SIlva

    (@helani)

    Hello,

    incognito window also have the same issue

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @helani

    Sorry for the late reply.

    Since the issue occurs when W3TC is disabled and I am not seeing the issue on my end, this is not related to the W3 Total cache plugin.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Site Redirect issue only on dektop device and home page’ is closed to new replies.