Posts Tagged ‘permalinks’
WordPress Custom post type and pagination problem – Error 404
Sunday, December 11, 2011 0:26 No Comments1.5hour of pure frustration. After registering a custom post type, slug “news”, and creating a page “news” to display the latest posts the pagination just wouldn’t work. I was always getting a 404 error. Setting the permalinks to default and back to the old setting solved the problem. $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; [...]
WordPress running on IIS and ugly permalinks starting with index.php
Wednesday, November 3, 2010 12:27 No CommentsYou may have experienced when running WordPress on IIS that the permalinks have that ugly index.php included. Pretty way: www.mysite.com/2010/11/mypost IIS way: www.mysite.com/index.php/2010/11/mypost By tweaking the .htaccess and using some rewrite rules this can be fixed. (ISAPI_Rewrite required)