Hi,
I have an AWS EC2 instance with OpenLiteSpeed WordPress installed in the default directory /var/www/html. I created a new folder inside this directory (/var/www/our-world) and installed a new WordPress setup there. I am running this second WordPress site with the domain binding https://www.example.com/our-world.
With this setup, my relative URLs are not working correctly. Instead of prepending the complete URL as https://www.example.com/our-world, it is only prepending the main domain https://www.example.com. For example, I have an anchor element with the relative path '/dummy'. I expect it to auto-prepend the site URL and result in a complete URL like: https://www.example.com/our-world/dummy. However, it is giving the complete URL as https://www.example.com/dummy.
I checked the WordPress settings, and both the WordPress URL and Site URL are set to https://www.example.com/our-world. I also tried modifying the rewrite rules in the .htaccess file without any luck.
Can anyone please suggest which configuration I might be missing? Any help is much appreciated.
Thanks!
I have an AWS EC2 instance with OpenLiteSpeed WordPress installed in the default directory /var/www/html. I created a new folder inside this directory (/var/www/our-world) and installed a new WordPress setup there. I am running this second WordPress site with the domain binding https://www.example.com/our-world.
With this setup, my relative URLs are not working correctly. Instead of prepending the complete URL as https://www.example.com/our-world, it is only prepending the main domain https://www.example.com. For example, I have an anchor element with the relative path '/dummy'. I expect it to auto-prepend the site URL and result in a complete URL like: https://www.example.com/our-world/dummy. However, it is giving the complete URL as https://www.example.com/dummy.
I checked the WordPress settings, and both the WordPress URL and Site URL are set to https://www.example.com/our-world. I also tried modifying the rewrite rules in the .htaccess file without any luck.
Can anyone please suggest which configuration I might be missing? Any help is much appreciated.
Thanks!