Hello! I made a new register page for students for a class to register to the class-wordpress-blog.
After the register with their data I automatically add a new Page to the blog - a user Profile Page with their Text and their Picture.
I am using permalinks so the profile page is stored as
This all works perfectly just as i want it to, except one small detail.
The permalinks will only be updated after I log-in as an Administrator and press the update permalink structure button..
So the question is - how to I update the permalink structure right away after a student register over my self-build form page?
thanks for helping out here!