Questions tagged as 'htaccess'

2
answers

Redirect URL to another physical folder with .htaccess

On the Ubuntu server, I have a physical folder: /var/www/html/gestao/site/temp/ I would like my .htaccess to redirect the URL domain.com.br/gestao to this physical folder transparently.     
asked by 09.08.2014 / 03:16
1
answer

URL friendly with HTACCESS

I'm doing my system that will use friendly URL with htaccess, but I have a question / problem. My HTACCESS is as follows: RewriteEngine ON RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?p...
asked by 21.07.2014 / 04:06
2
answers

Difficulty with rewriting friendly URLs

I'm not very experienced with .htaccess and I'm having some difficulty rewriting the URLs of a site. In the site in question, I first forced the rewrite of the URL to HTTPS (the site did not have SSL before): Options +FollowSymlinks ErrorD...
asked by 27.09.2014 / 07:03
2
answers

Masking wp-admin / wp-login with .htaccess

I'm trying to mask the Wordpress login URL. For example, I've been able to do the basics of making the url user-friendly: ^login /wp-login.php [L] It turns out that I do not want to allow access by using the direct URL with www.site.com/...
asked by 30.06.2014 / 17:56
1
answer

Friendly URL in hosting Windows 2003/2008 with site in PHP

I need to convert this file .htaccess to a format compatible with a Windows hosting in Locaweb. RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*)$ index.php?link=$1 [L] In sup...
asked by 11.04.2014 / 13:40
1
answer

Load specific "php.ini" into a sub-domain

To load a custom php.ini for a sub-domain, I applied the following code to .htaccess in the root of the sub-domain in question: AddHandler php5-fastcgi .php Action php5-fastcgi /cgi-bin/php.fcgi The file only has these two li...
asked by 17.02.2014 / 17:02
1
answer

Redirected from the domain

I have a domain by Locaweb that redirects to my ip from vps via A and CNAME. It normally redirects the link mainly however when and typed link with http: // without the www and also even if http: // it is redirected to the main site other than a...
asked by 17.10.2018 / 14:13
1
answer

Object not found when clicking hyperlink

Hello, I'm learning IC and I came across the following problem. When I click on a link in a home test, I would like to be transferred to another page and use another controller, but when clicking, I get this error: Objeto não encontrado! A UR...
asked by 27.10.2018 / 03:39
1
answer

URL with fixed and variable parameter

Hello, I'm having difficulty setting my htaccess file, I have a fixed parameter that I manually pass and one that depends on the user when I click and change uf, follow the example RewriteRule ^representantes\/(.*)$ representantes.php?i_page=3...
asked by 08.10.2018 / 16:23
0
answers

Internal redirect friendly URL

I'm creating an image gallery page with a database, and clicking an image is redirected to the page profile.php with the image data as if it were a profile. I want to make my URL more beautiful, it is currently appearing like this: l...
asked by 12.09.2018 / 18:25