Page 1 of 1

404 Page Not Found

Posted: 19 Nov 2014, 16:37
by alexhenes
I can't seem to get my folders or galleries to display when selected from the mega menu. I get a 404 error for both.

Please see...

test.merelyafleshwound.com

then go to the Mountaineering section.

When Mountaineering is selected the two sub folders will be displayed... but when I click on the sub folder I get a 404 error.

When I select an item from the mega menu... I also get a 404 error.

Please advise

Re: 404 Page Not Found

Posted: 19 Nov 2014, 23:00
by alexhenes
ok... I figured this one out.

X3 will not display a folder or the folder's contents if there is a space in the folder's name.

All of my content is from my X2 site... and given that X2 uses the folder name for the menu entry... I needed spaces in my folder name so I didn't have to add a separate label for every folder.

Karl... will X3 support spaces in folder names?

Re: 404 Page Not Found

Posted: 20 Nov 2014, 00:36
by mjau-mjau
alexhenes wrote:Karl... will X3 support spaces in folder names?
I was just checking around your website and discovered the same. I will need to look into this issue, although technically you should not be using spaces in folder names because:

1. nobody%20likes%20seeing%20this
2. there are no benefits

Re: 404 Page Not Found

Posted: 20 Nov 2014, 00:38
by alexhenes
I can remove the spaces...

Re: 404 Page Not Found

Posted: 21 Dec 2014, 09:01
by alderim
Hi,

how did you manage the "space" prob?

i want a menu (=Folder) item called "about us" but then the "Page could not be found" appears..

thx!

Re: 404 Page Not Found

Posted: 21 Dec 2014, 09:15
by mjau-mjau
alderim wrote:i want a menu (=Folder) item called "about us" but then the "Page could not be found" appears..!
Folder names are NOT used as titles.

Folder names makes the URL, while the TITLE setting for the page is used to create the title:
Code
title: My page title here with spaces and basically any text I want

Re: 404 Page Not Found

Posted: 21 Dec 2014, 09:32
by alderim
ok,
the "galleries" subfolder is called "landscapes" and i changed the title: to "about us"

but then in the navigation there is still "landscapes" and not "about us".

How to get a menu item like "about us" then?

thx

Re: 404 Page Not Found

Posted: 21 Dec 2014, 10:04
by nz-photo
Just write your title 'about us' in the page settings :
Code
Title:  About us
label: 
description:  
context:
layout:
modules: 
gallery: 
disqus:  
content: |

Re: 404 Page Not Found

Posted: 21 Dec 2014, 11:08
by mjau-mjau
alderim wrote:the "galleries" subfolder is called "landscapes" and i changed the title: to "about us"
Actually, the mega menu used the "label" field and not "title", because it wants to get a short version of the title. I might need to fix this to fallback to title instead of the folder name/slug, but for now, please use the LABEL, which will always be prioritized in the menu.

The reason we have TITLE and LABEL, is for SEO and usability. While the TITLE should/could be a descriptive sentence up to 60-70 chars, that benefits SEO and social sharing, the LABEL should be a short/concise option for the menu, perhaps 1-2 words max.