- Uploaded my new site to a subdirectory ("mySubdirectoryName" in this example) on my remote server
- Enabled Search Engine Friendly URLs
- Enabled URL Rewriting
- Renamed htaccess.txt to .htaccess
- Changed "RewriteBase /" to "RewriteBase /mySubdirectoryName" in the .htaccess file
As a result, some of the CSS and all of the Javascript are not being loaded. The navbar at desktop size looks wrong, the dropdowns are fully expanded on page load, and at mobile size, clicking the navbar toggler button does nothing, etc.
If I disable the .htaccess file, then none of these issues happen, but then of course my links are all broken. Or if I disable the .htaccess file, SEF URLs and URL Rewriting, then everything is perfect, except then I don't have SEF URLs. Any idea what's going on? How is .htaccess preventing my CSS and Javascript from loading?