Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W Wiki
  • Project overview
    • Project overview
    • Details
    • Activity
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
Collapse sidebar
  • Tutoriais
  • Wiki
  • Wiki
    • Magento
  • Htaccess

Htaccess · Changes

Page history
Update Htaccess authored Jul 17, 2019 by Jonatan Machado's avatar Jonatan Machado
Hide whitespace changes
Inline Side-by-side
Showing with 8 additions and 0 deletions
+8 -0
  • Magento/Htaccess.md Magento/Htaccess.md +8 -0
  • No files found.
Magento/Htaccess.md
View page @ 2478f896
......@@ -115,6 +115,14 @@ RewriteRule ^(index.php/?)?rss/ - [L,R=403]
RewriteRule ^downloader/ - [L,R=403]
############################################
## force use 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]
############################################
## enable rewrites
......
Clone repository
  • Gitlab
    • Comandos
  • Hotfix
    • og:image
  • Magento
    • Htaccess
    • MagentoCronChecker
    • Robots
    • SimpleSchema
    • Soap v2 Tester
    • gitignore
  • Migração
    • leg.br
  • Padrões
    • eslint
    • prettier
  • Plugins
    • Adicionar informações extras ao texto copiado da web
  • QueryCommerce
  • Servidores
    • Cloudways
    • DnsMadeEasy
View All Pages