Prevent 404 of Author pages without posts

Why should you get redirected to the 404 page if you display an author archive without posts? This isn’t the default behavior of WordPress. For example, if you go to the following URL: http://example.com/{permalink_base}/author/{author_name} WordPress calls the author.php template inside your theme folder. There you have a loop which will return all posts of the … Read more

Problem with special character WordPress

There is nothing you can do, the % symbol is not a neutral character and whatever 2 characters immediatly follow it are used to represent a character. This is called percent encoding. http://en.wikipedia.org/wiki/Percent-encoding For example, to encode a % you would use %25. Thus the answer is: No, it is not possible to fix this … Read more

Enhancin 404 to contain a search from URL

WordPress doesn’t deeplink to any php file for the front end. Instead, everything is passed throug the url as a query, like so http://your-blog-url.com?p=123. If you wanted to change that behaviour, you could edit your permalink structure in multiple ways. Just go to settings->permalinks (i have no idea what that is in czech, but its … Read more

Browsing to permalink prefix results in 404

if you’re trying to make the news serve as a homepage you should use the Site address (URL) in the WordPress general setting options. and of course you’ll getting an 404 error page since the news/ in your permalink serve as a directory which is refer to your server directory that not connected with the … Read more

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