Tag Info

New answers tagged

0

In WordPress website, if you enter number like ABC.com/blog/1232132 then it will redirect to the same page because this number are not come under any category of the permalink. So that when you enter this kind of URL then it will redirect to its current page.


0

In Admin Panel go to Settings -> Permalinks -> at the lower left click on save changes to refresh all permalinks including your custom post type.


0

I'd better post a comment, but I cannot for now. Your code works perfectly, but if you do not want to break the per category RSS feeds it should look like this: add_action( 'init', 'wpa58471_category_base' ); function wpa58471_category_base() { // Remember to flush the rules once manually after you added this code! add_rewrite_rule( // The regex to ...


0

This one worked for me. Put this code in function file global $wp_rewrite; $wp_rewrite->flush_rules();


0

I added a rewrite rule manually. add_rewrite_rule('^bar([^/]+)(/[0-9]+)?/?$','index.php?bar=$matches[1]','top'); right after add_action('init', 'register_taxonomy_bar'); in functions.php. But Wordpress is SERIOUSLY DENSE in translating /bar/foo/ to barfoo?bar=foo and I don't know how to get around this nonsensical "barfoo" in the path. I also have ...


0

It seems to be redirected to "http://www.zeekray.com/en/" . But you don't have a folder like "/en", as far as I can see here http://www.zeekray.com , where the folders are shown.


1

There is 404.php in the theme uploaded. But when there is search for non-existent page. The 404.php does not show up. When there is search for non-existent page doesn't produce the 404 page, but simply shows the search.php's else portion. A simple search.php is like: <?php if( have_posts() ) : ?> <?php while( have_posts() : the_post(); ...



Top 50 recent answers are included