Questions tagged as 'htaccess'

1
answer

Rewrite rule sending to wrong page

I have the following rewrites in my htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^dados/series/([a-z,0-9,A-Z-].+)/?$ dados-series.php?cache=$1 [NC,L] RewriteRule ^dados/serie...
asked by 12.05.2017 / 00:21
1
answer

Server blocks image

Developed a site where it does not load image. I inserted the following in the HTML code: <img src="repositorio/imagem_principal/140800039.jpg"> However, the image does not appear when loading the HTML page on which this code is. The...
asked by 24.04.2017 / 21:20
2
answers

How to use .htaccess with 2 arguments

I searched the internet, found some examples, but I did not understand it very well, for example, I need it when I access site.com/stream/nome it executes the file stream.php , but inside the file stream.php I can get the val...
asked by 06.05.2017 / 00:54
1
answer

Error with htaccess redirect No to WWW

I have the following code in my htaccess that makes the user redirection if he access the site without www, works perfectly if you enter the direct domain without www he will redirect, however from facebook he does not redirect. <IfM...
asked by 10.04.2017 / 17:43
2
answers

Meaning of "$" in .htaccess

I'm trying to understand the .htaccess file from my server, but I do not think it's cool on the net, I have the following question: What does $ no .htaccess mean? Could someone tell me a good .htaccess tutorial?     
asked by 17.04.2017 / 18:46
1
answer

How do I redirect a nonexistent url through htaccess?

I need to redirect the following link: http://dominio.com/receitas-user/ID_do_usuario/nome_do_usuario To: http://dominio.com/receitas/author/nome_do_usuario Being nome_do_usuario and ID_do_usuario two vari...
asked by 18.04.2017 / 18:22
1
answer

Friendly URL with parameters in HTACCESS

I am passing the whole old site to friendly url and with that came various problems on the old site url was this way link and with the new url wanted to stay that way link I joined HTACCESS and created these rules RewriteEngine...
asked by 15.04.2017 / 20:34
1
answer

Problem with .htaccess

Good morning, I got a site to give a work on it. I use easyphp and I can not open any site page on localhost (this site only) I believe it might be the .htaccess file that redirects the links you typed. For example. When I type localhost:...
asked by 06.04.2017 / 16:04
0
answers

Error requesting internal CakePHP pages?

I have a problem with my CakePHP , I am completely new to this framework and my erro is as follows:    2017-05-01 10:09:45 Error: [MissingControllerException] Controller class PagesController could not be found. E...
asked by 01.05.2017 / 15:27
1
answer

how to work with friendly url [duplicate]

I have a site that does not use a friendly URL, my URL is like this link and it passes the parameters only I want the URL to be like this link in my htaccess to try to make friendly I did so: RewriteEngine On RewriteCond %{REQUEST_FILENA...
asked by 11.04.2017 / 17:19