Montana-Studio/PlatformInfluencials/master/app/.htaccess
RewriteEngine On
# avoid refresh when url change
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{QUERY_STRING} ^task=view$ [NC]
RewriteRule ^(.*)$ $1? [R=301,L]
#RewriteCond %{HTTP_HOST} !^www. [NC]
#RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
# url from enterprise
RewriteRule campanas.php campana-agencia.php
RewriteRule escritorio-agencia.php dashboard-agencia.php
RewriteRule influenciadores.php influenciador-publico-agencia.php
RewriteRule perfil.php perfil-influenciador-publico-agencia.php
RewriteRule inicio-agencia.php agencia.php
RewriteRule crear-campana.php nueva-campana-agencia.php
RewriteRule ^perfil/([0-9]+)/([0-9]+)$ perfil-influenciador-publico-agencia.php?campana=$1&id=$2 [NC,L]
RewriteRule ^influenciadores/([a-z_-]+)/([0-9]+)$ influenciador-publico-agencia.php?campana=$1&id_campana=$2 [NC,L]
RewriteRule formulario-agencia formulario-red-social-agencia.php
# url from influencer
RewriteRule inicio-influencer.php influenciador.php
RewriteRule escritorio-influencer.php dashboard-ipe.php
RewriteRule campanas-inscritas.php campanas-ipe.php
RewriteRule formulario-influencer formulario-ipe.php
# remove .php
RewriteRule ^([^.]+)$ $1.php [NC,L]
#force www
#RewriteCond %{HTTP_HOST} !^$
#RewriteCond %{HTTP_HOST} !^www. [NC]
#RewriteCond %{HTTPS}s ^on(s)|
#RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
On Github License
Files