WordPress keeps deleting .htaccess file
You can give the read-only rights to .htaccess to prevent it from the modifications or removal. $cd <your website directory> $chmod 400 .htaccess
You can give the read-only rights to .htaccess to prevent it from the modifications or removal. $cd <your website directory> $chmod 400 .htaccess
WordPress listens to both $_GET and $_POST when parsing a request. If your form input names are conflicting with native query parameters, you’ll send WordPress on a wild goose chase (and most likely end up with a 404). For your leisure, I’ve kindly listed them here – if any one of your form inputs uses … Read more
Archive pagination causing 404 with permalinks structure
This could be a plugin compatibility problem. Have you tried to disable all plugins and see if that solves the problem? I found this which may also be of help: http://dre.im/if-pages-return-a-404-after-wordpress-3-1-upgrade/ Log in to wp-admin and go to permalinks, click save (this should refresh your permalinks). Check to see if this fixes your permalinks. If … Read more
After registering custom taxonomies for custom post types. Use register_taxonomy_for_object_type() right after the function to interconnect them. The reference link are Register Taxonomy, the usage part has an explanation regarding this. Register Taxonomy for object type Hope it helps!
You are sending a very confusing response: HTTP/1.1 301 Moved Permanently Date: Sat, 20 Oct 2012 12:33:06 GMT Server: Apache X-Powered-By: PHP/5.3.13 X-Pingback: http://tech.doig.com.au/xmlrpc.php Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 After that the regular page content follows. So in your first line you tell the browser to look elsewhere for the content. But … Read more
In Admin Panel go to Settings -> Permalinks -> at the lower left click on save changes to refresh all permalinks including your custom post type.
As I mentioned in my comment, the date rewrite rule is picking up your post permalink and trying to load a year archive instead of your single post. Since it appears you don’t use date URLs on your site, you can change the date structure so it no longer clashes. Add this to your theme’s … Read more
Have you tried this? I had gotten the same problem before. I did these steps, and it works for me. I use this code in my functions.php // New method of WordPress Query since 3.4.1 if ( ! function_exists( ‘ucc_add_cpts_to_pre_get_posts’ ) ) { function ucc_add_cpts_to_pre_get_posts( $query ) { if ( $query->is_main_query() && ! is_post_type_archive() && … Read more
Your paths should be: /wp-content/themes/gt3-wp-pure/page-templates/ … instead of: public_html/wp-content/themes/gt3-wp-pure/page-templates/