https:// to http://

Discussion in 'Apache' started by Blinksy, May 14, 2007.

  1. #1
    Hi,

    With my cms, the emails are sending out links with https:// instead of http://

    Can someone tell me how to redirect this with a 301 for all links, until I can figure out how to change what the emailer sends?

    Thanks
     
    Blinksy, May 14, 2007 IP
  2. rodney88

    rodney88 Guest

    Messages:
    480
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could use mod_rewrite. This should check the server port for being 443 (as used for the https connection) and redirects everything to the corresponding http:// page. Just place in a .htaccess file in your domain root (i.e. domain.com/.htaccess)
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /
    RewriteCond %{SERVER_PORT} ^443$
    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
    Code (markup):
     
    rodney88, May 14, 2007 IP
  3. Blinksy

    Blinksy Well-Known Member

    Messages:
    415
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #3
    I tried your code but i still get no rewrite :(
    Here is the contents of my htaccess
    Options All -Indexes
    DirectoryIndex index.php index.htm index.html
    
    RewriteEngine on
    
    Options +FollowSymLinks
    RewriteBase /
    RewriteCond %{SERVER_PORT} ^443$
    RewriteRule ^(.*)$ http://www.metalthrone.net/$1 [R=301,L]
    
    [L]
    RewriteRule ^article-comments-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&sid=$1&pid=$2 [L]
    RewriteRule ^article-reply-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&op=Reply&pid=$1&sid=$2 [L]
    RewriteRule ^article-showreply-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&op=showreply&tid=$1&sid=$2&pid=$3 [L]
    RewriteRule ^article-([0-9-]*)-([a-z]*)-([0-9]*)-([0-9]*).html([0-9#]*) modules.php?name=News&file=article&thold=$1&mode=$2&order=$3&sid=$4$5 [L]
    RewriteRule ^article-topic([0-9]*)-page([0-9]*).html modules.php?name=News&new_topic=$1&pagenum=$2 [L]
    RewriteRule ^article-category([0-9]*)-page([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1&pagenum=$2 [L]
    
    
    #AvantGo
    RewriteRule ^avantgo-print-([0-9]*).html modules.php?name=AvantGo&file=print&sid=$1 [L]
    RewriteRule ^avantgo.html modules.php?name=AvantGo [L]
    
    #Content
    RewriteRule ^content-([0-9]*)-page([0-9]*).html modules.php?name=Content&pa=showpage&pid=$1&page=$2 [L]
    RewriteRule ^content-cat-([0-9]*).html modules.php?name=Content&pa=list_pages_categories&cid=$1 [L]
    RewriteRule ^content-([0-9]*).html modules.php?name=Content&pa=showpage&pid=$1 [L]
    RewriteRule ^content.html modules.php?name=Content [L]
    
    #Downloads
    RewriteRule ^downloadview-(comments|details|editorial)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=viewdownload$1&lid=$2&ttitle=$3 [L]
    RewriteRule ^download-mod-([0-9]*).html modules.php?name=Downloads&d_op=modifydownloadrequest&lid=$1 [L]
    RewriteRule ^download-broken-([0-9]*).html modules.php?name=Downloads&d_op=brokendownload&lid=$1 [L]
    RewriteRule ^download-shownew-([0-9]*).html modules.php?name=Downloads&d_op=NewDownloads&newdownloadshowdays=$1 [L]
    RewriteRule ^download-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1 [L]
    RewriteRule ^download-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1 [L]
    RewriteRule ^ratedownload-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1&ttitle=$2 [L]
    RewriteRule ^ratedownload-([0-9]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1 [L]
    RewriteRule ^download-(TopRated|MostPopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&d_op=$1&ratenum=$2&ratetype=$3 [L]
    RewriteRule ^downloads-(AddDownload|NewDownloads|MostPopular|TopRated).html modules.php?name=Downloads&d_op=$1 [L]
    RewriteRule ^download([0-9]*)-orderby([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2 [L]
    RewriteRule ^download([0-9]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=$3&show=$4 [L]
    RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
    RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&orderby=$2 [L]
    RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=search&query=$1 [L]
    RewriteRule ^download-outside-([0-9]*).html modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=$1 [L]
    RewriteRule ^downloads-cat([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1 [L]
    RewriteRule ^downloads.html modules.php?name=Downloads [L]
    
    #Encyclopedia
    RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*)-([a-zA-Z0-9_-]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2&query=$3 [L]
    RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2 [L]
    RewriteRule ^encyclopedia-([0-9]*)-([a-zA-Z0-9_-]*).html modules.php?name=Encyclopedia&op=content&tid=$1&query=$2 [L]
    RewriteRule ^encyclopedia-([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1 [L]
    RewriteRule ^encyclopedia-list-([0-9]*).html modules.php?name=Encyclopedia&op=list_content&eid=$1 [L]
    RewriteRule ^encyclopedia-terms([0-9]*)-([A-Z]*).html modules.php?name=Encyclopedia&op=terms&eid=$1&ltr=$2 [L]
    RewriteRule ^encyclopedia-search-([a-zA-Z0-9_-]*).html modules.php?name=Encyclopedia&file=search&query=$1 [L]
    RewriteRule ^encyclopedia-search.html modules.php?name=Encyclopedia&file=search [L]
    RewriteRule ^encyclopedia.html modules.php?name=Encyclopedia [L]
    
    #Feedback
    RewriteRule ^feedback.html modules.php?name=Feedback [L]
    
    #FAQ
    RewriteRule ^faq.html modules.php?name=FAQ [L]
    RewriteRule ^faq-([0-9]*)-([a-zA-Z0-9\+\&\-\/%[:punct:]\.\;\ ]*).html modules.php?name=FAQ&myfaq=yes&id_cat=$1&categories=$2 [L]
    
    #Forums
    RewriteRule ^ftopic-([0-9]*)-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9_-]*).html modules.php?name=Forums&file=viewtopic&t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L]
    RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9_-]*)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&postdays=$2&postorder=$3&highlight=$4&start=$5 [L]
    RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&postdays=$2&postorder=$3&start=$4 [L]
    RewriteRule ^ftopic-voteresults-([0-9]*)-days([0-9]*)-order(desc|asc).html modules.php?name=Forums&file=viewtopic&t=$1&postdays=$2&postorder=$3&vote=viewresult [L]
    RewriteRule ^ftopic-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&start=$2 [L]
    RewriteRule ^ftopic-([0-9]*)-(previous|next).html modules.php?name=Forums&file=viewtopic&t=$1&view=$2 [L]
    RewriteRule ^ftopic(t|p)-([0-9]*)-([A-Za-z0-9_-]*).html modules.php?name=Forums&file=viewtopic&$1=$2&highlight=$3 [L]
    RewriteRule ^ftopic-([0-9]*)-(watch|unwatch)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&$2=topic&start=$3 [L]
    RewriteRule ^ftopic(t|p)-([0-9]*).html modules.php?name=Forums&file=viewtopic&$1=$2 [L]
    RewriteRule ^ftopic(t|p)-([0-9]*).html#([0-9]*) modules.php?name=Forums&file=viewtopic&$1=$2#$3 [L]
    RewriteRule ^forum-editprofile.html modules.php?name=Forums&file=profile&mode=editprofile [L]
    RewriteRule ^forum-userprofile-([0-9]*).html modules.php?name=Forums&file=profile&mode=viewprofile&u=$1 [L]
    RewriteRule ^forum-register-new.html modules.php?name=Forums&file=profile&mode=register&agreed=true [L]
    RewriteRule ^forum-register-coppa.html modules.php?name=Forums&file=profile&mode=register&agreed=true&coppa=true [L]
    RewriteRule ^forum-register.html modules.php?name=Forums&file=profile&mode=register [L]
    RewriteRule ^forums-posting.html modules.php?name=Forums&file=modules&name=Forums&file=posting [L]
    RewriteRule ^forum-faq-bbcode.html modules.php?name=Forums&file=faq&mode=bbcode [L]
    RewriteRule ^ftopic-post-([0-9]*).html modules.php?name=Forums&file=posting&t=$1 [L]
    RewriteRule ^ftopic-quote-([0-9]*).html modules.php?name=Forums&file=posting&mode=quote&p=$1 [L]
    RewriteRule ^ftopic-vote-([0-9]*).html modules.php?name=Forums&file=posting&mode=vote&t=$1 [L]
    RewriteRule ^ftopic-new-([0-9]*).html modules.php?name=Forums&file=posting&mode=newtopic&f=$1 [L]
    RewriteRule ^ftopic-edit-([0-9]*).html modules.php?name=Forums&file=posting&mode=editpost&p=$1 [L]
    RewriteRule ^ftopic-reply-([0-9]*).html modules.php?name=Forums&file=posting&mode=reply&t=$1 [L]
    RewriteRule ^ftopic-delete-([0-9]*).html modules.php?name=Forums&file=posting&mode=delete&p=$1 [L]
    RewriteRule ^ftopic-smilies.html modules.php?name=Forums&file=posting&mode=smilies&popup=1 [L]
    RewriteRule ^ftopic-topicreview-([0-9]*).html modules.php?name=Forums&file=posting&mode=topicreview&t=$1&popup=1 [L]
    RewriteRule ^forum-posting.html modules.php?name=Forums&file=posting [L]
    RewriteRule ^forums-group([0-9]*).html modules.php?name=Forums&file=groupcp&g=$1 [L]
    RewriteRule ^fsearch-author-([a-zA-Z0-9_-]*).html modules.php?name=Forums&file=search&search_author=$1 [L]
    RewriteRule ^fsearch-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=search&search_id=$1&start=$2 [L]
    RewriteRule ^fsearch-(unanswered|egosearch|newposts).html modules.php?name=Forums&file=search&search_id=$1 [L]
    RewriteRule ^fsearch-results.html modules.php?name=Forums&file=search&mode=results [L]
    RewriteRule ^forums-([^index][a-zA-Z0-9_-]*).html modules.php?name=Forums&file=$1 [L]
    RewriteRule ^forum-c([0-9]*).html modules.php?name=Forums&file=index&c=$1 [L]
    RewriteRule ^forum-mark.html modules.php?name=Forums&file=index&mark=forums [L]
    RewriteRule ^forums.html modules.php?name=Forums&file=index [L]
    RewriteRule ^forum-viewonline.html modules.php?name=Forums&file=viewonline [L]
    RewriteRule ^forum-([0-9]*)-days([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1&topicdays=$2&start=$3 [L]
    RewriteRule ^forum-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1&start=$2 [L]
    RewriteRule ^forum-([0-9]*)-mark.html modules.php?name=Forums&file=viewforum&f=$1&mark=topics [L]
    RewriteRule ^forum-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1 [L]
    RewriteRule ^forums.html modules.php?name=Forums [L]
    
    #NSN Groups
    RewriteRule ^groups-([0-9]*).html modules.php?name=Groups&op=GRInfo&gid=$1 [L]
    RewriteRule ^groups.html modules.php?name=Groups [L]
    
    #HTML Newsletter
    RewriteRule ^html_newsletter-([0-9]*).html modules.php?name=HTML_Newsletter&file=index&op=msnl_nls_view&msnl_nid=$1 [L]
    RewriteRule ^html_newsletter-copyright.html modules.php?name=HTML_Newsletter&op=msnl_copyright_credits [L]
    RewriteRule ^html_newsletter.html modules.php?name=HTML_Newsletter [L]
    
    #Journal
    RewriteRule ^journal-search-([a-zA-Z0-9]*).html modules.php?name=Journal&file=search&bywhat=aid&exact=1&forwhat=$1 [L]
    RewriteRule ^journal(search|delete|commentkill)-(bywhat|jid|onwhat)([a-zA-Z0-9]*)-(forwhat|ref)([a-zA-Z0-9]*).html modules.php?name=Journal&file=$1&$2=$3&$4=$5 [L]
    RewriteRule ^journal-search-([0-9]*)-([a-zA-Z0-9_-]*).html modules.php?name=Journal&file=search&bywhat=$1&forwhat=$2 [L]
    RewriteRule ^journal-([a-zA-Z0-9+]*)-(jid|onwhat|disp|op|disp)-([a-zA-Z0-9+]*).html modules.php?name=Journal&file=$1&$2=$3 [L]
    RewriteRule ^journal-edit.html modules.php?name=Journal&file=edit [L]
    RewriteRule ^journal(file|op)-([a-zA-Z0-9]*).html modules.php?name=Journal&$1=$2 [L]
    RewriteRule ^journal.html modules.php?name=Journal [L]
    
    #Members List
    RewriteRule ^members.html modules.php?name=Members_List [L]
    
    #MetAuthors - only additional rewrite rules not already present will go here
    RewriteRule ^metauthors.html modules.php?name=rwsMetAuthors [L]
    
    #NukeSentinel
    RewriteRule ^nukesentinel.html modules.php?name=NukeSentinel [L]
    
    #Private Messages
    RewriteRule ^messages-read-(savebox|inbox|outbox|sentbox)-([0-9]*).html modules.php?name=Private_Messages&file=index&folder=$1&mode=read&p=$2 [L]
    RewriteRule ^messages-start-(savebox|inbox|outbox|sentbox)-([0-9]*).html modules.php?name=Private_Messages&file=index&folder=$1&start=$2 [L]
    RewriteRule ^messages-(reply|quote)-([0-9]*).html modules.php?name=Private_Messages&file=index&mode=$1&p=$2 [L]
    RewriteRule ^messages-post-([0-9]*).html modules.php?name=Private_Messages&mode=post&u=$1 [L]
    RewriteRule ^messages-new.html modules.php?name=Private_Messages&file=index&mode=post [L]
    RewriteRule ^messages-(sentbox|inbox|savebox|outbox).html modules.php?name=Private_Messages&file=index&folder=$1 [L]
    RewriteRule ^messages-popup.html modules.php?name=Private_Messages&file=index&mode=newpm&popup=1 [L]
    RewriteRule ^messages.html modules.php?name=Private_Messages [L]
    
    #Recommend Us
    RewriteRule ^recommend.html modules.php?name=Recommend_Us [L]
    
    #Reviews
    RewriteRule ^reviews-new.html modules.php?name=Reviews&rop=write_review [L]
    RewriteRule ^reviews-preview.html modules.php?name=Reviews&rop=preview_review [L]
    RewriteRule ^reviews-([0-9]*)-page([0-9]*).html modules.php?name=Reviews&rop=showcontent&id=$1&page=$2 [L]
    RewriteRule ^reviews-([0-9]*).html modules.php?name=Reviews&rop=showcontent&id=$1 [L]
    RewriteRule ^reviews-comment-([0-9]*)-([[:punct:]?/:\-\'{}()._&a-zA-Z0-9+=\%\ ]*).* modules.php?name=Reviews&rop=postcomment&id=$1&title=$2 [L]
    RewriteRule ^reviews-([0-9]*)-delete.html modules.php?name=Reviews&rop=del_review&id_del=$1 [L]
    RewriteRule ^reviews-([0-9]*)-edit.html modules.php?name=Reviews&rop=mod_review&id=$1 [L]
    RewriteRule ^reviews-([0-9]*)-delcomment-([0-9]*).html modules.php?name=Reviews&rop=del_comment&cid=$1&id=$2 [L]
    RewriteRule ^reviews-([a-zA-Z0-9]*)-orderby-([a-z]*)-([a-zA-Z]*).html modules.php?name=Reviews&rop=$1&field=$2&order=$3 [L]
    RewriteRule ^reviews-sortby-([a-zA-Z0-9]*).html modules.php?name=Reviews&rop=$1 [L]
    RewriteRule ^reviews.html modules.php?name=Reviews [L]
    
    #Search
    RewriteRule ^search-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([a-zA-Z]*)-([0-9]*).html modules.php?name=Search&author=$1&topic=$2&min=$3&query=$4&type=$5&category=$6 [L]
    RewriteRule ^search-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([a-zA-Z]*).html modules.php?name=Search&author=$1&topic=$2&min=$3&query=$4&type=$5 [L]
    RewriteRule ^search-author-([a-zA-Z0-9]*).html modules.php?name=Search&author=$1 [L]
    RewriteRule ^search-comments-([0-9]*).html modules.php?name=Search&type=comments&sid=$1 [L]
    RewriteRule ^search-([a-zA-Z0-9_-]*)-([a-zA-Z0-9_-]*).html modules.php?name=Search&query=$1&author=$2 [L]
    RewriteRule ^search-([0-9]*).html modules.php?name=Search&query=&topic=$1 [L]
    RewriteRule ^search-users.html modules.php?name=Search&type=users [L]
    RewriteRule ^search.html* modules.php?name=Search [L]
    
    #Statistics
    RewriteRule ^stats-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=Statistics&op=DailyStats&year=$1&month=$2&date=$3 [L]
    RewriteRule ^stats-([0-9]*)-([0-9]*).html modules.php?name=Statistics&op=MonthlyStats&year=$1&month=$2 [L]
    RewriteRule ^stats-([0-9]*).html modules.php?name=Statistics&op=YearlyStats&year=$1 [L]
    RewriteRule ^advstats.html modules.php?name=Statistics&op=Stats [L]
    RewriteRule ^stats.html modules.php?name=Statistics [L]
    
    #Stories Archive
    RewriteRule ^archive.html modules.php?name=Stories_Archive [L]
    RewriteRule ^archive-showall.html modules.php?name=Stories_Archive&sa=show_all [L]
    RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* modules.php?name=Stories_Archive&sa=show_month&year=$1&month=$2&month_l=$3 [L]
    
    #Surveys
    RewriteRule ^survey-results-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&op=results&pollID=$1&mode=$2&order=$3&thold=$4 [L]
    RewriteRule ^survey-results-([0-9]*).html modules.php?name=Surveys&op=results&pollID=$1 [L]
    RewriteRule ^survey-([0-9]*).html modules.php?name=Surveys&pollID=$1 [L]
    RewriteRule ^survey-comment-([0-9]*)-(tid|pid)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&pollID=$1&$2=$3&mode=$4&order=$5&thold=$6 [L]
    RewriteRule ^survey-commreply-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=Reply&pid=$1&pollID=$2&mode=$3&order=$4&thold=$5 [L]
    RewriteRule ^survey-showreply-([0-9]*)-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&pollID=$2&pid=$3&mode=$4&order=$5&thold=$6 [L]
    RewriteRule ^survey-showreply-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&mode=$2&order=$3&thold=$4 [L]
    RewriteRule ^survey-comments.html modules.php?name=Surveys&file=comments [L]
    RewriteRule ^surveys.html modules.php?name=Surveys [L]
    
    #Submit_News
    RewriteRule ^submit.html modules.php?name=Submit_News [L]
    
    #Topics
    RewriteRule ^topics.html modules.php?name=Topics [L]
    
    #Top10
    RewriteRule ^top-([[:print:]]*).html modules.php?name=Top&zx=$1 [L]
    RewriteRule ^top.html modules.php?name=Top [L]
    
    #WebLinks
    RewriteRule ^viewlinkcomments-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkcomments&lid=$1&ttitle=$2 [L]
    RewriteRule ^viewlinkdetails-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkdetails&lid=$1&ttitle=$2 [L]
    RewriteRule ^vieweditorial-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkeditorial&lid=$1&ttitle=$2 [L]
    RewriteRule ^modifylink-([0-9]+).html modules.php?name=Web_Links&l_op=modifylinkrequest&lid=$1 [L]
    RewriteRule ^brokenlink-([0-9]+).html modules.php?name=Web_Links&l_op=brokenlink&lid=$1 [L]
    RewriteRule ^outsidelink-([0-9]+).html modules.php?name=Web_Links&l_op=outsidelinksetup&lid=$1 [L]
    RewriteRule ^linkop-(MostPopular|mostpopular)-([0-9]+)-(num|percent).html modules.php?name=Web_Links&l_op=MostPopular&ratenum=$2&ratetype=$3 [L]
    RewriteRule ^linkop-(TopRated|toprated)-([0-9]+)-(num|percent).html modules.php?name=Web_Links&l_op=TopRated&ratenum=$2&ratetype=$3 [L]
    RewriteRule ^newlinks-([0-9]+).html modules.php\?name=Web_Links&l_op=NewLinks&newlinkshowdays=$1 [L]
    RewriteRule ^linksnew-([0-9]+).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinksDate&selectdate=$1 [L]
    RewriteRule ^linkop-(AddLink|addlink).html modules.php?op=modload&name=Web_Links&file=index&l_op=AddLink [L]
    RewriteRule ^linkop-(MostPopular|mostpopular).html modules.php?op=modload&name=Web_Links&file=index&l_op=MostPopular [L]
    RewriteRule ^linkop-(NewLinks|newlinks).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinks [L]
    RewriteRule ^linkop-(RandomLink|randomlink).html modules.php?op=modload&name=Web_Links&file=index&l_op=RandomLink [L]
    RewriteRule ^linkop-(TopRated|toprated).html modules.php?op=modload&name=Web_Links&file=index&l_op=TopRated [L]
    RewriteRule ^ratelink-([0-9]*)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1&ttitle=$2 [L]
    RewriteRule ^viewlink-([0-9]*).html modules.php?name=Web_Links&l_op=visit&lid=$1 [L]
    RewriteRule ^links-([0-9]*)-([a-zA-Z0-9]*).html modules.php?name=Web_Links&file=index&l_op=viewlink&cid=$1&orderby=$2 [L]
    RewriteRule ^links-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html modules.php?name=Web_Links&file=index&l_op=viewlink&cid=$1&min=$2&orderby=$3&show=$4 [L]
    RewriteRule ^link-([0-9]*).html modules.php?name=Web_Links&l_op=viewlink&cid=$1 [L]
    RewriteRule ^links-search-([a-zA-Z0-9]*)-([0-9]*)-orderby-([a-zA-Z]*)-([0-9]*) modules.php?name=Web_Links&l_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
    RewriteRule ^links-search-([a-zA-Z0-9_-]*)-orderby-([a-zA-Z]*).html modules.php?name=Web_Links&l_op=search&query=$1&orderby=$2 [L]
    RewriteRule ^links-search-([a-zA-Z0-9_-]*).html modules.php?name=Web_Links&l_op=search&query=$1 [L]
    RewriteRule ^links.html modules.php?name=Web_Links [L]
    
    #Your Account
    RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html modules.php?name=Your_Account&op=userinfo&username=$1 [L]
    RewriteRule ^account-avatarsave-([a-z]*)-([\.0-9a-z]*).html modules.php?name=Your_Account&op=avatarsave&category=$1&avatar=$2 [L]
    RewriteRule ^account-([a-z_]*).html modules.php?name=Your_Account&op=$1 [L]
    RewriteRule ^account-gfx-([0-9]*).html index.php?gfx=gfx&random_num=$1 [L]
    RewriteRule ^account.html modules.php?name=Your_Account [L]
    
    Options +FollowSymLinks
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^metalthrone\.net$
    RewriteRule ^(.*)$ http://www.metalthrone.net/$1 [R=301,L]
    
    
    Code (markup):
     
    Blinksy, May 14, 2007 IP
  4. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Your htaccess is file is so long, probably bigger than few of your pages..:0
     
    inworx, May 14, 2007 IP
  5. Blinksy

    Blinksy Well-Known Member

    Messages:
    415
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #5
    Yes, it is for phpnuke shortlinks, which changes php links to html. It has brought me success with regards to indexing :)
     
    Blinksy, May 14, 2007 IP
  6. rodney88

    rodney88 Guest

    Messages:
    480
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Are you using a different port for your SSL connection? 443 is the default but it may be another.
     
    rodney88, May 15, 2007 IP
  7. Blinksy

    Blinksy Well-Known Member

    Messages:
    415
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #7
    I am not sure as it is not me running the server it is a friend. He appears to not have SSL at all? "So he says"
     
    Blinksy, May 15, 2007 IP