Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] How to change query search variable...
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RizyGFX" data-source="post: 453634" data-attributes="member: 79809"><p>this is my current code for rewrite could you modify it and let me know.</p><p></p><p>[CODE]<?xml version="1.0" encoding="UTF-8"?></p><p><configuration></p><p> <system.webServer></p><p> <rewrite></p><p> <rules> </p><p> <rule name="Imported Rule 69"></p><p><match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p><action type="Rewrite" url="index.php?url=home&amp;user={R:1}" appendQueryString="false" /></p><p></rule></p><p> <rule name="Imported Rule 1"></p><p> <match url="^(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 2"></p><p> <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 3"></p><p> <match url="^(.*)\.htm$" /></p><p> <action type="Rewrite" url="{R:1}.php" /></p><p> </rule></p><p> <rule name="Imported Rule 4"></p><p> <match url="^(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 5"></p><p> <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 6"></p><p> <match url="^(community/staff)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="staff" /></p><p> </rule></p><p> <rule name="Imported Rule 7"></p><p> <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=home&amp;user={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 8"></p><p> <match url="^profile(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="profile.php" /></p><p> </rule></p><p> <rule name="Imported Rule 9"></p><p> <match url="^profile/([^/]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="./profile.php?web-profile-tab={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 10"></p><p> <match url="^(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/index.php?url={R:1};" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 11"></p><p> <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/index.php?url={R:1};" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 12"></p><p> <match url="^(.*)\.htm$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/{R:1}.php;" /></p><p> </rule></p><p> <rule name="Imported Rule 13"></p><p> <match url="^(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/dash.php?page={R:1};" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 14"></p><p> <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/dash.php?url={R:1};" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 15"></p><p> <match url="^me/novote(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=me&amp;novote={R:1}" appendQueryString="false" /></p><p> </rule> </p><p> <rule name="Imported Rule 17"></p><p> <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=home&amp;user={R:1}" appendQueryString="false" /></p><p> </rule></p><p> </p><p> <rule name="Imported Rule 97"></p><p> <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=profile&amp;user={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 18" stopProcessing="true"></p><p> <match url="^news/(.*)/?$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=news&amp;id={R:1}" appendQueryString="true" /></p><p> </rule></p><p> <rule name="Imported Rule 19" stopProcessing="true"></p><p> <match url="^account/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=account&amp;tab={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 20" stopProcessing="true"></p><p> <match url="^badgeshop/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=badgeshop&amp;tab={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 21"></p><p> <match url="^me/novote(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=me&amp;novote={R:1}" appendQueryString="false" /></p><p> </rule> </p><p> <rule name="Imported Rule 16"></p><p> <match url="^habbo-imaging/badge/([^/]+)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Redirect to HTTP" stopProcessing="true"></p><p> <match url="(.*)" /></p><p> <conditions></p><p> <add input="{R:1}" pattern="^onepage/(.*)$" negate="true" /></p><p> <add input="{HTTPS}" pattern="^ON$" /></p><p> </conditions></p><p> <action type="Redirect" url="http://{HTTP_HOST}/{R:0}" redirectType="Permanent" /></p><p> </rule></p><p> <rule name="RequestBlockingRule1" stopProcessing="true"></p><p> <match url=".*" /></p><p> <conditions></p><p> <add input="{HTTP_USER_AGENT}" pattern="Wordpress" /></p><p> </conditions></p><p> <action type="CustomResponse" statusCode="403" statusReason="Forbidden: Access is denied." statusDescription="You do not have permission to view this directory or page using the credentials that you supplied." /></p><p> </rule></p><p> <rule name="rule 1T"></p><p> <match url="^news/([a-zA-Z0-9_-]+)(|/)$" /></p><p> <action type="Rewrite" url="/index.php?url=news&amp;id={R:1}" /></p><p> </rule></p><p> <rule name="rule 2T"></p><p> <match url="^account/([a-zA-Z0-9_-]+)(|/)$" /></p><p> <action type="Rewrite" url="/index.php?url=account&amp;tab={R:1}" /></p><p> </rule></p><p> <rule name="rule 3T"></p><p> <match url="^shop/([a-zA-Z0-9_-]+)(|/)$" /></p><p> <action type="Rewrite" url="/index.php?url=shop&amp;tab={R:1}" /></p><p> </rule></p><p> <rule name="rule 4T"></p><p> <match url="^badgeshop/([a-zA-Z0-9_-]+)(|/)$" /></p><p> <action type="Rewrite" url="/index.php?url=badgeshop&amp;tab={R:1}" /></p><p> </rule></p><p> <rule name="rule 1Y"></p><p> <match url="^home/([a-zA-Z0-9_-]+)(|/)$" /></p><p> <action type="Rewrite" url="/index.php?url=home&amp;user={R:1}" /></p><p></rule></p><p><rule name="Habbo Imaging Group Badges"></p><p> <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" /></p><p> <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Habbo Imaging Avatarimage 1"></p><p> <match url="^habbo-imaging/avatar/([^/]+)" ignoreCase="false" /></p><p> <action type="Rewrite" url="habbo-imaging/avatarimage.php?figure={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Habbo Imaging Avatar Image 2"></p><p> <match url="^habbo-imaging/avatarimage/([^/]+)" ignoreCase="false" /></p><p> <action type="Rewrite" url="habbo-imaging/avatarimage.php?username={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Habbo Imaging Avatar Head"></p><p> <match url="^habbo-imaging/head/([^/]+)" ignoreCase="false" /></p><p> <action type="Rewrite" url="habbo-imaging/head.php?figure={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Forum Threads"></p><p> <match url="^thread/([0-9]+)" /></p><p> <action type="Rewrite" url="index.php?url=thread&amp;threadid={R:1}" /></p><p> </rule></p><p> <rule name="Forum Posts"></p><p> <match url="^post/([0-9]+)" /></p><p> <action type="Rewrite" url="index.php?url=post&amp;postid={R:1}" /></p><p> </rule></p><p> </p><p> <rule name="Forum New Thread"></p><p> <match url="^create/([0-9]+)" /></p><p> <action type="Rewrite" url="index.php?url=newthread&amp;thread={R:1}" /></p><p> </rule></p><p></p><p></p><p> </rules></p><p> </p><p> </p><p> </rewrite></p><p> </system.webServer></p><p></configuration></p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="RizyGFX, post: 453634, member: 79809"] this is my current code for rewrite could you modify it and let me know. [CODE]<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Imported Rule 69"> <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="index.php?url=home&user={R:1}" appendQueryString="false" /> </rule> <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="^(community/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&user={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 8"> <match url="^profile(|/)$" ignoreCase="false" /> <action type="Rewrite" url="profile.php" /> </rule> <rule name="Imported Rule 9"> <match url="^profile/([^/]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="./profile.php?web-profile-tab={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 10"> <match url="^(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/index.php?url={R:1};" appendQueryString="false" /> </rule> <rule name="Imported Rule 11"> <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/index.php?url={R:1};" appendQueryString="false" /> </rule> <rule name="Imported Rule 12"> <match url="^(.*)\.htm$" ignoreCase="false" /> <action type="Rewrite" url="/{R:1}.php;" /> </rule> <rule name="Imported Rule 13"> <match url="^(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/dash.php?page={R:1};" appendQueryString="false" /> </rule> <rule name="Imported Rule 14"> <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/dash.php?url={R:1};" appendQueryString="false" /> </rule> <rule name="Imported Rule 15"> <match url="^me/novote(|/)$" ignoreCase="false" /> <action type="Rewrite" url="index.php?url=me&novote={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 17"> <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="index.php?url=home&user={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 97"> <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="index.php?url=profile&user={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 18" stopProcessing="true"> <match url="^news/(.*)/?$" ignoreCase="false" /> <action type="Rewrite" url="index.php?url=news&id={R:1}" appendQueryString="true" /> </rule> <rule name="Imported Rule 19" stopProcessing="true"> <match url="^account/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="index.php?url=account&tab={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 20" stopProcessing="true"> <match url="^badgeshop/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="index.php?url=badgeshop&tab={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 21"> <match url="^me/novote(|/)$" ignoreCase="false" /> <action type="Rewrite" url="index.php?url=me&novote={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 16"> <match url="^habbo-imaging/badge/([^/]+)$" ignoreCase="false" /> <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" /> </rule> <rule name="Redirect to HTTP" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{R:1}" pattern="^onepage/(.*)$" negate="true" /> <add input="{HTTPS}" pattern="^ON$" /> </conditions> <action type="Redirect" url="http://{HTTP_HOST}/{R:0}" redirectType="Permanent" /> </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 directory or page using the credentials that you supplied." /> </rule> <rule name="rule 1T"> <match url="^news/([a-zA-Z0-9_-]+)(|/)$" /> <action type="Rewrite" url="/index.php?url=news&id={R:1}" /> </rule> <rule name="rule 2T"> <match url="^account/([a-zA-Z0-9_-]+)(|/)$" /> <action type="Rewrite" url="/index.php?url=account&tab={R:1}" /> </rule> <rule name="rule 3T"> <match url="^shop/([a-zA-Z0-9_-]+)(|/)$" /> <action type="Rewrite" url="/index.php?url=shop&tab={R:1}" /> </rule> <rule name="rule 4T"> <match url="^badgeshop/([a-zA-Z0-9_-]+)(|/)$" /> <action type="Rewrite" url="/index.php?url=badgeshop&tab={R:1}" /> </rule> <rule name="rule 1Y"> <match url="^home/([a-zA-Z0-9_-]+)(|/)$" /> <action type="Rewrite" url="/index.php?url=home&user={R:1}" /> </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="Forum Threads"> <match url="^thread/([0-9]+)" /> <action type="Rewrite" url="index.php?url=thread&threadid={R:1}" /> </rule> <rule name="Forum Posts"> <match url="^post/([0-9]+)" /> <action type="Rewrite" url="index.php?url=post&postid={R:1}" /> </rule> <rule name="Forum New Thread"> <match url="^create/([0-9]+)" /> <action type="Rewrite" url="index.php?url=newthread&thread={R:1}" /> </rule> </rules> </rewrite> </system.webServer> </configuration> [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] How to change query search variable...
Top