Title: Changing URL structure
Last modified: August 30, 2016

---

# Changing URL structure

 *  Resolved [baristacoffees](https://wordpress.org/support/users/baristacoffees/)
 * (@baristacoffees)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/changing-url-structure-2/)
 * For some reason, I am having a problem with my URL structure. I want to display
   my e-commerce site with [http://www.baristacoffees.com/blog](http://www.baristacoffees.com/blog)
   or /shop and when going to any other pages I am getting [http://baristacoffees.com/barista-cofees-2/blog](http://baristacoffees.com/barista-cofees-2/blog)
   or /shop
 * What can I do to fix this?
 * This happens on every page, except for the front page.

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

 *  [derweili](https://wordpress.org/support/users/h3p315t05/)
 * (@h3p315t05)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/changing-url-structure-2/#post-6807850)
 * Your Permalink should be set to “postname”. You can check to in the wordpress
   backend under Settings > Permalinks
 * Maybe the current setting is “Custom -> /barista-cofees-2/%postname%/”
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/changing-url-structure-2/#post-6807924)
 * [@derweili](https://wordpress.org/support/users/derweili/) said:
 * > Maybe the current setting is “Custom -> /barista-cofees-2/%postname%/”
 * No.
 * [@baristacoffees](https://wordpress.org/support/users/baristacoffees/): the WordPress
   install is a folder called barista-coffees-2. To move the site to root, see [Giving WordPress Its Own Directory « Using a pre-existing subdirectory install](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install)
 *  Thread Starter [baristacoffees](https://wordpress.org/support/users/baristacoffees/)
 * (@baristacoffees)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/changing-url-structure-2/#post-6807964)
 * Ok, I changed the Permalink structure for the products that i have and they are
   turning our like this:
 * [http://www.baristacoffees.com/product/tour-of-the-world/](http://www.baristacoffees.com/product/tour-of-the-world/)
 * But, when I go back to the blog page:
 * [http://www.baristacoffees.com/barista-coffees-2/blog/](http://www.baristacoffees.com/barista-coffees-2/blog/)
 * What I did was change the permalink structure for products to:
 * Custom Base: /product
 * I also went back to confirm that the blog is still:
 * [http://www.baristacoffees.com/barista-coffees-2/blog](http://www.baristacoffees.com/barista-coffees-2/blog)
 * This is even after checking to see if if was still %postname%
 * Although posts are showing correctly:
 * [http://www.baristacoffees.com/image-of-page-42-of-civil-government-redent-bachelor-1917/](http://www.baristacoffees.com/image-of-page-42-of-civil-government-redent-bachelor-1917/)
 *  Thread Starter [baristacoffees](https://wordpress.org/support/users/baristacoffees/)
 * (@baristacoffees)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/changing-url-structure-2/#post-6807965)
 * By the way. This install is in the root directory. Very puzzled about this.
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/changing-url-structure-2/#post-6807966)
 * Are the URLs in Dashboard>>Settings>>General both the same?
 *  Thread Starter [baristacoffees](https://wordpress.org/support/users/baristacoffees/)
 * (@baristacoffees)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/changing-url-structure-2/#post-6808188)
 * Yes, both URL’s are the same. Never changed. So, what would cause the issue I
   am having?
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/changing-url-structure-2/#post-6808189)
 * So they are the same; but what are the URLs?
 *  Thread Starter [baristacoffees](https://wordpress.org/support/users/baristacoffees/)
 * (@baristacoffees)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/changing-url-structure-2/#post-6808215)
 * Here’s a list of the primary URL’s affected:
 * [http://www.baristacoffees.com/barista-coffees-2/blog/](http://www.baristacoffees.com/barista-coffees-2/blog/)
 * [http://www.baristacoffees.com/barista-coffees-2/contact-us/](http://www.baristacoffees.com/barista-coffees-2/contact-us/)
 * …..
 * Pages not affected:
 * All products pages are fine (They show up as /product/XXXXXX). The front page
   is also fine. Also, articles on the blog are fine (They show up as [http://www.baristacoffees.com/name_of_article](http://www.baristacoffees.com/name_of_article)).
 * So, what does it look like? Will I have to re-do the installation or is this 
   fixable?
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/changing-url-structure-2/#post-6808216)
 * What are the two URLs in Dashboard>>Settings>>General?
 *  Thread Starter [baristacoffees](https://wordpress.org/support/users/baristacoffees/)
 * (@baristacoffees)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/changing-url-structure-2/#post-6808226)
 * WordPress Address: [http://www.baristacoffees.com](http://www.baristacoffees.com)
   
   Site Address: [http://www.baristacoffees.com](http://www.baristacoffees.com)
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/changing-url-structure-2/#post-6808227)
 * #1 You have a plugin that allows you to give custom permalinks to pages
 * #2 You have pages set up that are children of other pages, i.e. a parent page
   called barista-coffees-2 and other pages that are children of it.
 *  Thread Starter [baristacoffees](https://wordpress.org/support/users/baristacoffees/)
 * (@baristacoffees)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/changing-url-structure-2/#post-6808242)
 * songdogtech, you are a lifesaver. I completely forgot about setting the pages
   to be child pages my homepage. Thank you for helping.

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

The topic ‘Changing URL structure’ is closed to new replies.

## Tags

 * [Coding](https://wordpress.org/support/topic-tag/coding/)
 * [url](https://wordpress.org/support/topic-tag/url/)
 * [url structure](https://wordpress.org/support/topic-tag/url-structure/)
 * [website](https://wordpress.org/support/topic-tag/website/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 3 participants
 * Last reply from: [baristacoffees](https://wordpress.org/support/users/baristacoffees/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/changing-url-structure-2/#post-6808242)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
