Multiple post categories – single permalink

Question

I created a post which is assigned to multiple categories.

Eg: I have a post “My Post”, and I put it in “foo” and “bar” categories.
Now my article will have two permalinks, “/foo/my-post” and “/bar/my-post“.
Google calls this a duplicate, which it considers to be spam, hence this is not what I want.

How can I use multiple categories but have the same permalink?
I want this only for SEO.

My current permalink structure is /%category%/%post_id%-%postname%.html

0
, , , , NETCreator Hosting 7 years 0 Answers 60 views 0

Leave an answer