Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
swamphox
Experienced
Topic Author
Posts: 136
Joined: 29 Nov 2007, 07:05

404 error

12 Feb 2016, 09:30

Karl, I have been experiencing a couple errors that may be bugs. When I create a gallery of images under the Galleries menu item and the title contains more than one word and I navigate to that gallery, I will get a 404 error. When I shortened the listed item to one word, navigation works fine. While trying to recreate the error, which it did happen again, I am unable to navigate to the gallery after changing back to a single word. 404 error. I will be working on this to see if I can come to a conclusion but it seems to be pretty consistent.

I changed the name completely (one word) and I am able to navigate to that gallery.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: 404 error

12 Feb 2016, 09:50

Short explanation: folder NAME should be short and simple, and should NOT be confused with TITLE.

Create folder name, nice short and simple:
Image

If you want an extended title, then use the TITLE for this, AFTER you have created the folder:
Image

This is explained in detail on the HELP topic when creating a page:
(See the [?] help link on right):
Image

If you click that, you can learn about how pages work:
Image

Quoted from the above:
help wrote:Use Simple Names
Folder names are only used for the URL/link, and instead you will use the page title setting for extensive titles. Therefore, the folder name should be as simple as possible, preferably a single lowercase word without special characters or empty spaces.

A good example:
4.nicename : yourwebsite.com/nicename/

Don't use empty spaces in folder names!
A BAD example, which creates an ugly URL, and simply will not work:
4.Name & Characters : yourwebsite.com/Name%20%26%20Characters/

If you really need to use multiple words, separate them with -hyphens:
4.many-words-here : yourwebsite.com/many-words-here/
 
User avatar
swamphox
Experienced
Topic Author
Posts: 136
Joined: 29 Nov 2007, 07:05

Re: 404 error

12 Feb 2016, 09:52

I read that but the name "canoe race" did not seem to me to be "complicated".

Thanks