Remove "plain" in URL

Author Message

Philip K.

Friday 04 November 2005 12:43:26 am

Hi.

I've chosen the plain-design in ez but I want to remove the word "plain" (http://www.site.de/index.php/PLAIN/...). Is it possible to remove it and how does it work?

Best regards and thanks for your help...

Linux is like a wigwam; no windows, now gates, and apache inside!

Gurudutt Verma

Monday 07 November 2005 5:51:39 am

Hi!

The link you have given is not working,

btw, if you have installed eZ publish and have choosen Plain design and you want to change that word plain then from your eZ publish root directory go to

settings/siteaccess/plain_user/site.ini.append.php
Set following

[SiteSettings]
SiteName=Your choosen Name

Philip K.

Monday 07 November 2005 6:09:13 am

Hi.

Thank you for your answer.
The url isn't working, it was only an example :)

btw, I don't want to change the word "plain" I want to remove it from my url.

Example:
The current url is:
http://www.my-site.de/index.php/plain/news.... (whatever)

But I want the url to display:
http://www.my-site.de/index.php/news...

As I said before: I want to remove the word plain.
Btw: at www.ez.no it is made like this, there is no index.php and no design-name in the url...

Linux is like a wigwam; no windows, now gates, and apache inside!

Gurudutt Verma

Monday 07 November 2005 6:34:36 am

aahaaa

I guess you are using MatchOrder=uri in site.ini

1. Change it to host or port in site.ini
[SiteAccessSettings]
MatchOrder=host

2. set DefaultSiteAccess name in site.ini file
[SiteSettings]
DefaultAccess=plain_user

I hope this should help you.

Philip K.

Monday 07 November 2005 6:51:19 am

Thanks a lot - works fine :)

Linux is like a wigwam; no windows, now gates, and apache inside!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.