Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom url structure without path label #35

Closed
Catlon opened this issue Sep 14, 2016 · 1 comment
Closed

Custom url structure without path label #35

Catlon opened this issue Sep 14, 2016 · 1 comment

Comments

@Catlon
Copy link

Catlon commented Sep 14, 2016

Hi,

i'm trying to display category names in the post URL structure, without displaying the path label.

Here is the standard URL structure for a category archive:
http://domain.extension/blog/category/category-slug/post-name

Here is what I would like:
http://domain.extension/blog/category-slug/post-name

Any help would be great.

Thanks,
C.

@magefan
Copy link
Owner

magefan commented Sep 15, 2016

You cannot use category url key as part of post url. But using Permalink Settings in blog configurations you can set
http://domain.extension/blog/category-name/ - as category url
and
http://domain.extension/blog/post-name/ - as post url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants