Zen Cart Logo
Forums / General Questions / Howto disable page?

Howto disable page?

Locked

Views: 1,413

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
24 May 2006, 10:05 AM
#1
tobias_schlemmer avatar

tobias_schlemmer

New Zenner

Join Date:
Apr 2006
Posts:
3
Plugin Contributions:
0

Howto disable page?

Hello,

I would like to disable some pages like shippinginfo, privacy, conditions, ...
so if someones types in "index.php?main_page=shippinginfo" he gets redirected to the starting page (or whatever). How to solve that?

Thanks in advance

24 May 2006, 1:15 PM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Howto disable page?

rename the page folder under includes/modules/pages/

for example, to disable the privacy page, rename the folder include/modules/pages/privacy/ to includes/modules/pages/disabled_privacy/

that way the cart doesn't find the page and reverts to the main page.

24 May 2006, 3:32 PM
#3
tobias_schlemmer avatar

tobias_schlemmer

New Zenner

Join Date:
Apr 2006
Posts:
3
Plugin Contributions:
0

Re: Howto disable page?

worked like promised, thx