Tag Info

New answers tagged

0

It looks like you don't have an .htaccess file or it's not correct or mod_rewirte is not enabled on your server.


0

Maybe echoing the last query will help debug the problem. Paste this on your 404 page: global $wpdb; echo "<pre>"; var_dump($wpdb->last_query); die();


0

This seems to be a temporary issue specificially with your theme. This might be caused by any plugin you are using. I will suggest you to deactivate all plugins for a moment and see if the problem is solved. If yes, you can activate one plugin at a time to find which plugin is creating issue then either remove it or replace it with better alternative. In my ...


2

You should wrap your enqueue/register function in your conditional, not your add_action() You can try something like this using the is_404() conditional check function enqueue_404_script() { if(is_404()) { //do what you need to do } } add_action( 'wp_enqueue_scripts', 'enqueue_404_script' );



Top 50 recent answers are included