Questions tagged as 'htaccess'

0
answers

.Htaccess file

I am using the following configuration in the Htaccess file: RewriteEngine on RewriteCond %{HTTP_HOST} ^(www.)?dominio.com.br$ RewriteCond %{REQUEST_URI} !^/pasta-destino/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d...
asked by 03.05.2018 / 18:55
0
answers

Specific redirect .htaccess

I have the following in .htaccess: RewriteRule ^(.*)/(.*)$ /nota.php?aluno=$2 [L] and the following files:    An index.php page       A nota.php page When you access the student's note, redirect to: www.site.com.br/aluno/nota / I...
asked by 09.05.2018 / 21:13
0
answers

CloudFlare Error 1000 and the .htaccess to force HTTPS

People, I think I'm having a problem setting up my .htacess and SSL. See what I set up in .htaccess: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] When I activated CloudFlare for...
asked by 26.04.2018 / 19:58
0
answers

Incorrect redirect in AdWords .htaccess gclid

I'm having a problem with the AdWords ad, when a person clicks on the advertiser it should be redirected to the homepage, but then it is redirected to another search page, with the following url: link The .htaccess file looks like this: O...
asked by 24.04.2018 / 20:27
0
answers

How to configure .htaccess route

I need to know how to configure htaccess so that when I access the url: link The action must be loaded: link For Opencart integration with an ERP to function properly. * Remembering that I need something generic that works for...
asked by 17.04.2018 / 20:19
0
answers

Hiding part of the htacess url

I would like to know if there is a possibility to hide part of the url and show only the first folder, eg: http://meusite.com/web/restaurantes/restauranteX Show only: http://meusite.com/web/     
asked by 12.04.2018 / 16:07
0
answers

Routes are returning 404 after putting .htaccess!

> RewriteEngine On RewriteCond %{HTTPS} off # First rewrite to HTTPS: # Don't put www. here. If it is already there it will be included, if not # the subsequent rule will catch it. RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] #...
asked by 10.04.2018 / 05:49
0
answers

301 redirect help for duplicate content for home page via .htacess

I have a .htaccess file for the purpose of directing "mysite.com" to "mysite.com", not only that but also redirect "http: //" to "https: // ", as follows: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*) https://www.%{...
asked by 30.03.2018 / 07:08
0
answers

.htaccess rule does not remove index.php from URL

Talk, I'm trying to shorten my URL a bit, but I can not figure out what's wrong with my .htaccess . Original URL: link I want to leave it like this: link .htaccess <IfModule mod_rewrite.c> RewriteEgine On Rewrite...
asked by 29.03.2018 / 01:33
0
answers

Control access on two URLs with .htaccess

I have the login folder of my site www.meusite.com.br/login and that. after login. goes to www.meusite.com.br/painel . The issue is that I need to apply a rule to login and another rule for the panel, but one subscribes to the o...
asked by 23.03.2018 / 21:55