Articles of permalinks

Suddenly new posts have the default permalink instead of the post name

One of my clients’ sites has suddenly and for no apparent reason decided to disregard the custom permalink structure when you add a new post. The permalink structure is set to /%postname%/ So whereas the normal behavior when you create a new post called “New Post” and save it would be to generate a permalink […]

Permalink Settings

I have a .htaccess problem what buggs me out for couple of hours already. I have updated the file as it should be: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . / [L] </IfModule> # END WordPress and Im working on localhost. […]

How to link the title adding a permalink?

How do I change this code to link each title to the post? Specifically – this line: $dl .= ‘<dt>’ . $query->post->post_title . ‘</dt>’; Thanks, <?php $args = array( ‘post_type’ => ‘my_glossary_term’, ‘orderby’ => ‘title’, ‘order’ => ‘ASC’, ‘posts_per_page’ => -1 ); $query = new WP_Query( $args ); $dl = ”; $glossary_letter = ”; $active_letters […]

How to customize custom taxonomy url?

I have a Custom Post type “Data” with a custom Taxonomy “data-category”. Currently my site url when I visit a ‘data-category’ shows like this : Here Home-Loan is a child of Personal Loan data-category. I need my url to show like this : Yes I need to get rid of ‘data-category’ from my […]

Can WP give a value a post ID?

So I have queried out some data from another DB and obviously they’re not a post which means I can’t use the standard permalink to link them to an existing page with it’s post type. So I thought that if WP could just generate an let’s say “artificial” post ID to link to a certain […]

Remove parent page from url

I would like to remove the parent page name from the permalink. At the moment, I have and I would like to have something like that

Some Pemalink problems, probably caused by wrong .htaccess configuration?

I have import on my local webserver a backup of a website made using WordPress but I am finding some difficulties with PermaLink configuration The main problem is that if I use the permalink setted as Article Name I can see the homepage but if I click on the articles links into the homepage (to […]

Can variables be used to rewrite a Custom Post Type permalink?

This question already has an answer here: Permalinks: custom post type -> custom taxonomy -> post 1 answer

How to have permalink like

I’m trying without success to have a URL structure like, but I just get 404 for all non-CPT pages. function add_video_post_type() { $labels = array( ‘name’ => _x( ‘Videos’, ‘Post Type General Name’, ‘kibble’ ), ‘singular_name’ => _x( ‘Video’, ‘Post Type Singular Name’, ‘kibble’ ), ‘menu_name’ => __( ‘Videos’, ‘kibble’ ), ‘parent_item_colon’ => __( […]

Changed sub-site to its own domain trigger 302 redirects for all page links

Below, I’m calling the development site (containing the WPMS install) and the domain that will point to a Norwegian sub-site of, I call A Norwegian sub-site is ready to be launched, and the client is ready to point to the WordPress installation. I’m manually pointing to the correct IP address […]