Title: Duplicate Content / Link Structure
Last modified: August 19, 2016

---

# Duplicate Content / Link Structure

 *  [pixelhub](https://wordpress.org/support/users/pixelhub/)
 * (@pixelhub)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/duplicate-content-link-structure/)
 * Hi i have a question about the duplicate content / link structure within wordpress
 * Hi i have the link structure
 * %category%/%post%.html
 * If i create a category (bits) a sub category (bobs) and add a post to that sub
   category (widgets.html) the url looks like this
 * Example.com/bits/bobs/widgets.html
 * Which is what you would expect. However if you type in any of the following in
   to the address bar you are served with the content of Example.com/bits/bobs/widgets.
   html even though the url is different.
 * Example.com /bobs/widgets.html
    Example.com / bits/ widgets.html
 * Each one have the server response code 200 which is not what you would expect
   as only one truly exists the other 2 should be 404s.
    Why does wordpress do this
   an how can i prevent it.
 * I have added the canonical link/tag to the top of every page so search engines
   know what the url should be, but its not the best solution.
 * Cheers

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/duplicate-content-link-structure/#post-1230588)
 * `%category%/%post%.html`
    not correct
 * `/%category%/%postname%.html`
    correct
 * > %category%
   >  Starting Permalinks with %category% is strongly not recommended
   > for performance reasons.
 * [http://codex.wordpress.org/Using_Permalinks#Choosing_your_permalink_structure](http://codex.wordpress.org/Using_Permalinks#Choosing_your_permalink_structure)
 *  Thread Starter [pixelhub](https://wordpress.org/support/users/pixelhub/)
 * (@pixelhub)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/duplicate-content-link-structure/#post-1230605)
 * Thanks for the reply but it was just a typo in my question (I can’t edit the 
   post). I actually have the correct link structure.
 * /%category%/%post%.html
 *  Thread Starter [pixelhub](https://wordpress.org/support/users/pixelhub/)
 * (@pixelhub)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/duplicate-content-link-structure/#post-1230622)
 * lol..
 * I made a typo correcting the typo.
 * I actually have the correct link structure
 * **/%category%/%postname%.html**
 * not what i wrote in the question above. The quetion should read
 * >  Hi i have a question about the duplicate content / link structure within wordpress
   > Hi i have the link structure
   > /%category%/%postname%.html
   > If i create a category (bits) a sub category (bobs) and add a post to that 
   > sub category (widgets.html) the url looks like this
   > Example.com/bits/bobs/widgets.html
   > Which is what you would expect. However if you type in any of the following
   > in to the address bar you are served with the content of Example.com/bits/bobs/
   > widgets.html even though the url is different.
   > Example.com/bobs/widgets.html
   >  Example.com/bits/widgets.html
   > Each one have the server response code 200 which is not what you would expect
   > as only one truly exists the other 2 should be 404s.
   > Why does wordpress do this an how can i prevent it.
   > I have added the canonical link/tag to the top of every page so search engines
   > know what the url should be, but its not the best solution.
   > Cheers

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

The topic ‘Duplicate Content / Link Structure’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [pixelhub](https://wordpress.org/support/users/pixelhub/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/duplicate-content-link-structure/#post-1230622)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
