I have an issue when trying to redirect the uploads folder. The line in question is: RewriteRule ^site/assets/(.*) /wp-content/uploads/$1?gxb_hide_my_wp=1111 [QSA,L] (I’ve also tried adding a / after the ^ in an attempt to use absolute path) .
The problem is, the file path on the front end is relative to the current page the user is on (www.site.com/subdirectory/site/assets/file.jpg vs http://www.site.com/site/assets/file.jpg).
The file gets uploaded correctly to the root, however, the html referencing the file always points to the relative url. How do I get it to map from the root domain? I can’t seem to figure it out after hours of trying to modify the expression.
I will post my debug report in a private reply to this thread…see below
Theme support is offered to verified customers by forum only. Support requests made by email, tweet or any other method will be redirected back to the forum.