Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. # BEGIN WPSuperCache
  2. <IfModule mod_rewrite.c>
  3. RewriteEngine On
  4. RewriteBase /
  5. #If you serve pages from behind a proxy you may want to change 'RewriteCond %{HTTPS} on' to something more sensible
  6. AddDefaultCharset UTF-8
  7. RewriteCond %{REQUEST_METHOD} !POST
  8. RewriteCond %{QUERY_STRING} !.*=.*
  9. RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
  10. RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
  11. RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
  12. RewriteCond %{HTTP:Accept-Encoding} gzip
  13. RewriteCond %{HTTPS} on
  14. RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz -f
  15. RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
  16. RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
  17. RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz" [L]
  18.  
  19. RewriteCond %{http_host} ^tamil.com [NC]
  20. RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
  21. RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
  22. RewriteRule ^(.*)$ http://www.tamil.com/$1 [R=301,NC,L]
  23. RewriteCond %{REQUEST_METHOD} !POST
  24. RewriteCond %{QUERY_STRING} !.*=.*
  25. RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
  26. RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
  27. RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
  28. RewriteCond %{HTTP:Accept-Encoding} gzip
  29. RewriteCond %{HTTPS} !on
  30. RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz -f
  31. RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
  32. RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
  33. RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz" [L]
  34.  
  35. RewriteCond %{REQUEST_METHOD} !POST
  36. RewriteCond %{QUERY_STRING} !.*=.*
  37. RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
  38. RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
  39. RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
  40. RewriteCond %{HTTPS} on
  41. RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html -f
  42. RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
  43. RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
  44. RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html" [L]
  45.  
  46. RewriteCond %{REQUEST_METHOD} !POST
  47. RewriteCond %{QUERY_STRING} !.*=.*
  48. RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
  49. RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
  50. RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
  51. RewriteCond %{HTTPS} !on
  52. RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html -f
  53. RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
  54. RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
  55. RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html" [L]
  56. </IfModule>
  57.  
  58. # END WPSuperCache
  59.  
  60. # BEGIN WordPress
  61. <IfModule mod_rewrite.c>
  62. RewriteEngine On
  63. RewriteBase /
  64. RewriteRule ^index\.php$ - [L]
  65. RewriteCond %{REQUEST_FILENAME} !-f
  66. RewriteCond %{REQUEST_FILENAME} !-d
  67. RewriteRule . /index.php [L]
  68. </IfModule>
  69.  
  70. # END WordPress
  71. ~
  72. ~
  73. ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement