Questions tagged as 'htaccess'

0
answers

Mod_Rewrite in CakePHP

I need to change all of a site's URLs, right away. The current URL is in the following structure: www.mydomain.com/site/ And I would like the site folder to be removed from all internal urls, without having to tinker with the file structu...
asked by 20.04.2015 / 15:23
0
answers

Redirection error

On a client server has a project in CakePHP, I created a folder called halldafama in the root of the server. I need to access this folder, but when trying to access it returns me: Error: The requested address '//halldafama/' was not found o...
asked by 23.04.2015 / 15:42
1
answer

Redirect site with .htaccess

Good afternoon! I want to redirect my site and I'm not finding the solution. I want it when the guy accesses the ip for example: link it directs to link Is it possible with .htaccess? Remembering that it is only internal. Than...
asked by 20.05.2015 / 21:33
1
answer

Url Amigavel .htaccess with problem

I have the following .htaccess file: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ErrorDocument 404 /erro404 RewriteRule ^(.*)$ index.php?rota=$1 [L,QSA] I'm trying to put a condition that when...
asked by 22.03.2015 / 05:49
1
answer

Redirect URL to a file with htaccess

I need to make sure that when they access my site so http://www.meusite.com.br/guarulhos redirects (or opens) the http://www.meusite.com.br/guarulhos.asp page. I'm trying with htaccess RewriteEngine On RewriteCond %{REQUEST_FILE...
asked by 18.03.2015 / 14:10
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 values http://exemplo.com/locais/pesquisa?q=...
asked by 18.03.2015 / 02:35
0
answers

WordPress changing URL when accessing links

I have a www.dominio.com.br domain that points to my server and is redirected via .htaccess to the www.dominio.com.br/novo subfolder through the following code: RewriteEngine on RewriteCond %{HTTP_HOST} ^(www\.)?dominio\.com\.br...
asked by 14.03.2015 / 01:37
1
answer

Creating .httacess for wordpress

I configured a wordpress in a linux hosting, I need to set up for that url of the post instead of: link be: link I read that I should stick to the httpd.conf file however this is impossible because I am hosting the site. In this...
asked by 02.06.2015 / 19:06
1
answer

.htaccess URL friendly PHP problem

I have a link like this: <a href="index/pagina=$i"> $i </a> I wanted the URL to look like this: index/2 And I'm using .htaccess like this: <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^index?$ index....
asked by 18.01.2015 / 18:35
1
answer

When accessing a * .php lead to autostart.php? url = *. php

Hello, I'm having a problem, I need to access a file with .php , it should point to autostart.php?url=*.php Explanation: No autostart.php it includes in a file and after it includes include in the page that is in...
asked by 12.01.2015 / 13:01