[wp-trac] [WordPress Trac] #10363: Permalinks with a Static Directory Fail if the Static Directory is Accesed Directly
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 9 03:51:07 UTC 2009
#10363: Permalinks with a Static Directory Fail if the Static Directory is Accesed
Directly
--------------------------+-------------------------------------------------
Reporter: e39m5 | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Permalinks | Version: 2.8
Severity: major | Keywords:
--------------------------+-------------------------------------------------
This is fairly straight forward.
My permalink structure is this:
"/blog/%year%/%monthnum%/%postname%/"
If I access myblog.com/blog, a 404 is thrown. I was forced to add a line
to the htaccess file that redirects myblog.com/blog to myblog.com. I
believe this request should be handled by the software though.
There are two options here, both should be given to the administrator.
The first is to REDIRECT to the root directory, the second is to simply
SERVE the root directory.
So, say my permalink structure is this:
"/blog/%year%/%monthnum%/%postname%/"
If "/blog" is accessed and REDIRECT is set, the user will be redirected to
the root.
If "/blog" is accessed and SERVE is set, the user will be served the blog
at their current location.
I can't think of any reason why someone would choose SERVE because it
kills SEO, but you never know.
I can't imagine I'm the only one that wants my page in the root directory
while my posts appear in the /blog directory. This is definitely a bug.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10363>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list