Forums / General / URL Translation problems

URL Translation problems

Author Message

Francesc Febrer

Monday 16 February 2004 9:33:08 am

Hi,

I have my site configurated at www.mysite.com/index.php/blog, but I want when it is accessed at www.mysite.com/index.php then shows me "blog". I attepmt do this with URL Translator function, but does'nt function.

And I want that bad URLs redirected to / (by default the system redirect the bad URls to admin's login page).

Help me!!!

Francesc Febrer

Tuesday 17 February 2004 1:10:18 pm

Any ideas?

Balazs Halasy

Wednesday 18 February 2004 3:55:28 am

If you want the blog to pop up on just index.php instead of index.php/blog: set the default siteaccess to blog in the site.ini.append file in settings/override.

Balazs

PS: With a bit of apache skillz, you can also make "index.php" disappear from the URL. I don't remember the exact syntax right now; just search the forums...

Francesc Febrer

Wednesday 18 February 2004 7:44:02 am

Wich parameter have I to modify in site.ini? Siteaccess parameters?

I modified siteaccess parameters to;
[SiteSettings]
LoginPage=embeded
SiteName=Nel Martí
SiteURL=www.mysite.net/index.php/blog

but no functiom. If I type www.syte.net/index.php then shows me the admin's login page.

Please, help me. Thanks.

Balazs Halasy

Thursday 19 February 2004 4:16:51 am

File: one of the overrides for site.ini (site.ini.append or site.ini.append.php in the /settings/override dir or the /settings/siteaccess/[whatever]/ dir)

[SiteSettings]
DefaultAccess=my_siteaccess

Balazs

PS: Make sure that the setting is inside the SiteSettings block and that it is set to the siteaccess that you wish to use as the deafult access).

Francesc Febrer

Thursday 19 February 2004 8:00:48 am

Sorry,

but in my case, wich parameter have I to enter in (DefaultAccess) parameter?
URL (=www.mysyte.net/index.php/blog)?
Site (=blog)?
Path (/index.php/blog or /blog)?

Please, help me.... Thanks.
I attempt all this cases but no function.

James Packham

Friday 20 February 2004 5:09:31 am

just "blog" no need for index.php or /

eZ debug

Timing: Jan 31 2025 00:39:43
Script start
Timing: Jan 31 2025 00:39:43
Module start 'content'
Timing: Jan 31 2025 00:39:43
Module end 'content'
Timing: Jan 31 2025 00:39:43
Script end

Main resources:

Total runtime0.1482 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.9063370.3047
Module start 'content' 0.00670.0126 958.21091,005.4688
Module end 'content' 0.01940.1288 1,963.67973,893.6875
Script end 0.1482  5,857.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00392.6632200.0002
Check MTime0.00130.8489200.0001
Mysql Total
Database connection0.00080.570010.0008
Mysqli_queries0.068746.36191410.0005
Looping result0.00080.54931390.0000
Template Total0.128586.710.1285
Template load0.00090.585510.0009
Template processing0.127686.084510.1276
Override
Cache load0.00060.392610.0006
Sytem overhead
Fetch class attribute can translate value0.00171.145510.0017
XML
Image XML parsing0.00020.168110.0002
General
dbfile0.00593.9487200.0003
String conversion0.00000.003230.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs