php script to change slug in post automatically

Question

I’m currently using slug like: https://site. com/permalink-1, permalink-2, permalink-3 etc, so for example if I have a list with 20 slugs to change how I put them in the list in the script and then change for example from permalink-1 to 2 ie I would like to change only the final number so I would also need a code that when it changes makes me +1 to change the permalink from 1 to 2 and so on, I hope I was clear, thank you if anyone helps me 🙂

0
tony9031 1 month 0 Answers 10 views 0

Leave an answer