Doubt with htaccess files

0

I have a question about a setting in my .htaccess file.

I have a page with the following name:

 gastronomia.php

From there my file includes the following line to make it friendly:

RewriteRule ^gastronomia$ gastronomia.php

So far so good:

The problem is that I created a subfolder on my site to host the same content in the mobile format.

Then, inside the folder "mobile", there is also a file with the same name - gastronomia.php.

In this case, how do I set up my .htaccess file so that I can also use a friendly url in this file inside the subfolder? That is, enter www.site.com.br/mobile/gastronomia

Abcs

    
asked by anonymous 02.09.2016 / 21:32

0 answers