1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
| SetEnv PHP_VER 5.2
SetEnv REGISTER_GLOBALS 0
SetEnv IONCUBE 1
SetEnv ZEND_OPTIMIZER 0
<IfModule mod_rewrite.c>
# RewriteBase /
RewriteEngine on
#ErrorDocument 404 /index.php?m=pages&p=404page
################################################################
##################### MEMBER ACCOUNT PAGES #####################
################################################################
## account
RewriteRule ^account/?$ index.php?m=account_login [L]
## lost password
RewriteRule ^account/lostpass/?$ index.php?m=account_lostpass [L]
RewriteRule ^account/lostpass/([0-9]+)/([0-9A-Za-z]+)/?$ index.php?m=account_lostpass&id=$1&hash=$2 [L]
## activate
RewriteRule ^account/activate/([0-9]+)/([0-9A-Za-z]+)/?$ index.php?m=account_activate&id=$1&hash=$2&a=1 [L]
RewriteRule ^account/decline/([0-9]+)/([0-9A-Za-z]+)/?$ index.php?m=account_activate&id=$1&hash=$2&a=2 [L]
## home, login, logout, register, settings, notifications, privacy
RewriteRule ^account/(home|login|logout|register|sendhash|settings|notifications|privacy)/?$ index.php?m=account_$1 [L]
RewriteRule ^account/privacy/cancel/?$ index.php?m=account_privacy&p=cancel [L]
## photo
RewriteRule ^account/photo/?$ index.php?m=account_photo [L]
RewriteRule ^account/photo/(delete|thumbnail)/?$ index.php?m=account_photo&p=$1 [L]
## home, profile
RewriteRule ^account/profile(/([0-9A-Za-z]+))?/?$ index.php?m=account_profile&group=$2 [L]
## chat
RewriteRule ^account/chat/([0-9]+)/(request|deny)/?$ index.php?m=account_chat&p=$2&id=$1 [L]
RewriteRule ^account/chat/([0-9]+)/?$ index.php?m=account_chat&id=$1 [L]
## messages
RewriteRule ^account/messages/?$ index.php?m=account_messages [L]
RewriteRule ^account/messages/(inbox|sent)(/([0-9]+))?/?$ index.php?m=account_messages&p=$1&page=$3 [L]
RewriteRule ^account/messages/inbox/read/([0-9]+)/?$ index.php?m=account_messages&p=iview&id=$1 [L]
RewriteRule ^account/messages/sent/read/([0-9]+)/?$ index.php?m=account_messages&p=sview&id=$1 [L]
RewriteRule ^account/messages/inbox/delete/([0-9]+)/?$ index.php?m=account_messages&p=idelete&page=$1 [L]
RewriteRule ^account/messages/sent/delete/([0-9]+)/?$ index.php?m=account_messages&p=sdelete&page=$1 [L]
RewriteRule ^account/messages/compose/?$ index.php?m=account_messages&p=compose [L]
RewriteRule ^account/messages/compose/([0-9]+)(/([0-9]+))?/?$ index.php?m=account_messages&p=compose&id=$1&sid=$2 [L]
RewriteRule ^account/messages/quick/([0-9]+)/([0-9]+)/?$ index.php?m=account_messages&p=quickmessage&id=$1&sid=$2 [L]
## gifts
RewriteRule ^account/gifts/?$ index.php?m=account_gifts [L]
RewriteRule ^account/gifts/(inbox|sent)(/([0-9]+))?/?$ index.php?m=account_gifts&p=$1&page=$3 [L]
RewriteRule ^account/gifts/view/([0-9]+)/?$ index.php?m=account_gifts&p=view&id=$1 [L]
RewriteRule ^account/gifts/inbox/delete/([0-9]+)/?$ index.php?m=account_gifts&p=idelete&page=$1 [L]
RewriteRule ^account/gifts/sent/delete/([0-9]+)/?$ index.php?m=account_gifts&p=sdelete&page=$1 [L]
RewriteRule ^account/gifts/send/([0-9]+)/?$ index.php?m=account_gifts&p=send&id=$1 [L]
## guestbook
RewriteRule ^account/guestbook/?$ index.php?m=account_guestbook [L]
RewriteRule ^account/guestbook/(approved|unapproved)/?$ index.php?m=account_guestbook&p=$1 [L]
RewriteRule ^account/guestbook/(approved|unapproved)/([0-9]+)/?$ index.php?m=account_guestbook&p=$1&page=$2 [L]
RewriteRule ^account/guestbook/(approve|delete)/([0-9]+)/([0-9]+)/?$ index.php?m=account_guestbook&p=$1&page=$2&id=$3 [L]
## blog
RewriteRule ^account/blog/?$ index.php?m=account_blog [L]
RewriteRule ^account/blog/([0-9]+)/?$ index.php?m=account_blog&p=entries&page=$1 [L]
RewriteRule ^account/blog/add/?$ index.php?m=account_blog&p=edit&id=0 [L]
RewriteRule ^account/blog/edit/([0-9]+)/?$ index.php?m=account_blog&p=edit&id=$1 [L]
RewriteRule ^account/blog/delete/([0-9]+)/([0-9]+)/?$ index.php?m=account_blog&p=delete&page=$1&id=$2 [L]
RewriteRule ^account/blog/comments/([0-9]+)/?$ index.php?m=account_blog&p=comments&id=$1 [L]
RewriteRule ^account/blog/comments/([0-9]+)/([0-9]+)/?$ index.php?m=account_blog&p=comments&id=$1&page=$2 [L]
RewriteRule ^account/blog/comments/delete/([0-9]+)/([0-9]+)/([0-9]+)/?$ index.php?m=account_blog&p=deletecomment&id=$1&sid=$2&page=$3 [L]
## blocked
RewriteRule ^account/blocked/?$ index.php?m=account_blocked [L]
RewriteRule ^account/blocked/([0-9]+)/?$ index.php?m=account_blocked&page=$1 [L]
RewriteRule ^account/blocked/add/([0-9]+)/?$ index.php?m=account_blocked&p=add&id=$1 [L]
RewriteRule ^account/blocked/delete/([0-9]+)/([0-9]+)/?$ index.php?m=account_blocked&p=delete&id=$2&page=$1 [L]
## favorites
RewriteRule ^account/favorites/?$ index.php?m=account_favorites [L]
RewriteRule ^account/favorites/([0-9]+)/?$ index.php?m=account_favorites&page=$1 [L]
RewriteRule ^account/favorites/(online|fans)/?$ index.php?m=account_favorites&p=$1 [L]
RewriteRule ^account/favorites/fans/([0-9]+)/?$ index.php?m=account_favorites&p=fans&page=$1 [L]
RewriteRule ^account/favorites/add/([0-9]+)/?$ index.php?m=account_favorites&p=add&id=$1 [L]
RewriteRule ^account/favorites/delete/([0-9]+)/([0-9]+)/?$ index.php?m=account_favorites&p=delete&id=$2&page=$1 [L]
## friends
RewriteRule ^account/friends/?$ index.php?m=account_friends [L]
RewriteRule ^account/friends/([0-9]+)/?$ index.php?m=account_friends&page=$1 [L]
RewriteRule ^account/friends/(online|requests)/?$ index.php?m=account_friends&p=$1 [L]
RewriteRule ^account/friends/add/([0-9]+)/?$ index.php?m=account_friends&p=add&id=$1 [L]
RewriteRule ^account/friends/delete/([0-9]+)/([0-9]+)/?$ index.php?m=account_friends&p=delete&id=$2&page=$1 [L]
RewriteRule ^account/friends/accept/([0-9]+)/?$ index.php?m=account_friends&p=accept&id=$1 [L]
## visitors
RewriteRule ^account/visitors/?$ index.php?m=account_visitors [L]
RewriteRule ^account/visitors/([0-9]+)/?$ index.php?m=account_visitors&page=$1 [L]
RewriteRule ^account/visitors/add/([0-9]+)/?$ index.php?m=account_visitors&p=add&id=$1 [L]
## upgrade
RewriteRule ^account/upgrade/?$ index.php?m=account_upgrade [L]
RewriteRule ^account/upgrade/(credits|orders|success|failure)/?$ index.php?m=account_upgrade&p=$1 [L]
RewriteRule ^account/upgrade/payment/([0-9]+)/?$ index.php?m=account_upgrade&p=payment&id=$1 [L]
RewriteRule ^account/upgrade/payment/([0-9]+)(/([0-9]+))?/?$ index.php?m=account_upgrade&p=payment&id=$1&sid=$3 [L]
RewriteRule ^account/upgrade/ipn/([0-9a-zA-Z]+)/?$ index.php?m=account_upgrade&p=ipn&id=$1 [L]
## music, albums, videos, events
RewriteRule ^account/(audio|albums|videos|events)/?$ index.php?m=account_$1 [L]
RewriteRule ^account/(audio|albums|videos|events)/([0-9]+)/?$ index.php?m=account_$1&page=$2 [L]
RewriteRule ^account/(audio|albums|videos|events)/add/?$ index.php?m=account_$1&p=add [L]
RewriteRule ^account/(audio|albums|videos|events)/edit/([0-9]+)/?$ index.php?m=account_$1&p=edit&id=$2 [L]
RewriteRule ^account/(audio|albums|videos|events)/delete/([0-9]+)/([0-9]+)/?$ index.php?m=account_$1&p=delete&id=$3&page=$2 [L]
RewriteRule ^account/videos/comments/([0-9]+)/?$ index.php?m=account_videos&p=comments&id=$1 [L]
RewriteRule ^account/videos/comments/([0-9]+)/([0-9]+)/?$ index.php?m=account_videos&p=comments&id=$1&page=$2 [L]
RewriteRule ^account/videos/comments/delete/([0-9]+)/([0-9]+)/([0-9]+)/?$ index.php?m=account_videos&p=deletecomment&id=$1&sid=$2&page=$3 [L]
## pictures
RewriteRule ^account/pictures/?$ index.php?m=account_albums [L]
RewriteRule ^account/pictures/([0-9]+)/?$ index.php?m=account_pictures&aid=$1 [L]
RewriteRule ^account/pictures/([0-9]+)/([0-9]+)/?$ index.php?m=account_pictures&aid=$1&page=$2 [L]
RewriteRule ^account/pictures/add/([0-9]+)/?$ index.php?m=account_pictures&p=add&aid=$1 [L]
RewriteRule ^account/pictures/edit/([0-9]+)/([0-9]+)/?$ index.php?m=account_pictures&p=edit&aid=$1&id=$2 [L]
RewriteRule ^account/pictures/thumbnail/([0-9]+)/([0-9]+)/?$ index.php?m=account_pictures&p=thumbnail&aid=$1&id=$2 [L]
RewriteRule ^account/pictures/delete/([0-9]+)/([0-9]+)/([0-9]+)/?$ index.php?m=account_pictures&p=delete&page=$1&aid=$2&id=$3 [L]
RewriteRule ^account/pictures/primary/([0-9]+)/([0-9]+)/([0-9]+)/?$ index.php?m=account_pictures&p=primary&page=$1&aid=$2&id=$3 [L]
RewriteRule ^account/pictures/comments/([0-9]+)/([0-9]+)/?$ index.php?m=account_pictures&p=comments&aid=$1&id=$2 [L]
RewriteRule ^account/pictures/comments/([0-9]+)/([0-9]+)/([0-9]+)/?$ index.php?m=account_pictures&p=comments&aid=$1&id=$2&page=$3 [L]
RewriteRule ^account/pictures/comments/delete/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/?$ index.php?m=account_pictures&p=deletecomment&aid=$1&id=$2&sid=$3&page=$4 [L]
## events extra
RewriteRule ^account/events/joined/?$ index.php?m=account_events&p=joined [L]
RewriteRule ^account/events/joined/([0-9]+)/?$ index.php?m=account_events&p=joined&page=$1 [L]
RewriteRule ^account/events/guests/([0-9]+)/?$ index.php?m=account_events&p=guests&id=$1 [L]
RewriteRule ^account/events/deleteguest/([0-9]+)/([0-9]+)/?$ index.php?m=account_events&p=deleteguest&id=$1&sid=$2 [L]
RewriteRule ^account/events/leave/([0-9]+)/([0-9]+)/?$ index.php?m=account_events&p=leave&id=$2&page=$1 [L]
RewriteRule ^account/events/comments/([0-9]+)/?$ index.php?m=account_events&p=comments&id=$1 [L]
RewriteRule ^account/events/comments/([0-9]+)/([0-9]+)/?$ index.php?m=account_events&p=comments&id=$1&page=$2 [L]
RewriteRule ^account/events/comments/delete/([0-9]+)/([0-9]+)/([0-9]+)/?$ index.php?m=account_events&p=deletecomment&id=$1&cid=$2&page=$3 [L]
## events pictures
RewriteRule ^account/events/pictures/([0-9]+)/?$ index.php?m=account_events_pictures&eid=$1 [L]
RewriteRule ^account/events/pictures/([0-9]+)/([0-9]+)/?$ index.php?m=account_events_pictures&eid=$1&page=$2 [L]
RewriteRule ^account/events/pictures/add/([0-9]+)/?$ index.php?m=account_events_pictures&p=add&eid=$1 [L]
RewriteRule ^account/events/pictures/edit/([0-9]+)/([0-9]+)/?$ index.php?m=account_events_pictures&p=edit&eid=$1&id=$2 [L]
RewriteRule ^account/events/pictures/delete/([0-9]+)/([0-9]+)/([0-9]+)/?$ index.php?m=account_events_pictures&p=delete&page=$1&eid=$2&id=$3 [L]
RewriteRule ^account/events/pictures/primary/([0-9]+)/([0-9]+)/([0-9]+)/?$ index.php?m=account_events_pictures&p=primary&page=$1&eid=$2&id=$3 [L]
################################################################
##################### MEMBER PUBLIC PAGES #####################
################################################################
## profile
RewriteRule ^member/([0-9a-zA-Z_\-]+)/?$ index.php?m=member_profile&p=profile&id=$1 [L]
## picture albums
RewriteRule ^member/([0-9]+)/(albums|pictures)/?$ index.php?m=member_pictures&p=albums&id=$1 [L]
RewriteRule ^member/([0-9]+)/albums/([0-9]+)/?$ index.php?m=member_pictures&p=albums&id=$1&page=$2 [L]
RewriteRule ^member/([0-9]+)/pictures/([0-9]+)[a-zA-Z0-9\-]*/?$ index.php?m=member_pictures&p=pictures&id=$1&aid=$2 [L]
RewriteRule ^member/([0-9]+)/pictures/([0-9]+)[a-zA-Z0-9\-]*/([0-9]+)/?$ index.php?m=member_pictures&p=pictures&id=$1&aid=$2&page=$3 [L]
RewriteRule ^member/([0-9]+)/pictures/view/([0-9]+)/([0-9]+)[a-zA-Z0-9\-]*/?$ index.php?m=member_pictures&p=view&id=$1&aid=$2&sid=$3 [L]
RewriteRule ^member/([0-9]+)/pictures/view/([0-9]+)/([0-9]+)/back/?$ index.php?m=member_pictures&p=view&id=$1&aid=$2&sid=$3&d=back [L]
RewriteRule ^member/([0-9]+)/pictures/view/([0-9]+)/([0-9]+)/next/?$ index.php?m=member_pictures&p=view&id=$1&aid=$2&sid=$3&d=next [L]
RewriteRule ^member/([0-9]+)/pictures/view/([0-9]+)/([0-9]+)/first/?$ index.php?m=member_pictures&p=view&id=$1&aid=$2&sid=$3&d=first [L]
RewriteRule ^member/([0-9]+)/pictures/view/([0-9]+)/([0-9]+)/last/?$ index.php?m=member_pictures&p=view&id=$1&aid=$2&sid=$3&d=last [L]
## videos
RewriteRule ^member/([0-9]+)/videos/?$ index.php?m=member_videos&p=videos&id=$1 [L]
RewriteRule ^member/([0-9]+)/videos/([0-9]+)/?$ index.php?m=member_videos&p=videos&id=$1&page=$2 [L]
RewriteRule ^member/([0-9]+)/videos/view/([0-9]+)[a-zA-Z0-9\-]*/?$ index.php?m=member_videos&p=view&id=$1&sid=$2 [L]
RewriteRule ^member/([0-9]+)/videos/view/([0-9]+)/back/?$ index.php?m=member_videos&p=view&id=$1&sid=$2&d=back [L]
RewriteRule ^member/([0-9]+)/videos/view/([0-9]+)/next/?$ index.php?m=member_videos&p=view&id=$1&sid=$2&d=next [L]
RewriteRule ^member/([0-9]+)/videos/view/([0-9]+)/first/?$ index.php?m=member_videos&p=view&id=$1&sid=$2&d=first [L]
RewriteRule ^member/([0-9]+)/videos/view/([0-9]+)/last/?$ index.php?m=member_videos&p=view&id=$1&sid=$2&d=last [L]
## audio
RewriteRule ^member/([0-9]+)/audio/?$ index.php?m=member_audio&p=audio&id=$1 [L]
RewriteRule ^member/([0-9]+)/audio/([0-9]+)/?$ index.php?m=member_audio&p=audio&id=$1&offset=$2 [L]
RewriteRule ^member/([0-9]+)/audio/([0-9]+)/([0-9]+)/?$ index.php?m=member_audio&p=audio&id=$1&sid=$3&offset=$2 [L]
RewriteRule ^member/([0-9]+)/audio/xml/?$ index.php?m=member_audio&p=xml&id=$1 [L]
## guestbooks
RewriteRule ^member/([0-9]+)/guestbook/?$ index.php?m=member_guestbook&p=guestbook&id=$1 [L]
RewriteRule ^member/([0-9]+)/guestbook/([0-9]+)/?$ index.php?m=member_guestbook&p=guestbook&id=$1&page=$2 [L]
RewriteRule ^member/([0-9]+)/guestbook/([0-9]+)/([0-9]+)/?$ index.php?m=member_guestbook&p=guestbook&id=$1&page=$2&sid=$3 [L]
RewriteRule ^member/([0-9]+)/guestbook/rss/?$ index.php?m=member_guestbook&p=rss&id=$1 [L]
## gifts
RewriteRule ^member/([0-9]+)/gifts/?$ index.php?m=member_gifts&p=gifts&id=$1 [L]
RewriteRule ^member/([0-9]+)/gifts/([0-9]+)/?$ index.php?m=member_gifts&p=gifts&id=$1&page=$2 [L]
## blogs
RewriteRule ^member/([0-9]+)/blog/?$ index.php?m=member_blog&p=blog&id=$1 [L]
RewriteRule ^member/([0-9]+)/blog/([0-9]+)/?$ index.php?m=member_blog&p=blog&id=$1&page=$2 [L]
RewriteRule ^member/([0-9]+)/blog/view/([0-9]+)[a-zA-Z0-9\-]*/?$ index.php?m=member_blog&p=view&id=$1&sid=$2 [L]
RewriteRule ^member/([0-9]+)/blog/rss/?$ index.php?m=member_blog&p=rss&id=$1 [L]
## friends
RewriteRule ^member/([0-9]+)/friends/?$ index.php?m=member_friends&p=friends&id=$1 [L]
RewriteRule ^member/([0-9]+)/friends/([0-9]+)/?$ index.php?m=member_friends&p=friends&id=$1&page=$2 [L]
## events
RewriteRule ^member/([0-9]+)/events/?$ index.php?m=member_events&p=events&id=$1 [L]
###########################################################
##################### SITE WIDE PAGES #####################
###########################################################
## news
RewriteRule ^news/?$ index.php?m=news [L]
RewriteRule ^news/([0-9]+)/?$ index.php?m=news&page=$1 [L]
RewriteRule ^news/view/([0-9]+)[a-zA-Z0-9\-]*/?$ index.php?m=news&p=view&id=$1 [L]
RewriteRule ^news/rss/?$ index.php?m=news&p=rss [L]
## events
RewriteRule ^events/?$ index.php?m=events [L]
RewriteRule ^events/([0-9]+)/?$ index.php?m=events&date=$1 [L]
RewriteRule ^events/details/([0-9]+)[a-zA-Z0-9\-]*/?$ index.php?m=events&p=details&id=$1 [L]
RewriteRule ^events/guests/([0-9]+)/?$ index.php?m=events&p=guests&id=$1 [L]
RewriteRule ^events/join/([0-9]+)/?$ index.php?m=events&p=join&id=$1 [L]
RewriteRule ^events/calendar/?$ index.php?m=events&p=calendar [L]
RewriteRule ^events/calendar/([0-9]{6})/?$ index.php?m=events&p=calendar&date=$1 [L]
RewriteRule ^events/rss/?$ index.php?m=events&p=rss [L]
RewriteRule ^events/search/?$ index.php?m=events&p=search [L]
RewriteRule ^events/search/([0-9a-zA-Z]+)/?$ index.php?m=events&p=search&s=$1 [L]
RewriteRule ^events/search/([0-9a-zA-Z]+)/([0-9]+)/?$ index.php?m=events&p=search&s=$1&page=$2 [L]
RewriteRule ^events/search/([0-9a-zA-Z]+)/([a-zA-Z]+)/([a-zA-Z]+)/?$ index.php?m=events&p=search&s=$1&orderby=$2&direction=$3 [L]
## event pictures
RewriteRule ^events/pictures/([0-9]+)/?$ index.php?m=events_pictures&p=pictures&eid=$1 [L]
RewriteRule ^events/pictures/([0-9]+)/([0-9]+)/?$ index.php?m=events_pictures&p=pictures&eid=$1&page=$2 [L]
RewriteRule ^events/pictures/view/([0-9]+)/([0-9]+)/?$ index.php?m=events_pictures&p=view&eid=$1&sid=$2 [L]
RewriteRule ^events/pictures/view/([0-9]+)/([0-9]+)/back/?$ index.php?m=events_pictures&p=view&eid=$1&sid=$2&d=back [L]
RewriteRule ^events/pictures/view/([0-9]+)/([0-9]+)/next/?$ index.php?m=events_pictures&p=view&eid=$1&sid=$2&d=next [L]
RewriteRule ^events/pictures/view/([0-9]+)/([0-9]+)/first/?$ index.php?m=events_pictures&p=view&eid=$1&sid=$2&d=first [L]
RewriteRule ^events/pictures/view/([0-9]+)/([0-9]+)/last/?$ index.php?m=events_pictures&p=view&eid=$1&sid=$2&d=last [L]
## contact us, tell a friend
RewriteRule ^(contactus|invitefriends)/?$ index.php?m=$1 [L]
## custom pages
RewriteRule ^page/([0-9A-Za-z_\-]+)/?$ index.php?m=pages&p=$1 [L]
RewriteRule ^page/([0-9A-Za-z_\-]+)/([0-9A-Za-z_\-]+)/?$ index.php?m=pages&g=$1&p=$2 [L]
## search
RewriteRule ^search/?$ index.php?m=search [L]
RewriteRule ^search/(advanced|saved|matchmaker)/?$ index.php?m=search&p=$1 [L]
RewriteRule ^search/(saved|delete)/([0-9]+)/?$ index.php?m=search&p=$1&qid=$2 [L]
RewriteRule ^search/rss/([0-9]+)/([0-9a-zA-Z]+)/?$ index.php?m=search&p=rss&qid=$1&s=$2 [L]
RewriteRule ^search/([0-9a-zA-Z]+)/?$ index.php?m=search&s=$1 [L]
RewriteRule ^search/([0-9a-zA-Z]+)/([0-9]+)/?$ index.php?m=search&s=$1&page=$2 [L]
RewriteRule ^search/([0-9a-zA-Z]+)/([a-zA-Z]+)/([a-zA-Z]+)/?$ index.php?m=search&s=$1&orderby=$2&direction=$3 [L]
## blogs
RewriteRule ^blogs/?$ index.php?m=blogs [L]
RewriteRule ^blogs/([0-9]+)/?$ index.php?m=blogs&page=$1 [L]
RewriteRule ^blogs/([0-9]+)/(postdate|totalcomments|totalviews)/(asc|desc)/?$ index.php?m=blogs&page=$1&orderby=$2&direction=$3 [L]
RewriteRule ^blogs/([0-9]+)/(postdate|totalcomments|totalviews)/(asc|desc)/([a-zA-Z0-9\-]+)/?$ index.php?m=blogs&page=$1&orderby=$2&direction=$3&s=$4 [L]
## videos
RewriteRule ^videos/?$ index.php?m=videos [L]
RewriteRule ^videos/([0-9]+)/?$ index.php?m=videos&page=$1 [L]
RewriteRule ^videos/([0-9]+)/([0-9]+)/?$ index.php?m=videos&page=$1&category_id=$2 [L]
RewriteRule ^videos/([0-9]+)/([0-9]+)/(dateadded|averagerating|totalviews)/(asc|desc)/?$ index.php?m=videos&page=$1&category_id=$2&orderby=$3&direction=$4 [L]
RewriteRule ^videos/([0-9]+)/([0-9]+)/(dateadded|averagerating|totalviews)/(asc|desc)/([a-zA-Z0-9\-]+)/?$ index.php?m=videos&page=$1&category_id=$2&orderby=$3&direction=$4&s=$5 [L]
## pictures
RewriteRule ^pictures/?$ index.php?m=pictures [L]
RewriteRule ^pictures/([0-9]+)/?$ index.php?m=pictures&page=$1 [L]
RewriteRule ^pictures/([0-9]+)/(dateadded|averagerating|totalviews)/(asc|desc)/?$ index.php?m=pictures&page=$1&orderby=$2&direction=$3 [L]
RewriteRule ^pictures/([0-9]+)/(dateadded|averagerating|totalviews)/(asc|desc)/([a-zA-Z0-9\-]+)/?$ index.php?m=pictures&page=$1&orderby=$2&direction=$3&s=$4 [L]
## referrals
RewriteRule ^ref/([0-9]+)/?$ index.php?ref=$1 [L]
## rate pictures
RewriteRule ^hotornot/?$ index.php?m=hotornot [L]
RewriteRule ^hotornot/([0-9a-zA-Z]+)/?$ index.php?m=hotornot&s=$1 [L]
## members public page
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([0-9a-zA-Z_\-]+)/?$ index.php?m=member_profile&p=profile&id=$1 [L]
</IfModule> |
Partager