Rigodon Posted September 2, 2015 Share Posted September 2, 2015 hI, if I have a picture at: /galeria/a1_files/vlb_images1/phoca_thumb_l_image001.jpg and I would view it at: /galeria/a1/phoca_thumb_l_image001.jpg/ , what I need to change in .htaccess? RewriteRule ^galeria/a1_files/vlb_images1/([^-]*)$ galeria/a1/$4 [L,NC] Quote Link to comment https://forums.phpfreaks.com/topic/298021-php-htaccess-rewrite-mode-and-change-the-path-pictures/ Share on other sites More sharing options...
scootstah Posted September 2, 2015 Share Posted September 2, 2015 (edited) You had it backwards. RewriteRule ^galeria/a1/([^-]*)$ galeria/a1_files/vlb_images1/$1 [L,NC] Edited September 2, 2015 by scootstah Quote Link to comment https://forums.phpfreaks.com/topic/298021-php-htaccess-rewrite-mode-and-change-the-path-pictures/#findComment-1520132 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.