Here you goCode:<rule name="Imported Rule 6" stopProcessing="true">
<match url="^home/(.*)/?$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=home&user={R:1}" appendQueryString="true" />
</rule>
Printable View
I ment for .htaccess not web.config srry
Where can I edit my things so this: password and url etc?sorry i am dutch xx
any sql for vault?
Hey, Jack - great release man, much appreciated.
I have a few problems and questions:
- Is the home page suppose to be functional? The page works for me, however, you can't edit anything (Add images, post, etc) - I saw on Lime that it wasn't working for you as well, not sure if it's suppose to work?
- Can I have the rules for the other pages (Webconfig) such as ; Packages, Badge Store, Super VIP and Trusted Dealers. I'm also missing the rules for the news.
Or could you simply paste your whole webconfig? Would be easier.
Thanks a lot man if you could post the webconfig rules for those pages I'd be more than happy! Btw, do you still have your old CMS? The haddoCMS one? If you do, do you release it to anyone?
Hey there. Thanks for the positive feedback, here you go.
Code:<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 zz">
<match url="^ase/(.*)/?$" ignoreCase="false" />
<action type="Rewrite" url="/ase/index.php?url={R:1}" appendQueryString="true" />
</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" stopProcessing="true">
<match url="^home/(.*)/?$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=home&user={R:1}" appendQueryString="true" />
</rule>
<rule name="Imported Rule 11" 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 7" stopProcessing="true">
<match url="^ref/(.*)/?$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=register&refer={R:1}" appendQueryString="true" />
</rule>
<rule name="Imported Rule 8">
<match url="store/packages(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=packages" />
</rule>
<rule name="Imported Rule 9">
<match url="store/badge(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=badge" />
</rule>
<rule name="Imported Rule 10">
<match url="store/super(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=super" />
</rule>
</rules>
</rewrite>
I wish you could put in the code for home/(name) to work. I just edited it so people could still see the homes of users; index.php?url=home&user=(username)
Release your shop page please..
Hi mate, I love the theme but I have one error;
Everytime I try going to a news article, it goes to this http://**********/news/2
(protected URL)
Then it says object not found,
Please help,
Regards
Anyone?
Hi.
You'll need to use my web.config
Code:<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 zz">
<match url="^ase/(.*)/?$" ignoreCase="false" />
<action type="Rewrite" url="/ase/index.php?url={R:1}" appendQueryString="true" />
Whats Wrong wit Layout?
http://gyazo.com/bdca0818f06c3c268036a9f390e69599
If you read back a page there's a resolution for it.
Replace index.php in wwwroot/htdocs with
Code:<?php
define('IN_INDEX', 1);
require_once 'global.php';
$core->handleCall($engine->secure($_GET['url']));
$template->html->get($engine->secure($_GET['url']));
$template->outputTPL();
?>