Solved

Wordpress Post URL path

Posted on 2015-02-20
4
230 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 17

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 17

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

730 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