Custom taxonomy returns 404

You cannot have a rewrite slug of “https://wordpress.stackexchange.com/”. Note that using a slug of ”, which you will find floating around, will not work for the latest WordPress versions either. If you want a url like http://domain.com/custom-post, there are no bullet-proof solutions, but the answer to this question will give you some leads: Remove slug … Read more

Unable to get /%postname%/ permalinks working, 404 on all links

This is going to sound crazy, but the following worked… I put the content in the following directory: /var/www/myexamplesite.com/public_html (and created log/ as well) Along with the following entry in httpd.conf <VirtualHost *:80> ServerAlias www.myexamplesite.com myexamplesite.com DocumentRoot /var/www/myexamplesite.com/public_html ServerName www.myexamplesite.com # Log file locations LogLevel warn ErrorLog /var/www/myexamplesite.com/log/error.log CustomLog /var/www/myexamplesite.com/log/access.log combined <Directory /var/www/myexamplesite.com/public_html> <IfModule mod_rewrite.c> … Read more

Permalink help with default Posts and custom Taxonomy

This is what we ended up coming up with that seems to work. I’m not sure if it’s the best or right approach but it seems to do the trick. Anyone forsee any problems with this route? //Re-register default post type for rewrite purposes. function zbt_reregister_post() { register_post_type( ‘post’, array( ‘labels’ => array( ‘name_admin_bar’ => … Read more