-
Posted in : Photographer
-
We all agree that Photographer is a great HTML template. However, there is one thing in this template that was not to my liking and it’s the fact that the ‘Title; tags and the ‘Meta’ tags were not able to be modified per page.
When inserting text in ‘Title’ tag in the ‘layout.dwt’, the whole site (all pages of the site) received that same ‘Title’.
The same is true to the ‘Meta’ Keywords and ‘Meta’ Description.
This is NOT good for SEO, Each page should have its own Title and Meta tags.
I am not a Dreamweaver expert and it took me a while to get it done but I finally figured out how to make the ‘Title’ and the ‘Meta’ tags editable so I can give every page its own Title and Meta description and keywords.
Simple:
1. Open ‘layout.dwt
2. select with your mouse the text:yourtitle
3. Go to Insert>Template Object>Editable Region and click
4. A window will pop up, give this region a name. I named it TitleMeta.
5. Save and make sure you select to Update All pages.That’s it. Now you can give every and each page its own Title and Meta info.
Even better:
1. In the layout.dwt I changed the H1 just before the site-title, to H2
1. Then I scrolled to the bottom of layout.dwt file and located the HTML attribute: ‘site-info’
2. just under the copyright information I added an H1 heading.
3. I then filled it up with text like; wedding photography…or whatever (but make sure it’s a good meaningful heading that describe your site well!) and saved the template, again, making sure I update all pages.
4. Now, all pages have H1 just under the copyright text at the bottom of EACH page.
5. I then again selected the H1 tag and text in the ‘layout.dwt
6. Clicked on Insert>Template Object>Editable Region
7. In the dialog box I gave it a name ‘Heading”.
8. Saved, making sure all pages are updated.Now, I have an H1 tage on each page of my site that I can modify individually on each page. However, if you forget to modify it for a certain page, the heading you gave originally will be the page Heading, MUCH better than none at all.
H1 is a very important piece for SEO and each page should have H1 heading unique to that page. Same goes for Titles.
Now my layout.dwt changes all the important element of the pages but leaves the Title, Meta and H1 alone for me to do it manually.
Hope it helps. Happy SEO!
Not a problem :-).
I realized that some of the code I inserted is gone (replaced by a simple ‘yourtitle’). It does not show all the text that should be selected :-(.
Anyway, the concept is there.
I never understood why developers insist on adding H1 to the logo. I purchased many WordPress and HTML templates and ALL do that.
On the other hand when learning SEO, all agree that H1 should be informative and include keywords.
I always end up changing the logo attribute to H2 and give a H1 to each page individually.
I see your point, actually it makes sense using h1 for the site title when you have the site title as text, but when using an image logo, it is readed by screen readers as an empty h1 element, I guess in both cases there should be some text in h1 site title, for image logo hiding the text with css will still make it available for screen readers, and i guess this should be good for seo too.
Thanks for the feedback again.
You must be logged in and have valid license to reply to this topic.