<IfModule mod_rewrite.c>
  RewriteEngine On


#1https
#2https
#3https
#4https
#5https


  RewriteRule ^home$ index.php [NC,L]
  RewriteRule ^sobre$ sobre.php [NC,L]
  RewriteRule ^news$ noticias.php [NC,L]
  RewriteRule ^podcasts$ podcasts.php [NC,L]
  RewriteRule ^mural$ mural.php [NC,L]
  RewriteRule ^programacao$ programacao.php [NC,L]
  RewriteRule ^eventos$ eventos.php [NC,L]
  RewriteRule ^fotos$ fotos.php [NC,L]
  RewriteRule ^videos$ videos.php [NC,L]
  RewriteRule ^equipe$ equipe.php [NC,L]
  RewriteRule ^contato$ contato.php [NC,L]
  RewriteRule ^politica-de-privacidade$ politica-de-privacidade.php [NC,L]

  RewriteRule ^news-p-([^-]*)$ noticias.php?page=$1
  RewriteRule ^news-([^-]*)+? noticia.php?d=$1 [L]

  RewriteRule ^podcasts-p-([^-]*)$ podcasts.php?page=$1
  RewriteRule ^podcasts-([^-]*)+? podcast.php?d=$1 [L]

  RewriteRule ^videos-p-([^-]*)$ videos.php?page=$1
  RewriteRule ^videos-([^-]*)+? videos.php?d=$1 [L]

  RewriteRule ^eventos-p-([^-]*)$ eventos.php?page=$1
  RewriteRule ^evento-([^-]*)+? evento.php?d=$1 [L]

  RewriteRule ^mural-p-([^-]*)$ mural.php?page=$1
  RewriteRule ^mural-([^-]*)+? mural.php?d=$1 [L]

  RewriteRule ^inc/chat/jaxinit.js$ inc/chat/jaxinit.php
  RewriteRule ^admin/includes/tracker.js$ admin/includes/tracker.php
  #RewriteRule ^thumb/(.*)$ /thumb.php?arg=$1 [NC,L,QSA]

</IfModule>


#ErrorDocument 404 "<script>location.href='/'</script>"
