Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Cms pages url problem
(1 viewing) (1) Guest
Support forum for users using free edition of M-Turbo. These forums are for mutual help among users.

NOTE: Due to our capacity limitations, ARTIO does not monitor this forum category regularly. If you want direct support from ARTIO, please start a ticket at Support Dashboard. If you have no support ticket available, you need to purchase it.
  • Page:
  • 1

TOPIC: Cms pages url problem

Cms pages url problem 11 years, 6 months ago #32948

for some reason the CMS pages are not displaying their cached versions. I know that M-Turbo is actually caching the pages because a) they show in the URL tab list, with the cached date opposite .... and b) when i press the preview link it shows the cached version from
http://domain.com/var/turbocache/default/request-path.html


Also when I look at the URL tab and compare the request path of a product or category with that of a CMS page, they don't have the same format ... CMS pages look simply like 'request-path' even though magento urls come up like this in reality ( note index.php )
index.php/request-path


whereas for example categories are in the form 'name-of-category.html' which exactly like how magento uses them
name-of-category.html


... in other words the two are not consistent as far as I can see

with the result that when I browse normally to a CMS page via the site I would be directed to
http://domain.com/index.php/request-path


.... which is NOT cached .... but if I either go to the M-turbo cache via the preview link
http://domain.com/var/turbocache/default/request-path.html

( note that .html extension has been added by the preview link )

or browse to
http://domain.com/request-path.html

( where I have added the .html myself manually )

.... then I DO get the cached version

so the question is why is the content at ...

http://domain.com/index.php/request-path


not cached ? ... this is how Magento displays the CMS pages ( at least in the configuration I have at the moment, and I haven't done any htaccess wizardry that I am aware of )

Thanks
Last Edit: 11 years, 6 months ago by byronyasgur.
The topic has been locked.

Re: Cms pages url problem 11 years, 6 months ago #32994

  • jich
  • OFFLINE
  • Posts: 254
so the question is why is the content at ...

domain.com/index.php/request-path

not cached ? ... this is how Magento displays the CMS pages ( at least in the configuration I have at the moment, and I haven't done any htaccess wizardry that I am aware of )


The rewrite rules for M-Turbo don't work when you have in url 'index.php'. It seems that you are not using "Web Server Rewrites". Try to go in the Magento Configuration and check settings "General/Web/Use Server Rewrites".

Magento never adds html extension to CMS page in despite of category or product page. HTML extension is added by the rewrite rules, which works only when there is turned "Web Server Rewrites" on. Try to turn on "Web Server Rewrites".
ARTIO Support Team
The topic has been locked.

Re: Cms pages url problem 11 years, 6 months ago #33012

no, use web server rewrites was on already
The topic has been locked.

Re: Cms pages url problem 11 years, 6 months ago #33051

  • jich
  • OFFLINE
  • Posts: 254
In this case I don't understand why your url contains "index.php". Do you set it in base url?
ARTIO Support Team
The topic has been locked.

Re: Cms pages url problem 11 years, 6 months ago #33053

Aaah yes I see. ;-O I wasnt paying much attention to where the urls were coming from, I guess I must have thought they were being generated by magento, so I must have assumed that i was using the default URL for those pages, but it turned out I had them hardcoded into the static block where they were being called from. Thanks, sorry.
The topic has been locked.
  • Page:
  • 1
User Login Empty