Redirect a url into a folder, without displaying a name

0

I have a local url:

link and link

I would like htaccess to remove / view /, eg:

link or link

    
asked by anonymous 24.10.2017 / 16:34

1 answer

0

Add the following lines to your .htaccess:

RewriteEngine on
RewriteCond %{REQUEST_URI} !projeto/view/
RewriteRule (.*) /../$1 [L]
    
25.10.2017 / 13:47