-3
Talk, you guys, all blaz?
I have the following htaccess:
RewriteEngine On
RewriteBase /pasta1/pasta2/
RewriteRule ^([0-9A-z_-]+)/(.*)/(.*)/ detalhes_item.php?id_param_1=$2&id_param_2=$3
RewriteRule ^([0-9A-z_-]+)/(.*)/(.*) detalhes_item.php?id_param_1=$2&id_param_2=$3
With this htaccess, I was able to convert this url: http://meusite.com.br/pasta1/pasta1/detalhes_item.php?id_param_1=145&id_param_2=66
for: http://meusite.com.br/pasta1/pasta1/texto-dinamico/145/66/
The problem is that now I can’t open the image URL, example:
http://meusite.com.br/pasta1/pasta2/images/produtos/4104.jpg
When trying to open the above URL, open the product detail page.
NOTE: This part: "Rewritebase /pasta1/pasta2/" is pq I have a wordpress in the root folder of the server.
Can someone please shed some light?
Thank you