Advertisement
Guest User

.htaccess

a guest
Dec 5th, 2015
748
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <ifModule mod_rewrite.c>
  2. RewriteEngine on
  3. RewriteCond %{REQUEST_FILENAME} !-d
  4. RewriteCond %{REQUEST_FILENAME} !-f
  5. </ifModule>
  6.  
  7. ErrorDocument 404 /404.php
  8.  
  9. RewriteEngine on
  10. RewriteRule ^index$ ./index.php
  11. RewriteRule ^register$ ./register.php
  12. RewriteRule ^helpus$ ./helpus.php
  13. RewriteRule ^forgotpass$ ./forgotpass.php
  14. RewriteRule ^me$ ./me.php
  15. RewriteRule ^logout$ ./logout.php
  16. RewriteRule ^invite$ ./invite.php
  17. RewriteRule ^myacc$ ./my_account.php
  18. RewriteRule ^htmltags$ ./htmltags.php
  19.  
  20. RewriteRule ^pms$ ./privatemessage.php
  21. RewriteRule ^pmnew$ ./privatemessage_new.php
  22. RewriteRule ^pmsent$ ./privatemessage_sent.php
  23. RewriteRule ^pm/(..*)$ ./privatemessage_read.php?pmid=$1
  24. RewriteRule ^pms/(..*)$ ./privatemessage.php?pmid=$1
  25. RewriteRule ^pmnew/(..*)$ ./privatemessage_new.php?receiver=$1
  26.  
  27. RewriteRule ^usersearch$ ./user_search.php
  28. RewriteRule ^user-(..*)$ ./user_profile.php?uname=$1
  29.  
  30. RewriteRule ^category/(..*)$ ./forum_category.php?catid=$1
  31. RewriteRule ^topic/(..*)/(..*)$ ./forum_topic.php?catid=$1&topid=$2
  32. RewriteRule ^post/(..*)$ ./forum_post.php?postid=$1
  33.  
  34. RewriteRule ^mailconfirm/(..*)$ ./confirm_email.php?key=$1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement