Title: Duplicate Url generate
Last modified: August 25, 2020

---

# Duplicate Url generate

 *  [ammadali](https://wordpress.org/support/users/ammadali/)
 * (@ammadali)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/duplicate-url-generate/)
 * Hello,
    Wordpress generate duplicate urls, when i posts a story in any category
   so my site generate two urls. Example [https://example.com/entertainment/postname](https://example.com/entertainment/postname)
   [https://example.com/latest/postname](https://example.com/latest/postname)
 * and this (url [https://example.com/latest/postname](https://example.com/latest/postname))
   auto generate and indexed on search engines when i click this link url redirect
   to this [https://example.com/entertainment/postname](https://example.com/entertainment/postname)
 * sorry for bad English i hope my friends can understand.
    -  This topic was modified 5 years, 12 months ago by [ammadali](https://wordpress.org/support/users/ammadali/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/duplicate-url-generate/#post-13311563)
 * Check your wordpress permalink settings under
    Settings → Permalinks
 * It should be set to custom if you only want posts to have one url. Here is more
   about Permalink settings for you to look at: [https://wordpress.org/support/article/settings-permalinks-screen/](https://wordpress.org/support/article/settings-permalinks-screen/)
 * Hope this helps
 *  Thread Starter [ammadali](https://wordpress.org/support/users/ammadali/)
 * (@ammadali)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/duplicate-url-generate/#post-13311615)
 * I have already set custom url, my custom url is **example.com/%category%/%postname%/**
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/duplicate-url-generate/#post-13314299)
 * Right, so the url you have set will set a url for each category your post is 
   in….
    try setting it to example.com/%postname%/ that will use the same url for
   all categories.
 * The only other option that I am aware of would be to write a 301 redirect for
   each individual post which can get very tedious and become impossible to maintain
   depending how many categories you have posts in that also get posted under the“
   latest” category.
 * Hope this helps.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Duplicate Url generate’ is closed to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [duplicate](https://wordpress.org/support/topic-tag/duplicate/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/duplicate-url-generate/#post-13314299)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
