Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to url rewite and url prefix

Re: url rewite and url prefix

> I have rewrite rules running on a dev tiki but as the browser thinks it is running in a subdirectory all relative links are broken:
>
> http://localhost/tiki-index.php?page=ExampleQuestion
> works fine as the scrips are in this folder
>
> http://localhost/tiki-index.php/ExampleQuestion
> fails badly as the browser looks for stuff in the Example dir
>
> I have tried setting the HTTP URL prefix: to http://localhost/Question but any value in this box seems to make no difference to anything. I can’t even seem to break stuff more with this!
>
> So question is. Should I set the url prefix to solve my problem?
> If so any ideas on why the prefix is ineffective?
>
You may want to research "base href"
-Tagg