how to remove "eng" from url?

Author Message

Brian Baxter

Saturday 30 June 2007 4:20:11 pm

I was trying to figure out how do i remove the "eng" from my urls, i.e.

from: http://www.domain.com/eng/forums
to: http://www.domain.com/forums

Behind every great fortune lies a crime.
http://www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
http://www.galants.org - The Home for Galant Enthusiasts
http://www.locatemyip.com - More than just free IP displays

Nabil Alimi

Monday 02 July 2007 5:27:32 am

Hi Brian,

You need to switch to VirtualHost and configure your site.ini[siteaccesssettings] likje :

MatchOrder=host
HostMatchType=map
HostMatchMapItems[]=mydomain.com;eng

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Brian Baxter

Monday 02 July 2007 8:13:25 pm

Ok, I tried it all out, I already tried those things initially, and it told me that, one of the settings couldn't be set to an empty value. Next I tried what you showed me, and cleared the cache and it still didn't work. Is there something i am doing wrong. I am using version 3.9.2?

Behind every great fortune lies a crime.
http://www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
http://www.galants.org - The Home for Galant Enthusiasts
http://www.locatemyip.com - More than just free IP displays

Bartek Modzelewski

Monday 02 July 2007 11:50:45 pm

Hi Brian

You probably have to add also some part to you eng siteaccess site.ini file:

[SiteAccessSettings]
...
PathPrefix=eng

This should remove "/eng" from your URLs.

Baobaz
http://www.baobaz.com

Brian Baxter

Sunday 08 July 2007 5:12:41 am

After trying to modify what was suggested, I just screwed up something in the site, where my modules arent showing I have cleared the cache and this still doesn't fix the problem of which I just created.

DOES ANYONE HERE KNOW HOW TO DO THIS ON 3.9.2???reliably, not guessing, because I hate looking for info, and then I feel like I am crazy when I can't find it, only to realize that there may have been some misunderstanding, or misinformation.

Behind every great fortune lies a crime.
http://www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
http://www.galants.org - The Home for Galant Enthusiasts
http://www.locatemyip.com - More than just free IP displays

Sunday 08 July 2007 7:01:33 am

You would be wise to keep a backup of the last best working copy of your site.

Some recommend setting up an automated backup of everything every 30min or greater when doing active development on your production site ...

http://ezpedia.org/wiki/en/ez/ez_publish_best_practices#eztoc882_1_2
http://ezpedia.org/wiki/en/ez/upgrading

Heath

Sunday 08 July 2007 7:15:24 am

I think the problem is not what was suggested perhaps rather your understanding of the actual problem.

Many could answer yes to your shouting but it would serve you no more than sympathy the problem remains is you don't.

It is disappointing that your frustrated but this is most commonly little more than a settings configuration problem for those who have not used the hostmatchmapitems correctly

<i>http://ez.no/doc/ez_publish/technical_manual/3_9/reference/configuration_files/site_ini/siteaccesssettings</i>

If you understand you don't know (<i>yet</i>) how to understand the problem which afflicts you, why not consider purchasing support.

In an hour's time you very well could not only have a solution to your problem but a greater understanding of eZ Publish as enlightened by the vendor (which is even more helpful).

http://ez.no/services/support

Even we have purchased support from eZ systems! Because at some point we all need a little light in this life to show us the way, more clearly without so much open to interpretation.

<i>I value your use of eZ and will do my best to address your concerns to the powers that be (meaning I'll say a prayer for you)</i>

Regards,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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