• Resolved Rahul Dharecha

    (@rkdharecha)


    Any url like domain/dsdsad/checkout is redirecting to domain/checkout. how can i stop this. this should be 404 page.

    I tried using 301 redirect in .htaccess but still it redirect to checkout page.

    Redirect 301 /abc/checkout/ domain/xyz

    so when i open doamin/abc/checkout it should redirect to domain/xyz page. but it is recdirect to domain/checkout page.

    How can i do that please help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    I would look at your .htaccess file on your server, or just contact your host to see what kind of redirect rules are set up on your server. They would have much more insight into what you are asking and should be able to help better.

    Have a great one!

    Thread Starter Rahul Dharecha

    (@rkdharecha)

    Hello Andrew

    Thank you for your replay/help.

    In my .htaccess file i have only worpdress default code.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    and this redirect happens to only cart and checkout page. for other page i got 404 page.

    Thank you
    Rahul Dharecha

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘any url having checkout is redirect to checkout page’ is closed to new replies.