ok

Mini Shell

Direktori : /home/institutonamaste/www/
Upload File :
Current File : /home/institutonamaste/www/.htaccess

<IfModule mod_rewrite.c>	
	Allow From All
	
	RewriteEngine on
	RewriteCond %{HTTPS} !=on
	RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

	RewriteRule ^curso/$   cursos.php
	RewriteRule ^curso$    cursos.php
	
	RewriteRule ^curso/([a-z0-9_-]+)$   cursos.php?url=$1
	RewriteRule ^curso/([a-z0-9_-]+)/$  cursos.php?url=$1

	RewriteRule ^blog/([a-z0-9_-]+)$   blog.php?url=$1
	RewriteRule ^blog/([a-z0-9_-]+)/$  blog.php?url=$1

	RewriteRule ^tag/([a-z0-9_-]+)$   blog.php?categoria=$1
	RewriteRule ^tag/([a-z0-9_-]+)/$  blog.php?categoria=$1

	RewriteRule ^language/([a-zA-Z]+)$   blog.php?idioma=$1
	RewriteRule ^language/([a-zA-Z]+)/$  blog.php?idioma=$1

	RewriteRule ^irm-midia/([a-z0-9_-]+)$   irm-midia.php?url=$1
	RewriteRule ^irm-midia/([a-z0-9_-]+)/$  irm-midia.php?url=$1

	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteCond %{REQUEST_FILENAME}\.php -f
	RewriteRule ^(.*)$ $1.php
</IfModule>

Zerion Mini Shell 1.0