Changing URL scheme, mod_rewrite not helping
Changing URL scheme, mod_rewrite not helping
Changing URL scheme, mod_rewrite not helping
change content based on url per plugin
To use all tags in a post permalink, try a variation of my similar answer for How to use first tag in permalinks add_rewrite_tag( $tag, $regex ) adds a new placeholder you can use in Settings/Permalinks. The filter on post_link translates the placeholder into something useful, here a list of all tag slugs, separated by … Read more
Is your Blog page the one that’s set in the back end at Settings > Reading > Posts page? If so, try checking for that in your first function: /* Add .htm extension to Page URL Links */ add_action(‘init’, ‘htm_page_permalink’, -1); function htm_page_permalink() { global $post; if( get_option( ‘page_for_posts’ ) == $post->ID ) { // … Read more
Probably because /icons is a default path in the Apache server. AFAIK it can’t be changed/overriden in .htaccess, because it is defined as Alias in the Apache configuration. See, for example, this question on Stack Overflow: how to override index of /icons?
Editing does not change post_name
I believe that is the redirect_canonical function hooked to template_redirect. You should be able to disable it with: remove_filter(‘template_redirect’, ‘redirect_canonical’); But you should really think about whether you want to do that as it is fairly complicated and performs some important SEO functions: Redirects incoming links to the proper URL based on the site url. … Read more
Adding custom taxonomy in my existing category URL
I was having this same issue. I found that the issue was caused because I had set the front page to display a static page for the front page and another for the posts page. (Set in Reading Settings) However, my posts page had been deleted. In this case because we decided not to have … Read more
Relative v.s. absolute URLs: which ones should I use for cross-domain portability?