1. # Comment the following line (add '#' at the beginning)
  2. # to disable mod_rewrite functions.
  3. # Please note: you still need to disable the hack in
  4. # the vBSEO control panel to stop url rewrites.
  5. ModPagespeed off
  6. RewriteEngine On
  7. RewriteCond %{HTTP_HOST} ^viciadosnosexo.com [NC]
  8. RewriteRule ^(.*)$ http://www.viciadosnosexo.com/$1 [R=301,L]
  9. # Some servers require the Rewritebase directive to be
  10. # enabled (remove '#' at the beginning to activate)
  11. # Please note: when enabled, you must include the path
  12. # to your root vB folder (i.e. RewriteBase /forums/)
  13. #RewriteBase /
  14. #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
  15. #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
  16. RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
  17. RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
  18. RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
  19. RewriteCond %{REQUEST_FILENAME} !-f
  20. RewriteCond %{REQUEST_FILENAME} !-d
  21. RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
  22. RewriteRule ^(.+)$ vbseo.php [L,QSA]