Articles of permalinks

Visiting posts results in 404 errors after host migration

I have migrated my WordPress blog from one host to another by way of transferring the files and exporting/importing my database, updating URL references where needed. On my new host, I can successfully view the front-page of my blog however visiting posts results in “404 – Page not found” errors, seemingly regardless of my permalink […]

Permalinks not working

I know, asked and answered a million times. For the life of me I can’t find my error. Trying to set up Permalinks to use post name, /%postname%/ Trying to visit anywhere else other than the homepage yields a 404 error. Default permalink setting works fine. any help would be greatly appreciated. .htaccess in web […]

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