Have looked for an answer for a while here but nothing works so far. Basically a site has been installed in a subdirectory of web root, but all the internal links point to the web root, as this is how it is set up on the live site. Is there an htaccess rule to redirect all internal links to the subdirectory, or another way of making the links work?
Share
Try adding these rules to the htaccess file in your document root (the web root):
If you want to redirect those request, change the square bracket flags to:
[L,R=301]