Éý¼¶µ½wp3.4ºóÐÞ¸´WP No Category Base²å¼þÎÞ·¨È¥µôcategoryµÄBug
Ç°Á½ÌìWordpress·¢²¼ÁË×îа汾µÄWordpress 3.4“Green”£¬Ðí¶à·½ÃæµÃµ½Á˸Ľø£¬¶Ôµ×²ã½øÐÐÁËÉÏ°Ù´¦Ð޸ģ¬×îÖÕÈ̲»×¡ÖÕÓÚÉý¼¶µ½ÁË3.4£¬´óÌå¿´ÁËÒ»ÏÂÖ÷Ìâ·ç¸ñ»ù±¾ÉÏ»¹Äܹ»¼ÌÐøʹÓ㬵±Ê±Ò²Ã»ÓÐϸϸ¼ì²éÆäËü¹¦ÄÜÓÐûÓÐÎÊÌâ¡£
½ñÌìÎÞÒâÖз¢ÏÖÔÚUrlÖÐÓÖ¶à³öÁËcategoryÕâ¸ö·ÖÀàǰ׺£¬ÎҼǵÃÎÒÓÐ×°WP No Category BaseÕâ¸ö²å¼þµÄ¡£µ½ºǫ́²é¿´ÁËÏ£¬È·Èϲå¼þûÓб»½ûÓã¬Ö»ÊDz»Æð×÷ÓÃÁË£¬ÕæÊÇÏ൱µÄÓôÃÆ£¬Õâ϶ÈÄïÓÖÒªÊÕ¼һЩÖظ´ÎÄÕÂÁË£¬¶øÇÒ֮ǰµÄÁ´½Ó»¹404´íÎóÁË¡£
ÒòΪÔÚ3.32ÉÏÕý³£¹¤×÷£¬×îÖÕ²»µÃÒÑ·³öwordprss 3.4Ô´Âë²é¿´¡£¹¦·ò²»¸ºÓÐÐÄÈË°¡£¬ÖÕÓÚÈÃÎÒÕÒµ½ÁËÎÊÌâµÄËùÔÚ¡£
ÔÚ×îаæWordpress 3.4µÄrewrite.phpÎļþÖУ¬·¢ÏÖÁËextra_permastructs['category']['struct']Õâ¸ö¶«Î÷¸Ä±äÁË£¬¶øÔÚ3.32ÖÐÊÇÕâÑùµÄextra_permastructs['category'][0]£¬¸Ä¹ýÀ´Ö®ºó£¬µ½Ç°Ì¨Ò»¿´£¬ÖÕÓÚÕý³£ÁË£¬Ð»ÌìлµØ°¡£¬ÏÂÃ濴ϾßÌåÐÞ¸´·½·¨¡£
´ò¿ªWP No Category Base²å¼þĿ¼ÏµÄno-category-base-wpml.phpÎļþ£¬ÔÚÀïÃæ²éÕÒ
$wp_rewrite->extra_permastructs['category'][0] = '%category%';
ÐÞ¸ÄΪ
$wp_rewrite->extra_permastructs['category']['struct'] = '%category%';
µ½´ËÍê³É¡£
±¾Ð޸ķ½·¨ÓÉϹ³¶°ÉÈí¼þhttp://xiacb.comÕ¾³¤·ÖÏí£¬×ªÔØÇë×¢Ã÷
ÍƼöÐÅÏ¢
- ¹¹½¨¸ß¿ÉÓú͵¯ÐÔÉìËõµÄKV´æ´¢ÏµÍ³
- ̸̸ÍøÕ¾¾²Ì¬»¯£¨¶þ£©
- ̸̸ÍøÕ¾¾²Ì¬»¯£¨Ò»£©
- Ðì¹úÏ飺΢²©ÊÇ·ñ»á²ÎÓëÍøÕ¾ÅÅÃû
- ApacheÔÚ±¾µØ½¨Á¢·ºÓòÃûÐéÄâÖ÷»ú¼ò·¨
- ÈçºÎ½øÐÐÍøÕ¾Õï¶Ï ΪÍøÕ¾½øÐÐÆÀ·Ö
- Ò»¸ö³É¹¦µÄÕ¾³¤Ó¦¸Ã¾ß±¸µÄËØÖÊ
- Ò»Ìõ΢²©Òý·¢µÄ·ÖÎö£ºÈçºÎÈÃ΢²©µÃµ½¹ã·º´«²¥
- ÈçºÎÈÃÒ»¸öÍøÕ¾ÓÐÇ¿´óÉúÃüÁ¦
- פ×ãIDCÃż÷³Ö±Ò¹ÛÍû Õ¾³¤Ñ¡¹º¿Õ¼ä³É¡°¼èÄѵľö¶¨¡±£¿
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
ÆÀÂÛ