Solved

Wordpress Post URL path

Posted on 2015-02-20
4
215 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
  • 2
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
Lucas Bishop earned 500 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 16

Assisted Solution

by:Lucas Bishop
Lucas Bishop earned 500 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The viewer will learn how to count occurrences of each item in an array.

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now