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

categories and slug support #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

len-ro
Copy link

@len-ro len-ro commented Oct 30, 2022

hello,

While migrating my wordpress site to hugo my first try was to use this script. However the tags and categories were mixed. I added support to see if a wp category is a post_tag or category. I also used the first category as a slug in order to be able to restore my previous permalinks ( /category/post_name)

Thanks.

@palaniraja
Copy link
Owner

Thank you for the contribution, I am not sure if this is something everyone wants since it is not behind a command line option/flag, I'll update the readme to refer to this commit if anyone interested with similar expectation.

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

Successfully merging this pull request may close these issues.

2 participants