Revcms News ariticles

FunzyKiller

Member
Apr 7, 2014
201
5
This is a small issue but just for neat and tidyness, i hope someone could help me with this small issue.
Basically when u post an articles/new when u click on it it would be localhost/iindex.php?url=news&id=13
but i wanted it to be localhost/news/13
how do i make it to be like that? can someone help?
 

Dan3212

Member
Mar 30, 2016
86
10
Yeah just basic web.config code. I have a full web.config for you, if there's any problems just reply with quotes
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Imported Rule 1">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 2">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 3">
                    <match url="^(.*)\.htm$" />
                    <action type="Rewrite" url="{R:1}.php" />
                </rule>
                <rule name="Imported Rule 4">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 5">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 6">
                    <match url="^(staff)$" ignoreCase="false" />
                    <action type="Rewrite" url="staff" />
                </rule>
                <rule name="Imported Rule 7">
                    <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=home&amp;user={R:1}" appendQueryString="false" />
                </rule>
             
                <rule name="Forum Rule 1">
                    <match url="^forums$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=forums" appendQueryString="false" />
                </rule>
             
                <rule name="Forum Rule 2">
                    <match url="^forums/post/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=post&amp;post={R:1}" appendQueryString="false" />
                </rule>
             
                <rule name="Forum Rule 3">
                    <match url="^forums/category/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=category&amp;cat={R:1}" appendQueryString="false" />
                </rule>
             
         
                <rule name="Imported Rule 11">
                    <match url="^community/emeralds(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=evip" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 12">
                    <match url="^pures/buy(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pures" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 13">
                    <match url="^pures/ranks(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pshop" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 14">
                    <match url="^pures/currency(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pshop2" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 15">
                    <match url="^pures/badges(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badgeshop" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 16">
                    <match url="^badgeshop/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badgeshop&amp;id={R:1}" appendQueryString="false" />
                </rule>
             
     
                <rule name="Imported Rule 17">
                    <match url="^news/([a-zA-Z0-9_-]+)/delete/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news&amp;id&amp;deleteid={R:1}" appendQueryString="false" />
                 
                </rule>
                <rule name="Imported Rule 1-1">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 2-1">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 3-1">
                    <match url="^(.*)\.htm$" />
                    <action type="Rewrite" url="{R:1}.php" />
                </rule>
                <rule name="Imported Rule 4-1">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 5-1">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 6-1">
                    <match url="^(staff)$" ignoreCase="false" />
                    <action type="Rewrite" url="staff" />
                </rule>
                <rule name="Imported Rule 7-1">
                    <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=home&amp;user={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 8-1">
                    <match url="^news/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news&amp;id={R:1}" appendQueryString="false" />
                </rule>
             
                <rule name="Imported Rule 11-1">
                    <match url="^community/emeralds(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=evip" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 12-1">
                    <match url="^pures/buy(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pures" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 13-1">
                    <match url="^pures/ranks(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pshop" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 14-1">
                    <match url="^pures/currency(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pshop2" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 15-1">
                    <match url="^pures/badges(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badgeshop" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 16-1">
                    <match url="^badgeshop/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badgeshop&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 17-1">
                    <match url="^news/([a-zA-Z0-9_-]+)/delete/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news&amp;id&amp;deleteid={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 18">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 19">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 20">
                    <match url="^(.*)\.htm$" />
                    <action type="Rewrite" url="{R:1}.php" />
                </rule>
                <rule name="Imported Rule 21">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 22">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 23">
                    <match url="^(.*)\.htm$" />
                    <action type="Rewrite" url="{R:1}.php" />
                 
                </rule>
         
                <rule name="Imported Rule 26">
                    <match url="^profile/1" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=profile" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 27">
                    <match url="^profile/2" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=email" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 28">
                    <match url="^profile/3" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=password" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 29">
                    <match url="^badgeshop/([^/]+)" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badgeshop" appendQueryString="false" />
                </rule>
             
                  <rule name="Imported Rule 30">
                    <match url="^groups/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=group" appendQueryString="false" />
                </rule>
             
         
                 <rule name="Imported Rule 34">
                    <match url="^store/ranks(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=store" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 35">
                    <match url="^community/articles(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 36">
                    <match url="^community/staff(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staff" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 37">
                    <match url="^community/leaderboards(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=topstats" appendQueryString="false" />
                </rule>
                <rule name="Group Badge">
    <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false"  />
    <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false"  />
</rule>
                <rule name="Imported Rule 38">
                    <match url="^community/fansites(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=fansites" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 39">
                    <match url="^account/profile(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=profile" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 40">
                    <match url="^account/email(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=email" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 41">
                    <match url="^account/password(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pass" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 42">
                    <match url="^redirect/forums/staticway(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=red1" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 45">
                    <match url="^habbo-imaging/badge/([^/]+)$" ignoreCase="false"  />
                    <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 46">
                    <match url="^habbo-imaging/head/([^/]+)$" ignoreCase="false" />
                    <action type="Rewrite" url="/habbo-imaging/head.php?figure={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 47">
                    <match url="^store/diamonds(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=diamonds" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 48">
                    <match url="^store/badges(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badgeshop" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 49">
                    <match url="^community/online(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=online" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 50">
                    <match url="^community/statistics(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=statistics" appendQueryString="false" />
                </rule>
<rule name="RequestBlockingRule1" stopProcessing="true">
          <match url=".*" />
          <conditions>
            <add input="{HTTP_USER_AGENT}" pattern="WordPress" />
          </conditions>
          <action type="CustomResponse" statusCode="403" statusReason="Forbidden: Access is denied." statusDescription="You do not have permission to view this page." />
        </rule>
                <rule name="Habbo Imaging Group Badges">
          <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" />
          <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
        </rule>
        <rule name="Habbo Imaging Avatarimage 1">
          <match url="^habbo-imaging/avatar/([^/]+)" ignoreCase="false" />
          <action type="Rewrite" url="habbo-imaging/avatarimage.php?figure={R:1}" appendQueryString="false" />
        </rule>
        <rule name="Habbo Imaging Avatar Image 2">
          <match url="^habbo-imaging/avatarimage/([^/]+)" ignoreCase="false" />
          <action type="Rewrite" url="habbo-imaging/avatarimage.php?username={R:1}" appendQueryString="false" />
        </rule>
        <rule name="Habbo Imaging Avatar Head">
          <match url="^habbo-imaging/head/([^/]+)" ignoreCase="false" />
          <action type="Rewrite" url="habbo-imaging/head.php?figure={R:1}" appendQueryString="false" />
        </rule>
             
                <rule name="Imported Rule 31" stopProcessing="true">
                    <match url="." ignoreCase="false" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{HTTP_USER_AGENT}" pattern="WordPress" ignoreCase="false" />
                    </conditions>
                    <action type="CustomResponse" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" />
                </rule>
             
             
             
             
            </rules>
        </rewrite>
        <defaultDocument>
            <files>
                <clear />
                <add value="index.php" />
                <add value="Default.htm" />
                <add value="Default.asp" />
                <add value="index.htm" />
                <add value="index.html" />
                <add value="iisstart.htm" />
            </files>
        </defaultDocument>
    </system.webServer>
</configuration>
 

FunzyKiller

Member
Apr 7, 2014
201
5
Yeah just basic web.config code. I have a full web.config for you, if there's any problems just reply with quotes
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Imported Rule 1">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 2">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 3">
                    <match url="^(.*)\.htm$" />
                    <action type="Rewrite" url="{R:1}.php" />
                </rule>
                <rule name="Imported Rule 4">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 5">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 6">
                    <match url="^(staff)$" ignoreCase="false" />
                    <action type="Rewrite" url="staff" />
                </rule>
                <rule name="Imported Rule 7">
                    <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=home&amp;user={R:1}" appendQueryString="false" />
                </rule>
            
                <rule name="Forum Rule 1">
                    <match url="^forums$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=forums" appendQueryString="false" />
                </rule>
            
                <rule name="Forum Rule 2">
                    <match url="^forums/post/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=post&amp;post={R:1}" appendQueryString="false" />
                </rule>
            
                <rule name="Forum Rule 3">
                    <match url="^forums/category/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=category&amp;cat={R:1}" appendQueryString="false" />
                </rule>
            
        
                <rule name="Imported Rule 11">
                    <match url="^community/emeralds(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=evip" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 12">
                    <match url="^pures/buy(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pures" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 13">
                    <match url="^pures/ranks(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pshop" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 14">
                    <match url="^pures/currency(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pshop2" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 15">
                    <match url="^pures/badges(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badgeshop" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 16">
                    <match url="^badgeshop/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badgeshop&amp;id={R:1}" appendQueryString="false" />
                </rule>
            
    
                <rule name="Imported Rule 17">
                    <match url="^news/([a-zA-Z0-9_-]+)/delete/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news&amp;id&amp;deleteid={R:1}" appendQueryString="false" />
                
                </rule>
                <rule name="Imported Rule 1-1">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 2-1">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 3-1">
                    <match url="^(.*)\.htm$" />
                    <action type="Rewrite" url="{R:1}.php" />
                </rule>
                <rule name="Imported Rule 4-1">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 5-1">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 6-1">
                    <match url="^(staff)$" ignoreCase="false" />
                    <action type="Rewrite" url="staff" />
                </rule>
                <rule name="Imported Rule 7-1">
                    <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=home&amp;user={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 8-1">
                    <match url="^news/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news&amp;id={R:1}" appendQueryString="false" />
                </rule>
            
                <rule name="Imported Rule 11-1">
                    <match url="^community/emeralds(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=evip" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 12-1">
                    <match url="^pures/buy(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pures" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 13-1">
                    <match url="^pures/ranks(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pshop" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 14-1">
                    <match url="^pures/currency(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pshop2" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 15-1">
                    <match url="^pures/badges(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badgeshop" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 16-1">
                    <match url="^badgeshop/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badgeshop&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 17-1">
                    <match url="^news/([a-zA-Z0-9_-]+)/delete/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news&amp;id&amp;deleteid={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 18">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 19">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 20">
                    <match url="^(.*)\.htm$" />
                    <action type="Rewrite" url="{R:1}.php" />
                </rule>
                <rule name="Imported Rule 21">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 22">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 23">
                    <match url="^(.*)\.htm$" />
                    <action type="Rewrite" url="{R:1}.php" />
                
                </rule>
        
                <rule name="Imported Rule 26">
                    <match url="^profile/1" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=profile" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 27">
                    <match url="^profile/2" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=email" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 28">
                    <match url="^profile/3" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=password" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 29">
                    <match url="^badgeshop/([^/]+)" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badgeshop" appendQueryString="false" />
                </rule>
            
                  <rule name="Imported Rule 30">
                    <match url="^groups/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=group" appendQueryString="false" />
                </rule>
            
        
                 <rule name="Imported Rule 34">
                    <match url="^store/ranks(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=store" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 35">
                    <match url="^community/articles(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 36">
                    <match url="^community/staff(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staff" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 37">
                    <match url="^community/leaderboards(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=topstats" appendQueryString="false" />
                </rule>
                <rule name="Group Badge">
    <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false"  />
    <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false"  />
</rule>
                <rule name="Imported Rule 38">
                    <match url="^community/fansites(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=fansites" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 39">
                    <match url="^account/profile(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=profile" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 40">
                    <match url="^account/email(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=email" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 41">
                    <match url="^account/password(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pass" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 42">
                    <match url="^redirect/forums/staticway(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=red1" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 45">
                    <match url="^habbo-imaging/badge/([^/]+)$" ignoreCase="false"  />
                    <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 46">
                    <match url="^habbo-imaging/head/([^/]+)$" ignoreCase="false" />
                    <action type="Rewrite" url="/habbo-imaging/head.php?figure={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 47">
                    <match url="^store/diamonds(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=diamonds" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 48">
                    <match url="^store/badges(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badgeshop" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 49">
                    <match url="^community/online(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=online" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 50">
                    <match url="^community/statistics(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=statistics" appendQueryString="false" />
                </rule>
<rule name="RequestBlockingRule1" stopProcessing="true">
          <match url=".*" />
          <conditions>
            <add input="{HTTP_USER_AGENT}" pattern="WordPress" />
          </conditions>
          <action type="CustomResponse" statusCode="403" statusReason="Forbidden: Access is denied." statusDescription="You do not have permission to view this page." />
        </rule>
                <rule name="Habbo Imaging Group Badges">
          <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" />
          <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
        </rule>
        <rule name="Habbo Imaging Avatarimage 1">
          <match url="^habbo-imaging/avatar/([^/]+)" ignoreCase="false" />
          <action type="Rewrite" url="habbo-imaging/avatarimage.php?figure={R:1}" appendQueryString="false" />
        </rule>
        <rule name="Habbo Imaging Avatar Image 2">
          <match url="^habbo-imaging/avatarimage/([^/]+)" ignoreCase="false" />
          <action type="Rewrite" url="habbo-imaging/avatarimage.php?username={R:1}" appendQueryString="false" />
        </rule>
        <rule name="Habbo Imaging Avatar Head">
          <match url="^habbo-imaging/head/([^/]+)" ignoreCase="false" />
          <action type="Rewrite" url="habbo-imaging/head.php?figure={R:1}" appendQueryString="false" />
        </rule>
            
                <rule name="Imported Rule 31" stopProcessing="true">
                    <match url="." ignoreCase="false" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{HTTP_USER_AGENT}" pattern="WordPress" ignoreCase="false" />
                    </conditions>
                    <action type="CustomResponse" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" />
                </rule>
            
            
            
            
            </rules>
        </rewrite>
        <defaultDocument>
            <files>
                <clear />
                <add value="index.php" />
                <add value="Default.htm" />
                <add value="Default.asp" />
                <add value="index.htm" />
                <add value="index.html" />
                <add value="iisstart.htm" />
            </files>
        </defaultDocument>
    </system.webServer>
</configuration>
I would want to have 2 htaccess and web config do u mind share?
 

Users who are viewing this thread

Top