Doubt with htaccess (location x hosting)

Asked

Viewed 26 times

1

Hello, I’m doing a project and was adding it online to make a test, locally everything works, I have my ".htaccess" so:

Options All -Indexes

RewriteEngine On
RewriteRule ^([-a-zA-Z0-9]+)$ index.php?ruta=$1

On the server the pages are not being found, I am using this way below, I appreciate the help:

Options All -Indexes
RewriteEngine On
RewriteCond %{HTTP_HOST} ^meusite.com.br$ [NC,OR] 
RewriteCond %{HTTP_HOST} ^www.meusite.com.br$
RewriteCond %{REQUEST_URI} !pastadosite/
RewriteRule ^([-a-zA-Z0-9]+)$ index.php?ruta=$1
No answers

Browser other questions tagged

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