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.

eZ debug

Timing: Jan 18 2025 11:40:19
Script start
Timing: Jan 18 2025 11:40:19
Module start 'layout'
Timing: Jan 18 2025 11:40:19
Module start 'content'
Timing: Jan 18 2025 11:40:20
Module end 'content'
Timing: Jan 18 2025 11:40:20
Script end

Main resources:

Total runtime0.9233 sec
Peak memory usage4,096.0000 KB
Database Queries75

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.0313152.6250
Module start 'layout' 0.00610.0033 741.656339.4453
Module start 'content' 0.00940.9124 781.1016699.2188
Module end 'content' 0.92180.0015 1,480.320320.1641
Script end 0.9233  1,500.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3223160.0002
Check MTime0.00120.1255160.0001
Mysql Total
Database connection0.00080.087710.0008
Mysqli_queries0.859593.0857750.0115
Looping result0.00080.0831730.0000
Template Total0.890996.520.4455
Template load0.00190.209820.0010
Template processing0.889096.280220.4445
Template load and register function0.00010.015410.0001
states
state_id_array0.00080.091310.0008
state_identifier_array0.00130.138620.0006
Override
Cache load0.00170.1826400.0000
Sytem overhead
Fetch class attribute can translate value0.00070.077150.0001
Fetch class attribute name0.00170.1839100.0002
XML
Image XML parsing0.00160.170350.0003
class_abstraction
Instantiating content class attribute0.00000.0024100.0000
General
dbfile0.00110.1177280.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs