Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Help with rewriting
Page:  previous  1  2 
Avatar
CiviHosting #16
Member since Mar 2018 · 7 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 59932
Quote by katkota on 2018-03-06, 18:43:
Thanks Atiq4pk.. If i'm going to use the re-write , i wanted it to replace the whole address of "http://ServerA/dokuwiki/doku.php?id=start" with only "ServerA" so basically if user open a browser and type in the address "ServerA", it should direct them to the full URL

Yes, using "Nice URLs" can do that for you. See here: https://www.dokuwiki.org/rewrite
Avatar
turnermm (Moderator) #17
Member since Oct 2009 · 4163 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
If your wiki is in the document root, a very simple way to do this is with an index.php file in the document root directory.
For instance , I use this technique for https://mturner.org with the following index.php file:
<?php
header("Location: devel/doku.php");

devel is the name of the directory for the wiki.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page:  previous  1  2 
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2018-07-21, 00:04:34 (UTC +02:00)