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

Auto regenerate permalinks for new post? #20

Open
gianghl1983 opened this issue Dec 20, 2018 · 7 comments
Open

Auto regenerate permalinks for new post? #20

gianghl1983 opened this issue Dec 20, 2018 · 7 comments

Comments

@gianghl1983
Copy link

Hi,

How could all new post be updated with customized permalink instead of having to run bulk regenerate permalinks every day?

Do we have any hook to run a cron-job?

Thank you!

@samiahmedsiddiqui
Copy link
Collaborator

@gianghl1983 What do you mean by that? For the new post, permalink should be created by itself using the defined Settings in the plugin.

  1. What is the issue you are facing?
  2. How long you facing this issue?
  3. Which version of WordPress you are using?
  4. Which version of Permalink you are using?

Regards,
Sami

@gianghl1983
Copy link
Author

@samiahmedsiddiqui Thank you for your reply!

  1. My problem is new post still use old permalink : https://raovat24s.vn/bo-tim-mach-qunol-coq10-100mg-40-vien-tu-my

These link only applied new customized structure set in settings after I have to bulk Regenerate Permalinks: https://raovat24s.vn/thanh-hoa/ngoc-dung-noi-that-lua-chon-tha-ga-o-thanh-hoa

My custom structure is: https://raovat24s.vn/<%ctax_tinh_thanh%>/%title%

thanh-hoa is a value of my custom taxonomy tinh_thanh

At this moment I always have to bulk regenerate post everyday :D!

  1. I faced since install the plugin
  2. My WP version is 4.9.9
  3. Permalink Customizer version is lastest 2.5.1

Thank you for your time! 🗡

@gianghl1983
Copy link
Author

@samiahmedsiddiqui I found my problem. I am using a Front End Post Submit, after post submited by that front end form the post permalink ignore Permalink Customizer settings...

Then, is there any way to run a cron job, or a hook to regenarate post permalink?

Thank you!

@samiahmedsiddiqui
Copy link
Collaborator

samiahmedsiddiqui commented Dec 24, 2018

@gianghl1983 Thanks for your reply and finding the issue.

I am using a Front End Post Submit, after post submited by that front end form the post permalink ignore Permalink Customizer settings...

How you are submitting the Post from Front End. I mean are you using some plugin for that or having custom code?

Regards,
Sami

@gianghl1983
Copy link
Author

@samiahmedsiddiqui I am using this plugin: https://codecanyon.net/item/acf-form-builder-multipurpose-frontend-form-submission/19611604

It creates ACF form submit on front end.

I contact with their author but they could not help. My only solution I can think of is to run a cron-job (bulk regerate permalink, but I dont know the hook, lol!

Thank you!

@samiahmedsiddiqui
Copy link
Collaborator

@gianghl1983 Ok, i will check and provide you the updates.

Thanks for your cooperation.

@gianghl1983
Copy link
Author

@samiahmedsiddiqui Thank you, please contact me via [email protected] if you need a plugin for test (Frontend Post Submit,)

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

No branches or pull requests

2 participants