Loading...
 
Skip to main content

Features / Usability


How to remove tiki-index.php from URL

Hi,

I would like to change the homepage url from

http://yourdomain.com/mytiki/tiki-index.phpQuestion

to

http://yourdomain.com/mytikiQuestion


How can I achieve that ?


I added the code (underlined) RewriteRule . tiki-index.php L before the line(italic) RewriteRule (.*) - L in my .htaccess file

The above one removes tiki-index.php when url is http://yourdomain.com/mytikiQuestion but clicking on home link brings tiki-index.php back. It also breaks the site css and log in module stops working.


My tiki is installed in 'mytiki' folder so url of that folder is: http://mydomain.com/mytiki/Question. My .htaccess reside in 'mytiki' folder.


Thanks.


Dear Xavi,

I already did what you said but for some reasons, it does not work.

But few other codes are working, for example,


RewriteRule ^articles$ tiki-view_articles.php L


Here in the url, it shows 'articles', instead of, tiki-view_articles.php which means my .htaccess is working. But it is ignoring tiki-index.php rewrite. When I am clicking on wikihome or just typing the url of my site, it is showing http://domain.com/tikifolder/tiki-index.phpQuestion



Hope you can show me way.

Thanks.


ask your sys admin to check the apache error logs to see why it doesn't work for you with wiki pages.
Good luck