NewBeeDev
Forum Replies Created
-
Thank you, so much, once again, leejosepho!
You were 100% correct. The fact that the URL for that image still referenced the subdirectory was due to the fact that it was added to the Media Library at a time when the “WordPress Address (URL)” (siteurl) still included that subdirectory.
To verify this, I “dropped’ all of the tables is my database and recreated the site from scratch. Then, with your ‘.htaccess’ settings still in place, and only after removing the subdirectory from both the “WordPress Address (URL)” (siteurl) and “Site Address (URL)” (home), did I edit the the “Hello world!” post to include the image. And, lo and behold, the URL for that image was created without any reference to the subdirectory.
Thanks a million! ??
I will take the liberty of posting your answer (with credit to you) in WordPress.StackExchange.com, where I asked this same question but did not yet receive any answers.
Thank you, so much, leejosepho, for taking the time to not only answer, but to do so with such a clear comments in the ‘.htaccess’ file! ??
However, your changes above only fix issue #1. Now, hovering over the ‘Site Admin’ element of the ‘Meta’ widget shows (as desired): https://dem0site.net/wp-login.php (without the subdirectory).
On the other hand, issue #2 remains. The image embedded into the “Hello world!” post is still located at: https://dem0site.net/wp-org-01/wp-content/uploads/2015/01/WordPressOrgIcon1-300×300.png (with the subdirectory).
Could you so kindly provide a fix for also masking the subdirectory in images and other items in the ‘uploads’ directory?