Forums / Setup & design / how to remove "eng" from url?

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

eZ debug

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

Main resources:

Total runtime0.9321 sec
Peak memory usage4,096.0000 KB
Database Queries212

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.1563180.8359
Module start 'content' 0.00700.7649 769.9922704.2969
Module end 'content' 0.77190.1602 1,474.2891340.4688
Script end 0.9321  1,814.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4453210.0002
Check MTime0.00160.1678210.0001
Mysql Total
Database connection0.00150.157610.0015
Mysqli_queries0.845290.67772120.0040
Looping result0.00220.23592100.0000
Template Total0.893895.920.4469
Template load0.00200.218520.0010
Template processing0.891895.671720.4459
Template load and register function0.00020.024610.0002
states
state_id_array0.00180.197810.0018
state_identifier_array0.00120.126520.0006
Override
Cache load0.00180.1908400.0000
Sytem overhead
Fetch class attribute can translate value0.00240.261260.0004
Fetch class attribute name0.00130.1363100.0001
XML
Image XML parsing0.00190.201460.0003
class_abstraction
Instantiating content class attribute0.00000.0018100.0000
General
dbfile0.00260.2820390.0001
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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