?
Solved

Wordpress Post URL path

Posted on 2015-02-20
4
Medium Priority
?
248 Views
Last Modified: 2015-02-23
I want to control my wordpress post url path.

I would like it to be as below...

http://www.mydomaincom/about-us/latest-news/article-slug

Under settings > reading I have set my post page to "Latest News"

and my  "Latest News" is a child of the "About Us" page.

My permalinks is set to: /%category%/%postname%/

Why is the article url showing as

http://www.mydomaincom/latest-news/article-slug

and not

http://www.mydomaincom/about-us/latest-news/article-slug

i.e. It's missing "about-us/" in the url path?
0
Comment
Question by:petewinter
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
Lucas Bishop earned 2000 total points
ID: 40621539
On the post, what category are you assigning to the post? Parent Category and Child Category? Make sure to only assign the  child category to the post.
0
 

Author Comment

by:petewinter
ID: 40625272
Thanks for the reply. Oh I see. I just need to create a parent category with the slug "about-us". It works however I already have a page with the slug "about-us". The page seems to overwrite the archive page. Is this what happens?
0
 
LVL 18

Assisted Solution

by:Lucas Bishop
Lucas Bishop earned 2000 total points
ID: 40626150
You're seeing a conflict between using the same name for both a category and page. I'm fairly certain a category & page cannot share a slug, unless you employ a hack of some sort.

You may want to slightly change the naming convention of either the page or category to be "about" or "aboutus" instead of "about us".
0
 

Author Closing Comment

by:petewinter
ID: 40626199
Thanks for your help
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question