Adding Category in URL in some post

This plugin should allow you to to set a permalink structure of domain/target_category/post, while leaving the permalink structure for the rest of your links as domain/post. If you only want to change a few posts/pages and not the others within a category, I would just edit those and change the permalink manually.

Permalinks migration issue

After days of tweaking and trying out a new thing, I found a WordPress plugin, which auto redirected all my links to the ones similar to the value set in Dashboard > Settings > Permalinks. The second solution is to connect your website to Jetpack, and it also solves this problem. If you do not … Read more

Is it posible to translate a url prefix?

I would use the following to check for each language and then output the translated permalink structure. For instance: if(ICL_LANGUAGE_CODE==en){ //translate your english the_prefix here } if(ICL_LANGUAGE_CODE==de){ //translate your german the_prefix here } I’m not sure about this, but I would think that you should be able to use the icl_register_string() and icl_t() functions to … Read more

Permalink remain the same on each page

Firstly, you should never use query_posts to construct custom queries. This is not just my emphasis, but the codex as well. The one big problem with query_posts is, it many circumstances, pagination fails Note: This function isn’t meant to be used by plugins or themes. As explained later, there are better, more performant options to … Read more