Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. Options +FollowSymLinks
  2. RewriteEngine On
  3.  
  4. RewriteCond %{SCRIPT_FILENAME} !-d
  5. RewriteCond %{SCRIPT_FILENAME} !-f
  6. RewriteRule ^(.*)$ ./wedding.php?w=$1
  7.  
  8. domain.com/bla/
  9.  
  10. domain.com/bla
  11.  
  12. RewriteCond %{REQUEST_URI} !/$
  13. RewriteCond %{SCRIPT_FILENAME} !-d
  14. RewriteCond %{SCRIPT_FILENAME} !-f
  15. RewriteRule ^(.*)$ ./wedding.php?w=$1
  16.  
  17. Options +FollowSymLinks
  18. RewriteEngine On
  19.  
  20. RewriteCond %{REQUEST_URI} !/$
  21. RewriteCond %{SCRIPT_FILENAME} !-d
  22. RewriteCond %{SCRIPT_FILENAME} !-f
  23. RewriteRule ^(.*)$ ./wedding.php?w=$1
  24.  
  25. # BEGIN WordPress
  26. <IfModule mod_rewrite.c>
  27. RewriteEngine On
  28. RewriteBase /
  29. RewriteRule ^index.php$ - [L]
  30. RewriteCond %{REQUEST_FILENAME} !-f
  31. RewriteCond %{REQUEST_FILENAME} !-d
  32. RewriteRule . /index.php [L]
  33. </IfModule>
  34.  
  35. # END WordPress
  36.  
  37. Options +FollowSymLinks
  38. RewriteEngine On
  39.  
  40. RewriteCond %{SCRIPT_FILENAME} !-d
  41. RewriteCond %{SCRIPT_FILENAME} !-f
  42. RewriteRule ^([A-Za-z0-9]+)$ /wedding.php?w=$1 [R]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement