Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How to resolve the page not found error when I tried to add a new FAQ page

How to resolve the page not found error when I tried to add a new FAQ page

Started by mdhoang on 2 Jul 2015, 12:46 AM · Views: 807

Results 1 to 3 of 3
2 Jul 2015, 12:46 AM
#1
mdhoang avatar

mdhoang

New Zenner

Join Date:
Jun 2015
Posts:
4
Plugin Contributions:
0

Post #1 by mdhoang

Here is my website: http://www.myphototoy.com

I tried to add a FAQ page using the EZ Page tool. In the internal url I used: index.php?main_page=faq

In the main HTML Content text box: I entered "test".

However, when I click on the Frequent Asked Question link on the header of my main page, I got the Page not Found error:

FAQ
Gravity Driven Toy
Photo Sculpture
Sports
Advanced Search
New Products
Specials
Reviews
Information
Shipping & Returns
Privacy Notice
Conditions of Use
Contact Us

Any help is appreciated.

2 Jul 2015, 4:48 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #2 by rodg

mdhoang:

I tried to add a FAQ page using the EZ Page tool. In the internal url I used: index.php?main_page=faq
In the main HTML Content text box: I entered "test".

You need to use one or the other of these, not both.

I suggest you use the html content text box, because creating an 'internal' page takes a lot more work. IOW, leave the 'internal URL' blank.

mdhoang:

However, when I click on the Frequent Asked Question link on the header of my main page, I got the Page not Found error:

This is because the link you entered takes precedence over the HTML text, and the link is pointing to a page that doesn't yet exist.

If you remove this link then the HTML you entered will be used instead.

The link will actually be to something like "index.php?main_page=page&id=123" (this is automatically created so you don't really need to know it unless you plan to place a link to this page from another page of the site).

Oh, and don't forget to enter something for the (sort) 'order'. If left at zero the link won't be shown.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

2 Jul 2015, 6:27 AM
#3
mdhoang avatar

mdhoang

New Zenner

Join Date:
Jun 2015
Posts:
4
Plugin Contributions:
0

Post #3 by mdhoang

Thank you so much. I now can have the FAQ page.