WP in subfolder, hidden with htaccess, but links reveal subfolder – Can it not?
-
I am not sure if this can be fixed or not…
I have my wordpress install in public_html/wordpress/______ and I have set up the htaccess files to redirect domain.org to domain.org/wordpress/_____
I am wanting to be able to link to a file that has been uploaded to domain.org/wordpress/wp-content/uploads/pdf_files/file.pdf, and have entered ./wp-content/uploads/pdf_files/file.pdf as the URL, however, it ultimately tries to go to https://domain.org/wp-content/uploads/pdf_files/file.pdf which is obviously a path that is not found.
I suspect I will have similar issues where the images used will reveal the true path to the files.
It’s not the end of the world, but certainly makes typing in-line links like that to files a bit more of a hassle to remember to have to include the subfolder, and does not obscure links as well as I hoped.
Can that be changed / fixed?
Thanks!
- The topic ‘WP in subfolder, hidden with htaccess, but links reveal subfolder – Can it not?’ is closed to new replies.