Questions tagged as 'url-rewrite'

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
1
answer

Asp.net MVC adding application name in URL

I have a domain on a shared server and inside it I have some subfolders that are set up as applications in IIS 7. Within the main domain I have created subdomains that redirect to applications / folders. Ex: www.domain.com subdomai...
asked by 21.01.2014 / 18:38
3
answers

Can apache rewrite to external url?

I have an application running in local . At the same time I have the application that is already running in production - namely a social network. I have photos of many users on this system that are in production, but since it is not fea...
asked by 18.09.2015 / 13:46
1
answer

How does RewriteBase work in .htaccess?

I've always used .htaccess to url's amigáveis no php , but recently when I moved to the server of a company X, the .htaccess that always worked did not work on that server .... After searching, I discovered that just putting R...
asked by 23.09.2014 / 22:07
1
answer

How do I configure .htaccess to accept hyphen in the URL?

I'm customizing the URLs of my site, but .htaccess does not accept URLs with hyphens, for example: postagem/1/criando-efeito-fadeout-com-javascript When I write the title without the hyphens works, but with them not, why? How do I re...
asked by 12.02.2014 / 17:26
1
answer

How to keep the url fixed?

I'm using mod_rewrite to rewrite the url, but I'd like to leave it fixed, eg: www.meusite.com.br/index.html www.meusite.com.br/produtos.html www.meusite.com.br/contato.html Ficar apenas: www.meusite.com.br How can I do this?     
asked by 18.01.2016 / 20:02
1
answer

Send and pick GET by AMIGAVEL URL

I have this tag in the index <a href="projeto">Projeto</a> What sends me to this page    localhost / project.php What I'm leaving like this    localhost / project With RewriteEngine on RewriteCond %{REQUEST_FILE...
asked by 15.03.2018 / 00:11
2
answers

Interpret and direct with URL that after domain contains a hash

I am creating a rule to interpret addresses that after domain begin with # followed by numbers or followed by letters whose rule should only be read if there is no file or directory that matches the path indicated: # Rewrite the url <...
asked by 13.03.2014 / 12:37
1
answer

Remove "public" directory from laravel 5 through IIS web.config

I have an IIS server where a site built in Laravel 5.3 will be hosted and I need to remove the public folder from the url. NOTE: I am aware that if I enter the IIS manager and change the destination folder of the site to "wwwroot / mysite /...
asked by 18.11.2016 / 18:12
1
answer

how to hide subfolders of the url through .htacess

Hello! how to change a url through htacess. wanted that url: http://localhost/site/product/view/Mi00OTI/golbolaver look like this: http://localhost/site/view/Mi00OTI/golbolaver     
asked by 02.04.2017 / 21:15