Questions tagged as 'htaccess'

3
answers

301 https protocol redirect to http

I would like to do a 301 redirect (via .htaccess) only on 1 link I have https to http without changing any other server or protocol link. Link https: link Redirect To: link NOTE: Note that the link is the same only changes the https...
asked by 20.06.2014 / 22:02
3
answers

How to hide the directory paths in the url with htaccess?

How do I make all site urls shorten by hiding all directory paths? For example: www.meusite.com/models/scripts/arquivo.php www.meusite.com/view/templates/arquivo.php www.meusite.com/view/templates/especifica/arquivo.php And I want you to...
asked by 12.11.2015 / 17:50
2
answers

Code to Take advantage of browser cache leaves the site out of the air

Well, I'm having a problem getting the blessed "Take browser cache" from PageSpeed Insights. The site I'm doing this is on Wordpress. The entire internet indicates the same code to be inserted into the .htaccess file, either in English or Portug...
asked by 06.05.2017 / 16:44
1
answer

Error Accessing Site on Earth Hosting

I transferred a web site to a Terra hosting and trying to access it shows the following error:    Not Found [CFN # 0005] I'm talking to the support - horrible, by the way (Neto) - and they say it's my programming that's wrong. Ask to c...
asked by 03.11.2015 / 16:35
1
answer

How to host my angular application

I have the following directories in my angled application: node_modules/ src/ --client/ ----/app/ ----/index.html --server/ package.json print the files I would like that when the user accesses my site he redirect directly to src / cl...
asked by 27.08.2015 / 04:01
2
answers

Use URL rewriting as array in .htaccess

Is it possible to use the .htaccess rebrand and an undefined number of parameters in the URL? In my current .htaccess I set three types of parameters that can be passed in the URL (/ page / sub / id), however I would like to be able to pass a...
asked by 03.11.2014 / 20:39
1
answer

Friendly URL does not load content

Well, I'm here with a problem in the url friendly, I'm doing the routes through the file .htaccess and get the values by $_GET . Only when I enter the url the content is not loaded, always trying to load and nothing. htaccess fil...
asked by 10.02.2015 / 21:57
1
answer

RewriteRule specific case for a URL

I have .htaccess rewriting the URLs and a submenu being dynamically created and I need one of these links to open on a different URL / page than the rest. You're like this: RewriteRule conheca/(.+)/(.+)/$ conheca.php?id=$1&slug=$...
asked by 15.03.2014 / 17:27
1
answer

Why does not the web server find my route?

I uploaded a system in Laravel called android_api to the hostgator server, and I configured it in the public file. To the main page it works, where it appears Laravel 5, but when I put the route that I created, it shows page not found. I...
asked by 17.10.2017 / 23:36
1
answer

HTACCESS - Subdomain

Does anyone know how to configure htaccess? I need it to work with the subdomain, and the main domain does not appear in the address bar when the subdomain is open. Ex how you are now:    [ link My current htaccess is the code below: R...
asked by 15.02.2017 / 12:39