Questions tagged as 'htaccess'

1
answer

Dynamic subdomain with htaccess and php

I'm breaking my head. I need to create dynamic subdomains for each user that registers in my site (ex .: user1.domain.com, user2.domain.com, user3.domain.com) without having to create one by one in the cpanel. I know this has to do with wildc...
asked by 06.12.2017 / 20:03
1
answer

How do I force .htaccess to direct a subdomain into a folder?

I do not understand much of apache's .htaccess, so I would like to ask colleagues if it is possible what I will explain, I have a domain: mycard.com.br and a subdomain teste.mycard.com.br the folder domain / home / mycard / html already the subd...
asked by 21.11.2017 / 20:36
1
answer

Apply two functions to .htaccess

I do not quite understand .htacces, but I use it to force my site navigation to the link , now I'm trying to implement a code to remove .html > of the URL, I already did that, but when I put the two together it does not work. Force https:...
asked by 22.11.2017 / 13:31
1
answer

Url friendly with folder

I have the following doubt: You can turn this url: link In: link Can you do this? I tried to do this in my .htaccess and I could not (I know almost nothing about it). Note: "usercenter" is a folder.     
asked by 02.11.2017 / 21:48
1
answer

Friendly URL with JQuery

Hello, everyone! My system is developed in JQuery, so I make changes to pages without loading, just with $ .get (). The big question is: even without loading, I need the URLs to be changed, making the system even more user friendly. I can alr...
asked by 29.11.2017 / 21:00
1
answer

Error at 404 when setting Friendly URL in .htaccess

You are giving 404 error accessing the Friendly URL that I tried to .htaccess : RewriteRule ^es/guarapari/([0-9]+)/([[a-z0-9-]+)/?$ empresas.php?id=$1&nome=$2 [NC] .htaccess complete: <IfModule mod_rewrite.c> Rew...
asked by 29.11.2017 / 20:10
1
answer

Friendly url does not accept the slash after the link

I have in the .htaccess the following code: RewriteRule ^([a-z0-9-]+)/?$ categoria.php?key=$1 [NC,L] It works perfectly, but when I put the bar after the link, it opens the page without the CSS formatting, as if it were opening a new direct...
asked by 08.11.2017 / 19:38
1
answer

.htaccess in Plesk Linux or Windows

My .htaccess file does not work, I saw this help link but how do I adjust it in my .htaccess? * The site opens goes through index.php but when it is redirected to login it gives No input file specified link here <IfModule mod...
asked by 11.08.2017 / 22:28
1
answer

How to change the order of the parameters of the Friendly Url in htaccess?

My friendly URL l looks like this: guaraparivirtual.com.br/noticias-guarapari/moqueca-capixaba-agua-na-boca/9/ I would like to have the order of place changed from the last to the last but one. In this way: guaraparivirtual.com.br/notici...
asked by 10.08.2017 / 06:04
1
answer

Rule conflict in .htaccess

I'm facing an error with the .htaccess file and I'm not getting resolved, it's the following: I have the following rule: RewriteRule ^([^\.]+)$ $1.php [NC,L] This rule aims to ignore the .php extension of all files accessed in my directo...
asked by 24.08.2017 / 01:48