Questions tagged as 'htaccess'

3
answers

How can I simplify URLs for a website?

To access a particular area of the site, I have to indicate one to three parameters in the URL: Normal URL: # aceder a um módulo http://www.meusite.com/index.php?mod=john # aceder a um sub-módulo: http://www.meusite.com/index.php?mod=joh...
asked by 28.12.2013 / 10:37
0
answers

Htaccess Internal redirect

I'm creating a mvc structure in a host location but I want to test the views directly in the browser, and for that I thought about using htaccess RewriteEngine On Internal redirect RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST...
asked by 16.07.2018 / 20:15
1
answer

development subfolder codeigniter does not work

Good morning. I'm doing maintenance on a PHP backend that uses the codeigniter framework. To test the new codes, I created a subfolder in the system (testing) and copied the files from the main directory to subfolder. Looking at the tutorial...
asked by 09.07.2018 / 17:02
1
answer

Redirecting URLs from the same domain via htaccess

I would like to direct through htaccess two url of the same domain, type 301. Example: Redirect meusite.com.br/customer-service to meusite.com.br/central-atendimento I tried the following code in the file .ht...
asked by 06.07.2018 / 16:31
0
answers

How can I make sure that within the subdomain directory, when clicking a link, the url is not modified and the file extension does not appear?

I do not know if I could be clear, but I have the following code in .htaccess in the root folder: RewriteEngine On RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule !.*\.php$ %{REQUEST_FILENAME}.php [QSA,L] The purpose of it is to remove...
asked by 13.07.2018 / 18:25
0
answers

My friendly URL does not pass the variable by GET

I have already looked at the questions related to this problem here in the Stack and I was not successful, I am currently able to pass the values through the URL but I can not call them on another page with GET. URL goes like this: http://loca...
asked by 10.07.2018 / 15:37
0
answers

Hide / webmail, / whm, / cpanel and their ports

I would like to use some way to hide /webmail, /whm, /cpanel . Also hide :2082, :2083, :2087, :2086 How could I do this? Maybe htaccess?     
asked by 05.07.2018 / 15:15
0
answers

Url friendly .htaccess? [duplicate]

How do I transform this url: link In this: link With htaccess? If so, how? Thank you     
asked by 04.06.2018 / 00:39
1
answer

Friendly URLs nginx virtual store

This is the url I have: link But I wish it were like this: link does not work file not found I'm trying on nginx with the following settings server { listen 80; client_max_body_size 100M; server_name cursophp.test www.cur...
asked by 29.05.2018 / 14:10
1
answer

Url in htaccess [duplicate]

Is it possible to control the url in htaccess? For example, if you type site.com.br, it corrects and places www.site.com.br. I have a case that some pages go with site.com.br/blog. Others with site.com.br/we have an error, because it sends...
asked by 07.05.2018 / 21:28