Categories not working – 404 Not found error
In Permalink Settings I would try changing Category base to “category” and see if thelazy.info/category/behavior/ works or not.
In Permalink Settings I would try changing Category base to “category” and see if thelazy.info/category/behavior/ works or not.
This resolved my 404 error. I essentially went into IIS and directed the 404s to a custom URL “/index.php?error=404“ Article that explained how to resolve the error
Turns out WordPress doesn’t deal well with post IDs > 2^31. http://core.trac.wordpress.org/ticket/16445 Tumblr in particular has post IDs greater than this, so it’s not recommended to keep old post IDs from Tumblr on an import.
Actually, this is a common problem. When you add a custom post type, you’re also registering a new rewrite rule with WordPress. However you must flush your rewrite rules after registering things in order to get WordPress to recognize them. With a plugin, this is fixed by hooking your CPT registration to both init (so … Read more
This is challenging, because showing something would require page not to be private. It is more common to leave page public, but make it produce conditional output depending on if user is logged (is_user_logged_in()) in or other criteria.
Do not use variable name “name” for html textbox control, use something else. This behavior is due to internal handling of WordPress with “name” variable found in query string of posted data.
Found the problem. There was an unexpected .htaccess file in wp-admin folder with deny from all! not sure how that got there… Thanks everyone for your help.
You need to define the HTTP Response code in wp_die function. wp_die( __(‘No feed available,please visit our <a href=”‘. get_bloginfo(‘url’) .'”>homepage</a>!’), ”, 404 );
Found the answer!!! Put this in functions.php (or a required file). Of course, change it to suit your needs. I needed something that only worked for product category archives. function modify_product_cat_query( $query ) { if (!is_admin() && $query->is_tax(“product_cat”)){ $query->set(‘posts_per_page’, 2); } } add_action( ‘pre_get_posts’, ‘modify_product_cat_query’ ); I also took out the posts_per_page parameter from my … Read more
What form are your pretty permalinks taking, and what is the title of that page? I’ve had something similar happen and it had to do with the page title. Try flushing your permalinks (go to Settings > Permalinks and switch to a different default, save, then switch back again to what you were using). Though … Read more