[wp-trac] [WordPress Trac] #13712: When Pretty Permalinks Enabled Custom Post Types 404 Not Found
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 16 12:23:17 UTC 2010
#13712: When Pretty Permalinks Enabled Custom Post Types 404 Not Found
--------------------------+-------------------------------------------------
Reporter: jackreichert | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Permalinks | Version: 3.0
Severity: normal | Keywords: reporter-feedback
--------------------------+-------------------------------------------------
Comment(by dd32):
According to that dump there, No custom post types were registered at the
time of the rules being generated.
You should see a section at the start of:
{{{
'events/.+?/attachment/([^/]+)/?$' => string
'index.php?attachment=$matches[1]' (length=32)
'events/.+?/attachment/([^/]+)/trackback/?$' => string
'index.php?attachment=$matches[1]&tb=1' (length=37)
'events/.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' =>
string 'index.php?attachment=$matches[1]&feed=$matches[2]' (length=49)
'events/.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => string
'index.php?attachment=$matches[1]&feed=$matches[2]' (length=49)
'events/.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$' => string
'index.php?attachment=$matches[1]&cpage=$matches[2]' (length=50)
'events/(.+?)/trackback/?$' => string
'index.php?events=$matches[1]&tb=1' (length=33)
'events/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$' => string
'index.php?events=$matches[1]&feed=$matches[2]' (length=45)
'events/(.+?)/(feed|rdf|rss|rss2|atom)/?$' => string
'index.php?events=$matches[1]&feed=$matches[2]' (length=45)
'events/(.+?)/page/?([0-9]{1,})/?$' => string
'index.php?events=$matches[1]&paged=$matches[2]' (length=46)
'events/(.+?)/comment-page-([0-9]{1,})/?$' => string
'index.php?events=$matches[1]&cpage=$matches[2]' (length=46)
'events/(.+?)(/[0-9]+)?/?$' => string
'index.php?events=$matches[1]&page=$matches[2]' (length=45)
}}}
Can you disable whatever you're using to get the /premium/.../ links and
try again? perhaps thats breaking the rule generation somehow..
To confirm, The code you posted higher up, is in the direct plugin file,
you're not using multisite, and that it doesnt work with the default theme
and all other plugins disabled?
Also, Are you using any database caching layers? Or any object cache
files? (Look under Plugins -> Dropins )
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13712#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list