Questions tagged as 'htaccess'

2
answers

Change home page via htaccess

When I access my website, apache automatically loads the index.php page. Is it possible to change this in htaccess ? I want it to always look for the Login.php page.     
asked by 20.06.2016 / 21:32
2
answers

How to point all pages of the site to a single page?

I need a solution with htaccess that points all pages of the site to a specific page of type: http://meusite.com.br/pagina1.html -> http://meusite.com.br/index.php http://meusite.com.br/pagina2.html -> http://meusite.com.br/index....
asked by 07.08.2015 / 02:22
1
answer

Is it possible to use .htaccess with IIS?

Can I use .htaccess with IIS?     
asked by 12.05.2016 / 23:54
1
answer

Error 500 Request exceeded the limit of 10 internal redirects

I have a problem with htaccess Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@localhost to inform them of the t...
asked by 03.07.2015 / 19:36
1
answer

How to redirect question "q=" from one site to another without changing the question?

I have a mini search site: http://www.cosmo-search.url.ph , and when typed www.cosmo-search.url.ph/search?q=PESQUISA-FEITA-PELO-USUÁRIO I need to be redirected to br.search.yahoo.com/yhs/search?p=PESQUISA-FEITA-PELO-USUÁRIO&hsp...
asked by 22.09.2014 / 23:50
2
answers

Add a fixed word to a friendly URL

Good evening, I'm doing a search and I'm having a problem passing the value that is written in input to another page where the result will be displayed. Url example I'm trying to pass the values http://exemplo.com/locais/pesquis...
asked by 18.03.2015 / 02:35
2
answers

Problems with HTTPS and WWW Redirection

I'm having trouble with one thing, I have several conditions to answer in my .htaccess but I can never answer them at once, just one or the other. I have a project in Laravel in the path /public_html/portal/ to display need to redirect...
asked by 03.05.2017 / 13:37
1
answer

Function valid for all pages

Is it possible to define a function for all pages without using include() in all of them? Ex: I have a secret directory ../seg/staff/login/ and I want to define that user with permission level less than 3 can not access them....
asked by 13.10.2016 / 19:17
1
answer

Problem with .htaccess, subdomain

I have a large installation on my site (root), that is, in the public_html folder I have a .htaccess file with: <IfModule mod_deflate.c> <FilesMatch "\.(html|php|txt|xml|js|css)$"> SetOutputFilter DEFLATE </Files...
asked by 21.03.2016 / 13:50
1
answer

URL rewriting with "+" sign (same as Google+) .htaccess

I would like to write a rule in .htaccess with RewriteRule using the plus sign (+) for a url in the format similar to Google, like this: myite.com /+anything was interpreted myite.com /?track=search or mysite.com / a site was interpret...
asked by 09.11.2015 / 22:41