Browsing Category

Wordpress permalinks

Post redirected to page with same name but DIFFERENT permalink

I have a page named park&read and a post named park&read. WP removes the &, so the post and the page share the slug parkread.

Permalink Inside the title

Is there a way to get permalink with this code? <?php the_title(' ', ' '); ?> Read more here: Permalink Inside the title

How to include sub directory in sitemap?

I’ve been using All in One SEO Pack and Polylang two plugins on my wordpress site. But the Polylang plugin for it needs to create

WordPress custom permalink exception

I have a simple problem with permalinks on wordpress site I am developing. I’ve got custom post type called ‘strategy’ and I wanted subpages inside,

Keep getting same permalink with WP_Query?

I have this code below, and I wish to show each link of each post, but I keep getting same link to all posts which

Multiple Permalink Patterns for one page

Disclaimer: I’ve had a look at quite a few similar questions and haven’t found any that answer my question. If you think otherwise, kindly reply.

Category url redirecting to single product page

I have set the /shop/%product_cat% in permalink so that my product url will be sitename/shop/category-name/product-name/. It works fine. Also i need Shop based category url

Post base to redirect to archive.php

I am using a custom post structure, which ads a slug /travel-advice/before the post name. E.g. http://example.com/travel-advice/article-one/ I would like WordPress to use archive.php whenever

Permalinks custom base to redirect to archive.php

I am using a custom post structure, which ads a slug /travel-advice/before the post name. E.g. http://example.com/travel-advice/article-one/ I would like WordPress to use archive.php whenever

Can i change the whole permalink for certain products?

I need a suggestion that if I can able to change certain product urls. My client was saying that he need to change certain products’

Output get_permalink differs when called from cron

I’m using the get_permalink function in my plugin, but when I call the function from a cron job, the output differs from when I call

Add ‘articles’ prefix before blog posts url without affecting pagination

I tried this solution for adding ‘articles’ prefix before blog posts on URL. function filter_post_link($permalink, $post) { if ($post->post_type != 'post') return $permalink; return 'articles'.$permalink;

get_permalink returning site home url instead of the url of slug being passed

I am fetching some testimonials data from db and based on the slugs, I am getting the links to use further. Here is my code

Should a Woocommerce product be in both its parent and subcategory?

Oddly, I couldn’t find this question on the first three pages of Google, nor on SE. I’m wondering if the proper method for Woocommerce is

What could cause WordPress to return the wrong permalink of a given ID?

I am running a multilingual website using WPML, and page IDs are getting redirected to the wrong language. The ID of my english page is

Permalink will not change – it wants to have -2 slug

The issue was described in 1 or 2 post already but my case goes little more, since none of the mentioned causes are not my

Back to Top 145132 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising