Title: Duplicate category pages
Last modified: August 21, 2016

---

# Duplicate category pages

 *  Resolved [benutzerfreund](https://wordpress.org/support/users/benutzerfreund/)
 * (@benutzerfreund)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/duplicate-category-pages/)
 * Is it correct that I get two URL for every category page (with the same content)?
 * E.g. I have these two:
    [http://www.benutzerfreun.de/allgemein/](http://www.benutzerfreun.de/allgemein/)
   [http://www.benutzerfreun.de/category/allgemein/](http://www.benutzerfreun.de/category/allgemein/)
 * I don’t want the last one, though.
    I use All In One SEO, but I get the same 
   behavior with a test install which uses Yoast’s SEO PlugIn.
 * I assume this is a basic setting, but I can’t find it… thanks for any hints.

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

 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/duplicate-category-pages/#post-4157613)
 * Have you tried deactivating your plugins? Particularly the SEO plugin(s).
 * I’m seeing a canonical url being specified in both pages:
 * `<link rel="canonical" href="http://www.benutzerfreun.de/category/allgemein/"/
   >`
 * and it looks like it’s being added by All in One SEO Pack:
 *     ```
       <!-- All in One SEO Pack 2.0.3.1 by Michael Torbert of Semper Fi Web Design[257,298] -->
       <link rel='next' href='http://www.benutzerfreun.de/category/allgemein/page/2/' />
   
       <link rel="canonical" href="http://www.benutzerfreun.de/category/allgemein/" />
       <!-- /all in one seo pack -->
       ```
   
 * Canonical URLs are used when you have multiple pages with the same content and
   don’t want to hurt Google rankings, etc. WordPress shouldn’t (that I’m aware 
   of) create the duplicate content so I’m guessing the SEO plugin is doing that
   for the sake of “pretty URLs.”
 * I’d start by deactivating that plugin and then checking if it has a setting for
   canonical URLs.
 * If that doesn’t work, try deactivating all plugins and/or switching to a default
   WordPress theme like twentytwelve or twentythirteen.
 *  Thread Starter [benutzerfreund](https://wordpress.org/support/users/benutzerfreund/)
 * (@benutzerfreund)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/duplicate-category-pages/#post-4157739)
 * Thanks for looking into this. Your tips helped me to get closer to the issue:
 * Its neither the plugins nor the theme. When I set the theme to twentythirteen
   and deactivate all plugins, I get the same result. (The canonical links disappear,
   though.)
 * So I suppose it has something to do with this: In Settings>Permalinks I checked“
   User-defined structure” and entered
    `/%category%/%postname%/`
 * What I want is that my posts appear in “folders” for the category to which they
   belong, like (for the example of the category “allgemein”):
    [http://www.benutzerfreun.de/allgemein/geld-verdienen-mit-videos-auf-vimeo/](http://www.benutzerfreun.de/allgemein/geld-verdienen-mit-videos-auf-vimeo/)
 * This works as it should, but apparently this creates the category archive page
   as well. Or am I mistaken?
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/duplicate-category-pages/#post-4157745)
 * In WordPress 3.6.1, I use:
 * `Custom Structure http://localhost/%category%/%postname%`
 * in Settings->Permalinks.
 * I only get one page. I get a 404 if I remove the category from the URL.
 *  Thread Starter [benutzerfreund](https://wordpress.org/support/users/benutzerfreund/)
 * (@benutzerfreund)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/duplicate-category-pages/#post-4157749)
 * This is odd. I tried
    `/%postname%`
 * Which works as expected – only one archive page, and all posts directly in the
   root.
 * But when I go back to
    `/%category%/%postname%`
 * everything is like before… strange. Any more idea?
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/duplicate-category-pages/#post-4157754)
 * What version of WordPress are you running? I want to make sure I’m using the 
   same version. (it sounds like from the Permalinks wording we may have different
   versions)
 *  Thread Starter [benutzerfreund](https://wordpress.org/support/users/benutzerfreund/)
 * (@benutzerfreund)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/duplicate-category-pages/#post-4157776)
 * I use 3.6.1. The wording might be different because I use the German language
   setting.
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/duplicate-category-pages/#post-4157783)
 * OK, thanks, I thought that might be, just wanted to make sure. If I come up with
   anything, I’ll let you know. I haven’t been able to duplicate it.
 *  Thread Starter [benutzerfreund](https://wordpress.org/support/users/benutzerfreund/)
 * (@benutzerfreund)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/duplicate-category-pages/#post-4157793)
 * Thanks for your help, I really appreciate this!
 * I did not find out why this is happening, but I found a workaround: The PlugIn
   Yoast WordPress SEO, which I am using anyway, has a setting in the section Permalinks
   where I can remove the “category” from the category URLs.
 * This is a solution that works for me.
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/duplicate-category-pages/#post-4157794)
 * Thanks for the update. Good to know!

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

The topic ‘Duplicate category pages’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 2 participants
 * Last reply from: [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/duplicate-category-pages/#post-4157794)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
