Direct Dynamic URL in root to a location within template
There isn’t much “dynamic” about actually creating folder tree and index files in it. What you have right now is completely tangential to your WordPress installation. In a nutshell, if you need to integrate this with WordPress, you have two approaches: Load WordPress core in your code. This can be done with including wp-load.php and … Read more