Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Page Title: Content vs. HTML : SEO

28 Nov 2014, 11:57

With respect to SEO... title is the most important field for a page.

It would be nice to separate the page title that is displayed to a user and the html page title that a search engine sees.

<head><meta charset="utf-8"><title>Mountaineering</title>

For example...

On http://www.merelyafleshwound.com I would like the html page title for "Capitol Peak" to be

"Capitol Peak Elk Range Colorado Mountaineering | Alex Henes"

but...

I would like the content title that the user sees to be "Capitol Peak".

Initially I thought the "Label" page setting did that... however it appears that Label is for menus and Title is for both html page title and content page title.

This is a request to have separate fields for the html page title and the content page title.
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Page Title: Content vs. HTML : SEO

28 Nov 2014, 12:41

It is important for us to limit the amount of settings, some which may cause confusion for average users. First of all, you are entirely correct about the importance of the <title> tag, and that is in fact why the title: setting is the only strictly required setting for each page. In fact, the primary use for the title setting is to set the <title> for your page ... Setting a content "header" is basically optional, but a sensible default, especially since it is of SEO importance that the <h1> tag is similar to the page <title> ... Google has announced much recently that your titles- and text should be made for "humans", and not fabricated for the benefit of SEO, something which is integrated into their algorithms.

You can easily work around this by simply not displaying the optional title- and description in the content area, and instead adding them as you see fit directly to the content. By default, context displays title,description,content ... but you can easily set it to only display content, for example:
Code
context: items:content
...
content: |
  <h1 class=title>My Custom Header</h1>
  <h2 class=subheader>My optional custom subheader here</h2>
  More content ...
The setting implied above "context: items:content", could even be applied to your main settings under page.context so that it is default.

Another reason we don't want to add an explicit setting for the content header, is because many galleries will not be using them anyway, and instead just showing the gallery directly with no text (basically like Imagevue X2).

Basically, the CONTENT section defines any page content which displays on the page (above the gallery if you have images on the page), and you can add any html you want, including header tags <h1><h2> etc. The default auto-inclusion of title+description is just helpful default combo, which happens to look nice.

I have noted your request, and will give it another think, but it is very important for us to not add additional settings just for the sake of it. As you have understood, the gallery: and folders: settings already include tons of possibilities, and if we were to add all of them as a separate settings, it would become incredibly crowded and dysfunctional ...
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Page Title: Content vs. HTML : SEO

28 Nov 2014, 13:47

I attempted to display the label field in the content instead of title. I replaced the title field with the label field in the site level settings for folders. However the title field was still displayed in the content. Is displaying title hard coded?

Here is where I was changing it... see bold

# DEFAULT PAGE SETTINGS, will only apply if not defined on page.
page:
body :
menu :
layout :
context :
gallery : wide justified hover caption:description caption-bottom # Default wide framed gallery grid
folders : grid:2,2,1 split:6,6,invert frame text-left title-xsmall crop:3,2 text-center large-text-left x3-hover-scale caption: items:title,preview,description
# Default folders grid layout
search :
disqus :
content :
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Page Title: Content vs. HTML : SEO

28 Nov 2014, 14:36

Unfortunately, "Default page settings" may not work entirely as you hoped. Basically these default page settings ONLY apply, if the page's individual setting is entirely empty. If you have a single setting for example "folders: grid:3,2,1" on your page, the default page settings will be entirely ignored. This is because we can't really include default page settings with the individual page settings, and that is what include.settings is for so perhaps try that ...

Did you try to set the following directly in the page with folders you want to list?
Code
folders: items:label,preview,description
Label would only work if you have set actual labels for the child folders listed.
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Page Title: Content vs. HTML : SEO

29 Nov 2014, 11:32

Currently the label and title fields are equal within each page. For example... title = Mountaineering and label Mountaineering. This is true for every page on http://www.merelyafleshwound.com

Setting folders: items:label,preview,description in the specific folder did not work... title was displayed.

In addition... I don't want to set the folders field for a page independently for each page because I will have to do this for the entire site to insure consistency.

Is there a documented set of rules that illustrate when a particular page setting is inherited from site settings?
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Page Title: Content vs. HTML : SEO

30 Nov 2014, 00:31

I am getting a bit mixed up in regards to what you are trying to do here ... Do I still have login so I can perhaps try to do what I think you are trying to do?
alexhenes wrote:Is there a documented set of rules that illustrate when a particular page setting is inherited from site settings?
Only if a specific page setting is entirely blank (folders:) will it inherit the "default" from global settings ...
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Page Title: Content vs. HTML : SEO

01 Dec 2014, 18:53

I sent you a pm with credentials
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Page Title: Content vs. HTML : SEO

02 Dec 2014, 01:01

I added listings with labels on this hidden page:
http://merelyafleshwound.com/galleries/

As you can see, it displays the LABEL above the preview image, instead of the title, because in that page I added to the folders setting:
Code
items:label,preview
Isn't that what you wanted to achieve?
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Page Title: Content vs. HTML : SEO

02 Dec 2014, 11:12

yes... but want to specify this in the site default page settings and/or include page settings
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Page Title: Content vs. HTML : SEO

02 Dec 2014, 23:13

Yes, I have now added it to your page.folders default settings, and removed it from the "galleries" page ...
http://merelyafleshwound.com/galleries/

You had items:title,preview,description there and not items:label,preview,description. Keep in mind, for the default folders setting to apply, the page folders setting will need to be empty. if you add any setting to a page's folders setting, it will NOT use defaults.
Code
folders:  grid:3,2,1 frame crop:3,2 caption:title caption-bottom-left caption-hover items:label,preview,description text-center title-small
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Page Title: Content vs. HTML : SEO

03 Dec 2014, 23:51

I think my issue is that I have things like image set specifically for every page. Does the page level image field act as a setting preventing the use off all default level settings?
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Page Title: Content vs. HTML : SEO

04 Dec 2014, 01:38

alexhenes wrote:I think my issue is that I have things like image set specifically for every page. Does the page level image field act as a setting preventing the use off all default level settings?
If I can't see the problem, I don't know the problem ... As I showed you, the default FOLDERS settings apply nicely as long as the specific pages' FOLDERS setting is empty. It does not matter if the image setting is populated or not ... Show me a page where it is not working, and I will tell you why.
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Page Title: Content vs. HTML : SEO

04 Dec 2014, 14:11

checkout Mountaineering.Elk Range.Capitol Peak
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Page Title: Content vs. HTML : SEO

05 Dec 2014, 14:19

alexhenes wrote:checkout Mountaineering.Elk Range.Capitol Peak
Its working nicely. Here is the parent folder, displaying labels from subfolders, including "Capitol Peak":
http://www.merelyafleshwound.com/Mounta ... Elk-Range/
Code
title 		: Capitol Peak - Elk Range Mountaineering
label		: Capitol Peak
Displaying labels:
Image
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Page Title: Content vs. HTML : SEO

05 Dec 2014, 16:19

Capture-md.jpg
Capture-md.jpg (105.92 KiB) Viewed 5140 times
Check out this image...
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com