I’ve now tried a fresh installation of WordPress 3.8.2.
Without importing my data, I added the above code to my functions.php file. The custom post type and taxonomy are created in the UI, so I added some example courses and linked them to subjects. I set my .htaccess to 777.
Again, default permalinks show the page with $_GET style links, but if I change the permalinks to pretty, I get a “NOT FOUND” page, for all of the following urls:
https://localhost/fresh/courses/counselling/
https://localhost/fresh/courses/
https://localhost/fresh/course/
I’ve even tried changing the settings in the $rewrite arrays for the CPT and taxonomy, setting ‘with_front’ => false,
I still cannot get permalinks working.
I’m not sure what to try next.
I hope that I am missing something obvious and that you can help me.
All the best,
– Rik