[wp-trac] [WordPress Trac] #15943: Custom Post Type not being set on WPMS with Custom Permalinks

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 22 19:50:53 UTC 2010


#15943: Custom Post Type not being set on WPMS with Custom Permalinks
--------------------------+-----------------------------
 Reporter:  sterlo        |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Future Release
Component:  Multisite     |     Version:  3.0.3
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------

Comment (by sterlo):

 Well this is fun...

 Doing that got me thinking...

  1. Remove the .htaccess file
  2. Refresh /acme_product/test-product/
  [[BR]]Result: "Not Found"
  3. Add exact .htaccess file back
  [[BR]]Result: post_type not set and is_404 = 1
  4. Set permalinks to '/%category%/%postname%/' and hit save
  [[BR]]Result: post_type is now set and is_404 = 0
  5. Set permalinks back to 'default' then set back to
 '/%category%/%postname%/' then refresh /acme_product/test-product/
  [[BR]]Result: post_type not set and is_404 = 1
  6. ???
  7. Profit!!!!

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15943#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list