skip to Main Content

.htaccess rewrite cond/rule and hide url paremeters – Apache

I got a htaccess in my Root directory. My files path http://example.com/folder1/folder2/index.php?country=eu&lang=en I made this in htaccess. RewriteCond %{HTTP_HOST} ^(www.)?anothersite.com$ RewriteRule ^([^/]*)/([^/]*)$ /folder1/folder2/index.php?country=$1&lang=$2 [L] RewriteRule ^([^/]*)$ /folder1/folder2/index.php [L] And looks like this http://example.com/index.php?country=eu&lang=en But i want like this -> http://example.com/eu-en…

VIEW QUESTION

URL friendly ASP Classic and Isapi Rewrite – Plesk

The point is, I can access an address dominio.com/modulo/id/titulo and it rewrites to dominio.com/default.asp?link=artigo&id=123&titulo=teste, but my question is whether I can do the reverse process, i.e. go to dominio.com/default.asp?link=artigo&id=123&titulo=teste and it changes to dominio.com/modulo/id/titulo. Codes: ASP <!DOCTYPE html><html lang="pt-br"><head><meta charset="utf-8"/><title>Teste…

VIEW QUESTION
Back To Top
Search