By selecting the desired persistent connection structure:
Which is like this: http://localhost/%postname%/
Thanks to the following code of WordPress,
<? php add_action ('plugins_loaded', 'function_name'); ?>
I expect the above persistent connection settings to update itself automatically every time.