Posts Tagged ‘permalinks’

WordPress Custom post type and pagination problem – Error 404

Sunday, December 11, 2011 0:26 No Comments

1.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; [...]

This was posted under category: Wordpress Tags: , , , , , ,

WordPress running on IIS and ugly permalinks starting with index.php

Wednesday, November 3, 2010 12:27 No Comments

You may have experienced when running WordPress on IIS that the permalinks have that ugly index.php included. Pretty way: IIS way: By tweaking the .htaccess and using some rewrite rules this can be fixed. (ISAPI_Rewrite required)

This was posted under category: Web, Wordpress Tags: , , , , , , , ,