Advertisement
Guest User

Untitled

a guest
Jul 4th, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. RewriteCond %{REQUEST_URI} ^/sitemap.xml
  2. RewriteRule .* /index.php?option=com_xmap&id=2&view=xml
  3. # RewriteBase /
  4.  
  5. ## Begin - Joomla! core SEF Section.
  6. #
  7. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  8. #
  9. # If the requested path and file is not /index.php and the request
  10. # has not already been internally rewritten to the index.php script
  11. RewriteCond %{REQUEST_URI} !^/index.php
  12. # and the request is for something within the component folder,
  13. # or for the site root, or for an extensionless URL, or the
  14. # requested URL ends with one of the listed extensions
  15. RewriteCond %{REQUEST_URI} /component/|(/[^.]*|. (php|html?|feed|pdf|vcf|raw))$ [NC]
  16. # and the requested path and file doesn't directly match a physical file
  17. RewriteCond %{REQUEST_FILENAME} !-f
  18. # and the requested path and file doesn't directly match a physical folder
  19. RewriteCond %{REQUEST_FILENAME} !-d
  20. # internally rewrite the request to the index.php script
  21. RewriteRule .* index.php [L]
  22. #
  23. ## End - Joomla! core SEF Section.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement