I am still running one of my pgv on 4.0.2, standard theme. I am attempting to make it more Google friendly since Google reports that I have 105 pages with short meta descriptions, 102 pages with duplicate meta descriptions, and 2 pages with duplicate title tags. My site map consists of well over 1000 URLs. Not all of them have been indexed, and thus such a small html count in errors.
I would love to customize the header to create variations in the meta tags. I have gone through all the different config files, only to realize that the task to accomplish this would be enormous, as I am not familiar with the code structure. I have some familiarity with php, but I am basically a PERL person, to old to get involved with php.
So, my question is: Is there a simple way to do it, and where do I make the necessary alteration. config_gedcom.phpis where I believe I needed to make the changes, but was not sure where the different variables reside or whether they can be inserted there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you mean config_gedcom.php? But that would again create identical tags for each page? What I wanted to do for example in $META_DESCRIPTION add the individual name, so that all meta descriptions are different. Similarly in $META_KEYWORDS would also make them different. How do I get these variables and insert them? I hope that I make sense!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For example: every current page has <meta name="description" content="Genealogy of the XXX Family" /> and is the same for all 1000 individuals in the dynamically created pages such as http://www.domain.com/phpgedview/individual.php?pid=IXX . I would Like to change that to someting like this <meta name="description" content="Genealogy of the Individula First Name of Individual Last Name of Individual" />
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To make it more intersting and valuable it would help if I could insert the city, country etc as to where they were born
<meta name="description" content="Genealogy of the Individul First Name of Individual Last Name of Individual, Birth Blace" />
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
But these keywords are already on the page, and the search engines will find them in context. I'm not sure that there is anything to gain by repeating them.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
But not in the description tag. What tag do they appear in. I am sort of retired now, but my previous SEO trail and error studies indicated that description tag is way up in the algoritham of Google.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That is absolutely right, as per comment 8. This is why I would like to modify the meta tag for description as I am getting all the descriptions the same. I would love to insert someting like <meta name="description" content="Genealogy of the Individul First Name of Individual Last Name of Individual, Birth Blace" />
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am still running one of my pgv on 4.0.2, standard theme. I am attempting to make it more Google friendly since Google reports that I have 105 pages with short meta descriptions, 102 pages with duplicate meta descriptions, and 2 pages with duplicate title tags. My site map consists of well over 1000 URLs. Not all of them have been indexed, and thus such a small html count in errors.
I would love to customize the header to create variations in the meta tags. I have gone through all the different config files, only to realize that the task to accomplish this would be enormous, as I am not familiar with the code structure. I have some familiarity with php, but I am basically a PERL person, to old to get involved with php.
So, my question is: Is there a simple way to do it, and where do I make the necessary alteration. config_gedcom.phpis where I believe I needed to make the changes, but was not sure where the different variables reside or whether they can be inserted there.
The contents of the META tags can all be set in the gedcom configuration page.
Do you mean config_gedcom.php? But that would again create identical tags for each page? What I wanted to do for example in $META_DESCRIPTION add the individual name, so that all meta descriptions are different. Similarly in $META_KEYWORDS would also make them different. How do I get these variables and insert them? I hope that I make sense!
I'm still unsure what you are trying to change (an example would help), but the code that writes these are in the theme's header files.
For example: every current page has <meta name="description" content="Genealogy of the XXX Family" /> and is the same for all 1000 individuals in the dynamically created pages such as http://www.domain.com/phpgedview/individual.php?pid=IXX . I would Like to change that to someting like this <meta name="description" content="Genealogy of the Individula First Name of Individual Last Name of Individual" />
To make it more intersting and valuable it would help if I could insert the city, country etc as to where they were born
<meta name="description" content="Genealogy of the Individul First Name of Individual Last Name of Individual, Birth Blace" />
But these keywords are already on the page, and the search engines will find them in context. I'm not sure that there is anything to gain by repeating them.
But not in the description tag. What tag do they appear in. I am sort of retired now, but my previous SEO trail and error studies indicated that description tag is way up in the algoritham of Google.
Search engines use the content of the description meta-tag when displaying search results; it is not used for page rank.
That is absolutely right, as per comment 8. This is why I would like to modify the meta tag for description as I am getting all the descriptions the same. I would love to insert someting like <meta name="description" content="Genealogy of the Individul First Name of Individual Last Name of Individual, Birth Blace" />