https://www.majesticvision.com/linking-wordpress-with-path/
Linking Wordpress with Path