SHARE
TWEET

Untitled

a guest Feb 15th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. RewriteOptions inherit
  3.  
  4. RewriteCond %{HTTP_HOST} ^.*$
  5. RewriteRule ^fordele\-ulemper\-ved\-selvsalg$ "https\:\/\/selvmaegler\.dk\/selvsalg" [R=301,L]
  6. RewriteCond %{HTTP_HOST} ^selvmaegler\.dk$ [OR]
  7. RewriteCond %{HTTP_HOST} ^www\.selvmaegler\.dk$
  8. RewriteRule ^fordele\-ulemper\-ved\-selvsalg\/$ "https\:\/\/selvmaegler\.dk\/selvsalg" [R=301,L]
  9. RewriteRule ^salgsguide$ "https\:\/\/selvmaegler\.dk\/" [R=301,L]
  10. RewriteRule ^salgsguide\/$ "https\:\/\/selvmaegler\.dk\/" [R=301,L]
  11.  
  12. RewriteEngine On
  13. RewriteCond %{HTTP_HOST} ^www.selvmaegler.dk [NC]
  14. RewriteRule ^(.*)$ https://selvmaegler.dk/$1 [L,R=301]
  15.  
  16. RewriteEngine On
  17. RewriteCond %{HTTPS} off
  18. RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  19.  
  20. RewriteEngine On
  21. RewriteRule (.+)\.php(\??.*)$ $1$2 [R=301,L]
  22. RewriteCond %{REQUEST_FILENAME} !-d
  23. RewriteCond %{REQUEST_FILENAME} !-f
  24. RewriteRule (.*) $1.php [L]
  25.  
  26. RewriteEngine On
  27. RewriteCond %{THE_REQUEST} "/index HTTP" [NC]
  28. RewriteRule (.*)index$ /$1 [R=301,L]
  29.  
  30. ErrorDocument 404 https://selvmaegler.dk/404
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top