Hello,
Can someone show me how to make {url}/staff/1 and {url}/staff/2 on IIS?
Thanks
Hello,
Can someone show me how to make {url}/staff/1 and {url}/staff/2 on IIS?
Thanks
Okay, you didn't explain what you wanted properly but im gonna assume that you want to create another staff page or something of that sort.
I will also assume that you are using RevCms and have a proper hotel setup.
1.) What you are trying to do is adding another page to most commonly the Community tab if your theme uses, PHP menu's then you will have to edit this in one file or other wise you will have to edit the menu HTML in all the pages which are in the community tab.
go to Computer> C:/ Intpub( maybe the file name is not exact, i've not used webservers for a long time now) -> app -> tpl -> skins-> [THEME FOLDER] ->staff->
Now here copy the staff page which you described as (1) and then paste and rename it to (2)[As per your description] open it and make the changes you want to.
Then simply add a HyperLink using the <a href="location/PageName.php"> </a> to your menus so your users can find it.
Thanks Like and Rep+
If i helped :)
You can do this with some simple rewrite rules.
Create a folder in your rootcms folder called staff and place 2 staff page as 1 and another as 2, there you go.
Look at the code you're rewriting VIP to be {url}/shop/vip. Of course this won't effect your staff page. A simple edit will probably fix this:
I don't really know IIS or web.config/url rewrite too well... But that should be the edited version of the code, or something along those lines.Code:<rule name="Imported Rule 15"> <match url="^(staff/owner)$" ignoreCase="false" /> <action type="Rewrite" url="owner" /> </rule>
P.S. Where it saysI'm pretty sure that is the php file in your theme's folder.Code:<action type="Rewrite" url="owner" />
Hope this helps.