I have a very basic website that I am configuring prior to implementing any html or css to WordPress. I am using WordPress as a CMS and a Blog and I am concerned with how the permalinks are being generated and wondering if anyone has this issue.
- I have my permalinks custom structure setup as "blog/%postname%/"
- I also have my Category base setup as "blog/type"
- I have a page and custom template assigned with the homepage and a page named "blog" set as my posts page under Settings->Reading
Essentially my URL structure functions as so:
Page URLS: http://www.example.com/pagename/
Post URLS: http://www.example.com/blog/postname/
Cat. URLS: http://www.example.com/blog/type/category/
Arch URLS: http://www.example.com/blog/year/date/
When I attempt to navigate to a a page I've created "test" which is http://www.example.com/test/, it works fine. When I try to navigate to http://www.example.com/blog/test/ while debugging my WordPress structure it 302 redirects to the test page instead of a 404 page.
http://www.example.com/blog/test/ 302 Moved Temporarily instead of
http://www.example.com/blog/test/ 404
I am concerned that any page I create in WordPress, will also be able to be navigated and 302 redirected.
Why is this 302 redirected rather than responding to a 404 response header?
Do I have to manually go into my .htaccess and 301 redirect this url to stop this? Seems pretty inconvenient. I don't want to sign up for redirecting every page I create manually in my .htaccess file.
I am also not looking for any plugin for an answer to this problem.
Anyone else get this problem?