Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Wordpress Post URL path

Posted on 2015-02-20
4
Medium Priority
?
263 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

604 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