Support » Plugins » Hacks » 301 on header for custom permalinks

  • 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.

  • The topic ‘301 on header for custom permalinks’ is closed to new replies.