Support » Plugin: Redirection » Redirection not working (“Agent: Not using redirect”)

  • Resolved lostdogsse


    I have a main site for my company and have added a webshop (WooCommerce) in subdirectory /shop.

    I thought the URL to my shop would be <mysite>/shop but in reality it was <mysite>/shop/

    Since I have business cards with <mysite>/shop (which is also much easier to read) I thought I would add a redirect from /shop to /shop/ but it fails.

    My settings:
    Source Url: “/shop”
    Parameters: Ignore parameters
    Target Url: https://<mysite>/shop/index.php

    I have SSL active and redirection for http to https (not sure if that is the problem).

    My .htaccess file:

    # BEGIN rlrssslReallySimpleSSL rsssl_version[3.3.4]
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP:X-Forwarded-Proto} !https
    RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
    # END rlrssslReallySimpleSSL
    # BEGIN WordPress
    # Direktiven (raderna) mellan ”BEGIN WordPress” och ”END WordPress” är
    # dynamiskt genererade och bör endast ändras via WordPress-filter.
    # Eventuella ändringar av direktiven mellan dessa markörer kommer att skrivas över.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /shop/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /shop/index.php [L]

    # END WordPress

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Godley


    The redirect checker does not work if you use .htaccess for the redirect. It is up to you to determine if it works.

    Sorry but I really don’t understand what that answer meant. What do I need to change to get the redirect to work?

    Plugin Author John Godley


    Is the redirect failing if you visit it?

    ‘not using redirection’ just means that Redirection is not performing the redirect. Something else may be doing it instead. If it is redirecting then nothing is broken.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.