Questions tagged as 'url-rewrite'

0
answers

Rewriting rule not to break files of type .map

How to make a rewrite rule so that all files (examples): /js/arquivo.teste.map /css/arquivo.diferente.teste.map /y.diferente_123.map Do not exist with .map extension to be rewritten to a single file type:    /webapp/css/404.map I t...
asked by 06.11.2018 / 16:15
0
answers

Differentiate content and listing in friendly URL

I have a question about how to separate the querystrings for content pages (post) and listing. Today it is like this: Content page Domain.com / page.asp? Content = 123 Page for content listing Domain.com / page.asp? Section = Section & cat = Cat...
asked by 15.10.2018 / 19:47
1
answer

How to rewrite a URL

Good afternoon, guys. Could you help me with my doubt? I wanted to rewrite a URL. For example: <a href="#Contato">Contato</a> that points to a DIV ID Contact, however, the URL is: https://site.com/index.php#Contato and w...
asked by 19.09.2018 / 19:14
0
answers

IIS 7.5 Rewrite

I have a server on the intranet with IIS 7.5 and a site that can be accessed internally (via network ip) and externally ( link ) . I would like to create a rule in which every user who accesses externally via the domain name is redirected to...
asked by 31.07.2018 / 19:59
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

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
0
answers

Rewrite .htaccess not working

Im trying to write a RewriteCond, but is not working ... Anyone can help me please? I have 2 websites, one is www.activecard.pt and its working properly, the other is www.accurex.pt which is not working ... Here is a sample of my .htaccess...
asked by 11.03.2018 / 17:15
0
answers

Friendly url encoding

Hello, I have a url in the format / page / term1 / term1. It happens that when you pass texts with accents, the browser is translating correctly, example / page / water / mineral I used the function encodeurl() of php, coded the url...
asked by 17.01.2018 / 21:19
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
0
answers

HTACCESS Change: Rewritre URL to insert domain

Good morning! I have a site running today on Locaweb, and it has presented several problems of slowness and we believe it to be the server. We are trying to migrate to Hostgator for testing, and we are using the temporary access address. B...
asked by 27.10.2016 / 15:34