301 on header for custom permalinks (1 post)

  1. wkdnaps
    Posted 5 years ago #

    Does anyone know why the website keeps sending me a 301 redirect to the following rule that was added through one of my plugins.

    ["a/(.+?)/?$"]=> "index.php?gNameSearch=$matches[1]"

    The rule is been added to : $wp_rewrite and when you visit the website

    WordPress Redirects the user to the link below and send a (301) along in the header.

    Seems as though WP is demanding the "/" trailing slash always be there. Remember this is my own rule I have defined. Any suggestions would be greatly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic