I have the following .htacess code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^shop\.meusite\.com.br$
RewriteCond %{REQUEST_URI} !^/shop/$
RewriteRule ^(.*)$ http://meusite.com.br/shop/ [P]
</IfModule>
# END WordPress
I wanted to do everything that is in: " link " stay with the friendly url: " link ".
NOTE: My portal is made in Wordpress and the products are handled by the "WooCommerce" plugin.