Page not found yet the posts are listed?

It’s not correct solving of issue and it’s not a bug. Here is explanation why it happens: “Pagination is calculated before you get to the template file that runs query_posts. The proper way to alter posts_per_page conditionally is to use the pre_get_posts hook to modify the main query.” https://wordpress.stackexchange.com/a/42063/17177 I found one implementation “pre_get_posts” that … Read more

Getting 404 error on homepage only

It looks like you’re using Nginx which is very likely your issue. Nginx has a great writeup on what you need to do to with WordPress: http://wiki.nginx.org/Wordpress Other useful resources: https://stackoverflow.com/questions/3695387/nginx-404-not-found-page-for-permalinks https://stackoverflow.com/questions/3255446/wordpress-3-0-nginx-permalink-404-problem http://wordpress.org/extend/plugins/nginx-compatibility/other_notes/ Let me know if this works! Cheers~

WP-e-commerce (getshopped) – Annoying permalink issue [closed]

Apologies, I find this a little bit a non-issue as it states clearly everywhere that WPML works 100% when you use a permalinks structure of day and name (http://domain.com/2012/02/07/sample-post/). If this is something you cannot accept, then you’s better come to terms with the fact that WPML most likely is not going to work 100% … Read more

Page not found when trying to link to files in child theme directory

Shouldn’t you be enqueuing that in functions.php instead? function script_enqueueing() { wp_enqueue_script( ‘scripts’, get_stylesheet_directory_uri() . ‘/js/scripts.js’, array(‘jquery’) ); } add_action(‘wp_enqueue_scripts’, ‘script_enqueueing’); Edit to add: if calling directly in header.php, use get_template_directory_uri(); instead.

404 when Previewing an unsaved draft

Open the wp-config file and replace the line that reads define(‘WP_DEBUG’, false); with: if ( isset($_GET[‘debug’]) && $_GET[‘debug’] == ‘1’ ) { define(‘WP_DEBUG’, true); } elseif ( isset($_GET[‘debug’]) && $_GET[‘debug’] == ‘2’ ) { define(‘WP_DEBUG’, true); define(‘WP_DEBUG_DISPLAY’, true); } elseif ( isset($_GET[‘debug’]) && $_GET[‘debug’] == ‘3’ ) { define(‘WP_DEBUG’, true); define(‘WP_DEBUG_LOG’, true); } After adding … Read more

Failed to load resource:404 image

You have a rule in your .htaccess that prevents access to your images for anyone sending your domain as referer. Disable the referer on your site, and all images will show up. Remove that rule. To get this on topic: Whenever you have any problem where you don’t know how to debug it –disable all … Read more