Redirect a url into a folder without displaying name

Asked

Viewed 74 times

0

  • Only have this URL in the application or are there others? If there are, what are?

  • There’s only this, but I wanted to put the pages straight at the root

1 answer

0

Add the following lines to your . htaccess :

RewriteEngine on
RewriteCond %{REQUEST_URI} !projeto/view/
RewriteRule (.*) /../$1 [L]
  • did not work, returned error: Bad Request Your browser sent a request that this server could not understand.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.