AddDefaultCharset Off

RewriteEngine On

RewriteRule ^index.html$ index.php

RewriteRule ^register/index.html$ register.php
RewriteRule ^login/index.html$ login.php
RewriteRule ^logout/index.html$ logout.php
RewriteRule ^loginconfirm/([^/]+)$ loginconfirm.php?id=$1
RewriteRule ^loginconfirm/([^/]+)/$ loginconfirm.php?id=$1
RewriteRule ^howitworks/index.html$ how_it_works.php
RewriteRule ^faq/index.html$ faq.php
RewriteRule ^seeallauctions/index.html$ see.php

RewriteRule ^user/index.html$ user_detail.php
RewriteRule ^profile/index.html$ view_profile.php
RewriteRule ^addprofile/index.html$ add_profile.php
RewriteRule ^addp/([^/]+)/$ add_profile.php?uid=$1
RewriteRule ^profile/([^/]+)$ profile.php?id=$1


RewriteRule ^profile1/([^/]+)/$ view_profile.php?uid=$1
RewriteRule ^profiles/([^/]+)/$ view_profile.php?uid=$1
RewriteRule ^profile/([^/]+)/([^/]+)$ view_profile.php?id=$2
RewriteRule ^profile/([^/]+)/([^/]+)/$ view_profile.php?id=$2
RewriteRule ^profile1/([^/]+)/$ view_profile.php?id=$1
RewriteRule ^viewprofile/([^/]+)/([^/]+)/$ view_profile.php?id=$1&dele=$1

RewriteRule ^product/watchlist/add/([^/]+)$ product_details.php?wpid=$1
RewriteRule ^product/watchlist/add/([^/]+)/$ product_details.php?wpid=$1


RewriteRule ^news/interview-with-doobid-mini-wiiner/([^/]+)$ interview_detail.php?interid=$1
RewriteRule ^news/interview-with-doobid-mini-wiiner/([^/]+)/$ interview_detail.php?interid=$1


RewriteRule ^([^/]+)/([^/]+)/auction/([^/]+)/$ product_details.php?prodid=$3
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)/$ product_details.php?prodid=$4
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)/$ product_details.php?prodid=$5
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)/$ product_details.php?prodid=$6
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)/$ product_details.php?prodid=$7
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)/$ product_details.php?prodid=$8
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)/$ product_details.php?prodid=$9
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)/$ product_details.php?prodid=$10

RewriteRule ^([^/]+)/([^/]+)/auction/([^/]+)$ product_details.php?prodid=$3
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)$ product_details.php?prodid=$4
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)$ product_details.php?prodid=$5
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)$ product_details.php?prodid=$6
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)$ product_details.php?prodid=$7
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)$ product_details.php?prodid=$8
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)$ product_details.php?prodid=$9
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/auction/([^/]+)$ product_details.php?prodid=$10



RewriteRule ^productdetails/([^/]+)/$ product_details.php?prodid=$1
RewriteRule ^product/futuredetails/([^/]+)$ product_futuredetails.php?prodid=$1
RewriteRule ^product/futuredetails/([^/]+)/$ product_futuredetails.php?prodid=$1

RewriteRule ^producreviws/([^/]+)$ prproduct_reviews.php?product_id=$1
RewriteRule ^productre/index.html$ product_reviews.php
RewriteRule ^productnews/index.html$ product_news.php
RewriteRule ^newsdetail/index.html$ news_details.php
RewriteRule ^news/([^/]+)$ news_details.php?news_id=$1
RewriteRule ^news/([^/]+)/$ product_details.php?news_id=$1
RewriteRule ^forgot-your-password/index.html$ forgotten_password.php
RewriteRule ^forgot-your-password/([^/]+)$ forgotten_password.php?msg=$1
RewriteRule ^forgot-your-password/([^/]+)/$ forgotten_password.php?msg=$1

RewriteRule ^myauctions/index.html$ my_auctions.php
RewriteRule ^my-greenbot/index.html$ my_bidbutlers.php
RewriteRule ^mygreenbot/([^/]+)/$ my_bidbutlers.php?uid=$1
RewriteRule ^viewwall/([^/]+)/$ view_allwall.php?id=$1
RewriteRule ^writewall/([^/]+)/$ writeonwall.php?id=$1
RewriteRule ^watchlist/index.html$ watchlist.php
RewriteRule ^watchlists/([^/]+)/$ watchlist.php?uid=$1
RewriteRule ^wonauctions/index.html$ won_auctions.php
RewriteRule ^wonauction/([^/]+)/$ won_auctions.php?uid=$1
RewriteRule ^sdob/([^/]+)/$ s.php?dob=$1
RewriteRule ^sex/([^/]+)/$ s.php?sex=$1
RewriteRule ^closedauctions/index.html$ closed_auctions.php
RewriteRule ^green-project/index.html$ green.php
RewriteRule ^green-project/([^/]+)/$ green.php?uid=$1

RewriteRule ^buybidpack/([^/]+)/$ buy_bidpack.php?pkg_id=$1
RewriteRule ^buybidpack/([^/]+)$ buy_bidpack.php?pkg_id=$1
RewriteRule ^buybids/index.html$ buy_bids.php
RewriteRule ^bidhistory/index.html$ bid_history.php
RewriteRule ^myvouchers/index.html$ my_vouchers.php
RewriteRule ^useraccount/index.html$ user_account.php
RewriteRule ^useraddresses/index.html$ user_addresses.php
RewriteRule ^changepassword/index.html$ change_password.php
RewriteRule ^closeaccount/index.html$ close_account.php

RewriteRule ^hotspots/index.html$ hotspots.php
RewriteRule ^hotspots/([^/]+)$ hotspots.php?hid=$1
RewriteRule ^hotspots/([^/]+)/$ hotspots.php?hid=$1
RewriteRule ^viewhotspots/([^/]+)$ view_hotspots.php?viewid=$1
RewriteRule ^viewhotspots/([^/]+)/$ view_hotspots.php?viewid=$1
RewriteRule ^allcategories/index.html$ all_categories.php
RewriteRule ^liveauctions/index.html$ live_auctions.php
RewriteRule ^featured/index.html$ featured.php
RewriteRule ^fixedprice/index.html$ fixed_price.php
RewriteRule ^futureauctions/index.html$ future_auctions.php
RewriteRule ^penny/index.html$ penny.php
RewriteRule ^charity/index.html$ charity.php
RewriteRule ^search/([^/]+)/([^/]+)$ search.php?keyword=$1&catproduct=$2
RewriteRule ^search/([^/]+)/([^/]+)/$ search.php?keyword=$1&catproduct=$2

RewriteRule ^userblog/([^/]+)/$ userblogs.php?uid=$1
RewriteRule ^blog/success/index.html$ blog.php?success=1
RewriteRule ^blog/aboutyou/index.html$ blog.php?aboutyou=1
RewriteRule ^blogpopular/index.html$ blog_popular.php
RewriteRule ^editblog/index.html$ editblog.php
RewriteRule ^editblogs/([^/]+)/$ editblog.php?blog_id=$1&s=1&img=1

RewriteRule ^blogspopular/index.html$ blogs_popular.php
RewriteRule ^100off/index.html$ 100off.php
RewriteRule ^rookie/index.html$ rookie_auctions.php
RewriteRule ^blogcomment/([^/]+)/$ blogcomment.php?blog_id=$1
RewriteRule ^blogcomment/([^/]+)$ blogcomment.php?blog_id=$1


RewriteRule ^addidea/index.html$ add_idea.php
RewriteRule ^addprofile/index.html$ addprofile.php
RewriteRule ^addcomment/index.html$ addcomment.php

RewriteRule ^help/index.html$ help.php
RewriteRule ^terms/index.html$ terms.php
RewriteRule ^privacy/index.html$ privacy.php
RewriteRule ^aboutus/index.html$ aboutus.php
RewriteRule ^contact/index.html$ contact.php
RewriteRule ^pressmedia/index.html$ press_media.php
RewriteRule ^refer-a-friend/index.html$ refer.php

RewriteRule ^addcomment/index.html$ addcomment.php
RewriteRule ^addcomment/success/([^/]+)/$ addcomment.php?blog_id=$1&success=success
RewriteRule ^addcomment/success/([^/]+)$ addcomment.php?blog_id=$1&success=success

RewriteRule ^feedback/index.html$ feedback.php
RewriteRule ^feedback/([^/]+)/$ feedback.php?aid=$1
RewriteRule ^feedback/([^/]+)$ feedback.php?aid=$1

RewriteRule ^allauctions/([^/]+)/([^/]+)/$ allauctions.php?cat=$1&type=$2
RewriteRule ^allauctions/([^/]+)/([^/]+)$ allauctions.php?cat=$1&type=$2
RewriteRule ^allauctions/([^/]+)/$ allauctions.php?cat=$0

RewriteRule ^shareidea/success/index.html$ share_idea.php?success=1
RewriteRule ^shareidea/aboutyou/index.html$ share_idea.php?aboutyou=1
RewriteRule ^shareidea/down/([^/]+)/$ share_idea.php?aboutyou=1&points_id=$1&down=1
RewriteRule ^ideapopular/index.html$ idea_popular.php
RewriteRule ^ideaaction/index.html$ idea_action.php
RewriteRule ^viewidea/success/([^/]+)/$ view_idea.php?share_id=$1&success=success
RewriteRule ^viewidea/([^/]+)/([^/]+)/$ view_idea.php?share_id=$1&down=$1&points_id=2
RewriteRule ^ideapopular/up/([^/]+)/$ idea_popular.php?points_id=$1&up=1
RewriteRule ^ideaaction/up/([^/]+)/$ idea_action.php?points_id=$1&up=1
RewriteRule ^ideaaction/down/([^/]+)/$ idea_action.php?points_id=$1&up=1
RewriteRule ^ideapopular/down/([^/]+)/$ idea_popular.php?points_id=$1&down=1
RewriteRule ^ideapopular/up/([^/]+)/$ idea_popular.php?points_id=$1&up=1
RewriteRule ^ideacomment/success/([^/]+)/$ idea_comment.php?share_id=$1

RewriteRule ^latestwinner/index.html$ latest_winners.php
RewriteRule ^winnerinterviews/index.html$ winner_interviews.php
RewriteRule ^myauction/([^/]+)/$ my_auctions.php?uid=$1


RewriteRule ^subcat/([^/]+)/allauction/([^/]+)/$ allauctions.php?cat=$2
RewriteRule ^subcat/([^/]+)/([^/]+)/allauction/([^/]+)/$ allauctions.php?cat=$3
RewriteRule ^subcat/([^/]+)/([^/]+)/([^/]+)/allauction/([^/]+)/$ allauctions.php?cat=$4
RewriteRule ^subcat/([^/]+)/([^/]+)/([^/]+)/([^/]+)/allauction/([^/]+)/$ allauctions.php?cat=$5
RewriteRule ^subcat/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/allauction/([^/]+)/$ allauctions.php?cat=$6
RewriteRule ^subcat/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/allauction/([^/]+)/$ allauctions.php?cat=$7
RewriteRule ^subcat/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/allauction/([^/]+)/$ allauctions.php?cat=$8

RewriteRule ^subcat/([^/]+)/([^/]+)/$ subcat.php?catid=$2
RewriteRule ^subcat/([^/]+)/([^/]+)/([^/]+)/$ subcat.php?catid=$3
RewriteRule ^subcat/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ subcat.php?catid=$4
RewriteRule ^subcat/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ subcat.php?catid=$5
RewriteRule ^subcat/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ subcat.php?catid=$6
RewriteRule ^subcat/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ subcat.php?catid=$7
RewriteRule ^subcat/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ subcat.php?catid=$8
