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
http://domain.ltd/a/nameofpage
WordPress Redirects the user to the link below and send a (301) along in the header.
http://domain.ltd/a/nameofpage/
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.