cancel
Showing results for 
Search instead for 
Did you mean: 

How to set image URL to main root directory?

How to set image URL to main root directory?

RewriteCond %{REQUEST_URI} ^/abc/$RewriteRule .* - [E=MAGE_RUN_CODE:aaa]
RewriteCond %{ENV:REDIRECT_MAGE_RUN_CODE} (.+)
RewriteRule .* - [E=MAGE_RUN_CODE:%1]
RewriteBase /abc/
RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /abc/index.php [L]/

 www.example.com/abc/media To (NEEDS) www.example.com/media 

From ABC folder of mail root folder.