Jump to content
TNG Community
Kimon

SEO for TNG

Recommended Posts

Kimon

I've converted the customizations I've done to my site into a mod that allows the basic SEO configuration of a TNG site.

It's not meant to be anything spectacular or even fancy.

In short, what it does is:

* Set the keywords for the site as picked up by the search engines

* Set the description for the site as picked up by the search engines

* Configuration of Google Analytics

The mod is available on the wiki here: http://tng.lythgoes.net/wiki/index.php?title=SEO_for_TNG_Mod

I've tested it on v8.0.1 and it works fine.

Share this post


Link to post
Share on other sites
jEFFSTANA

I've converted the customizations I've done to my site into a mod that allows the basic SEO configuration of a TNG site.

I've tested it on v8.0.1 and it works fine.

Kimon,

This may not be entirely accurate, since I have not used Mod Manager before; but on first try, SEO_for_TNG mod appeared to assume a Template 1 installation, and threw a number of Cleanup errors as precursor to install.

NB: running TNG 8.0.1

Share this post


Link to post
Share on other sites
Kimon

Kimon,

This may not be entirely accurate, since I have not used Mod Manager before; but on first try, SEO_for_TNG mod appeared to assume a Template 1 installation, and threw a number of Cleanup errors as precursor to install.

NB: running TNG 8.0.1

Could you please send me the errors you got?

Share this post


Link to post
Share on other sites
Ken Roy

I've converted the customizations I've done to my site into a mod that allows the basic SEO configuration of a TNG site.

It's not meant to be anything spectacular or even fancy.

In short, what it does is:

* Set the keywords for the site as picked up by the search engines

* Set the description for the site as picked up by the search engines

* Configuration of Google Analytics

The mod is available on the wiki here: http://tng.lythgoes.net/wiki/index.php?title=SEO_for_TNG_Mod

I've tested it on v8.0.1 and it works fine.

Kimon,

It should be noted that this mod replaces and overlays the TNG strategy of setting the Keyword and Description to the page title + Site Name

Examples of providing better keyword and descriptions than the TNG page title + Sitename might help users decide whether they want to stay with the TNG Implementation or replace it.

Another alternative is for users to modify their meta.php to add additional keywords and descriptions they want to be provided as meta tags besides the page title + Sitename. This could be accomplished by your SEO mod modifying the meta.php file instead of the genlib.php so users would not need to know the php syntax.

Note that I have not installed your SEO mod, so these comments are from reading the config file, which by the way has Edit User Profile Mod</a> in the description.

Ken

Share this post


Link to post
Share on other sites
jEFFSTANA

Could you please send me the errors you got?

FYI: This is the Status Report in Mod Manager:

admin_setup.php: Location1: Not Installed

genlib.php: Location1: Not Installed

customconfig.php: Location1: Not Installed

end.php: Location1: Not Installed

index.php: Location1: Not Installed

templates/template1/index.php: Location1: Not Installed

templates/template2/index.php: Location1: Not Installed

templates/template3/index.php: Location1: Not Installed

templates/template4/index.php: Location1: Not Installed

templates/template5/index.php: Location1: Not Installed

templates/template6/index.php: Location1: Bad target

templates/template7/index.php: Location1: Not Installed

templates/template8/index.php: Location1: Bad target

languages/English/cust_text.php: Location1: Not Installed

languages/English-UTF8/cust_text.php: Location1: Not Installed

languages/English/seoconfig_help.php V8.1.0 Not Installed

admin_seoconfig.php V8.1.0 Not Installed

admin_seoconfig.php V8.1.0 Not Installed

seoconfig.php V8.1.0 Not Installed

On second look, it seems accurate. Files I am using, but not at "Location1" and this time a reference to all eight template index files.

I must admit, for a first mod, I feel a bit leery seeing all the Red info in the cleanup status. Maybe no big thing, but for now prudence holds me back. Especially since I manually mod my META tags.

Share this post


Link to post
Share on other sites
Ken Roy

FYI: This is the Status Report in Mod Manager:

admin_setup.php: Location1: Not Installed

genlib.php: Location1: Not Installed

customconfig.php: Location1: Not Installed

end.php: Location1: Not Installed

index.php: Location1: Not Installed

templates/template1/index.php: Location1: Not Installed

templates/template2/index.php: Location1: Not Installed

templates/template3/index.php: Location1: Not Installed

templates/template4/index.php: Location1: Not Installed

templates/template5/index.php: Location1: Not Installed

templates/template6/index.php: Location1: Bad target

templates/template7/index.php: Location1: Not Installed

templates/template8/index.php: Location1: Bad target

languages/English/cust_text.php: Location1: Not Installed

languages/English-UTF8/cust_text.php: Location1: Not Installed

languages/English/seoconfig_help.php V8.1.0 Not Installed

admin_seoconfig.php V8.1.0 Not Installed

admin_seoconfig.php V8.1.0 Not Installed

seoconfig.php V8.1.0 Not Installed

On second look, it seems accurate. Files I am using, but not at "Location1" and this time a reference to all eight template index files.

I must admit, for a first mod, I feel a bit leery seeing all the Red info in the cleanup status. Maybe no big thing, but for now prudence holds me back. Especially since I manually mod my META tags.

The status line

templates/template6/index.php: Location1: Bad target

templates/template8/index.php: Location1: Bad target

indicates that the code for Template 6 and 8 index.php files do not match what is specified for Location 1 within that file.

Even though a Clean Up button is shown, no amount of Clean up will resolve that situation.

Kimon,

I also got a status that indicated the Mod Manager could not find the customconfig.php file. So your TNG Wiki article needs to indicate that users need to update the config file if they are using Config Path to put the config files in a different location.

I also got the same status as above after updating the file to point to the correct location for my config files.

Edited to add:

Kimon,

The issue is that both template 6 and 8 use topmenu.php and footer.php in conjunction with the index.php to generate the page header and footer. So there is no </body> in the index.php file for these templates, since the </body> is generated by the tng_footer function. So the modification should be to footer.php for template 6 and 8.

Correction: The </body> is not in the footer.php but is in the end.php which is called after the footer, so the code would need to be added after the last line of code in the footer.php for template 6 and 8.

Ken

Share this post


Link to post
Share on other sites
Kimon

Overall good suggestions Ken, thanks

Now, on some of the errors, I need to look at it again and perhaps re-download the TNG files. I must have something wrong with my test site that was supposed to be clean....

drat!

Share this post


Link to post
Share on other sites
Edward van der Maarel

I installed the mod in TNG 1.0.2 and see this as status:

Missing file: .../stamboomweb/templates/template1/index.php

But I don't have a directory templates.

I used cleanup but the error remains.

In the setup there are no SEO settings available.

How do I solve this?

Do I have to go back to back-up for data as well software if I don't want to use it or if I have to re-install?

Share this post


Link to post
Share on other sites
Ken Roy

I installed the mod in TNG 1.0.2 and see this as status:

Missing file: .../stamboomweb/templates/template1/index.php

But I don't have a directory templates.

I used cleanup but the error remains.

In the setup there are no SEO settings available.

How do I solve this?

Do I have to go back to back-up for data as well software if I don't want to use it or if I have to re-install?

Edward,

It sounds like you only extracted the .cfg file into your mods directory. The mod is not installed until you get an Install button that you can click. No clean up is required, since the mod is not installed.

If you want to install the mod, you can either copy the templates/templateN folders from the TNG 8.0.2 full install or you can wait for TNG 8.1 which will create the templates/templateN directory structure.

Ken

Share this post


Link to post
Share on other sites
Edward van der Maarel

Edward,

It sounds like you only extracted the .cfg file into your mods directory. The mod is not installed until you get an Install button that you can click. No clean up is required, since the mod is not installed.

If you want to install the mod, you can either copy the templates/templateN folders from the TNG 8.0.2 full install or you can wait for TNG 8.1 which will create the templates/templateN directory structure.

Ken

Ken,

Thank you.

After adding all templates I was asked for the English languages files. Strange, since I use the English UTF-8 files. Why do I need the other English language files as well?

After doing that, still no install button but the status gives these errors:

admin_setup.php: Location1: Not installed

genlib.php: Location1: Not installed

customconfig.php: Location1: Not installed

end.php: Location1: Not installed

index.php: Location1: Not installed

templates/template1/index.php: Location1: Not installed

templates/template2/index.php: Location1: Not installed

templates/template3/index.php: Location1: Not installed

templates/template4/index.php: Location1: Not installed

templates/template5/index.php: Location1: Not installed

templates/template6/index.php: Location1: Bad target

templates/template7/index.php: Location1: Not installed

templates/template8/index.php: Location1: Bad target

languages/English/cust_text.php: Location1: Not installed

languages/English-UTF8/cust_text.php: Location1: Not installed

languages/English/seoconfig_help.php V8.1.0 Not installed

admin_seoconfig.php V8.1.0 Not installed

admin_seoconfig.php V8.1.0 Not installed

seoconfig.php V8.1.0 Not installed

How do I solve this?

Share this post


Link to post
Share on other sites
Ken Roy

Ken,

Thank you.

After adding all templates I was asked for the English languages files. Strange, since I use the English UTF-8 files. Why do I need the other English language files as well?

After doing that, still no install button but the status gives these errors:

admin_setup.php: Location1: Not installed

genlib.php: Location1: Not installed

customconfig.php: Location1: Not installed

end.php: Location1: Not installed

index.php: Location1: Not installed

templates/template1/index.php: Location1: Not installed

templates/template2/index.php: Location1: Not installed

templates/template3/index.php: Location1: Not installed

templates/template4/index.php: Location1: Not installed

templates/template5/index.php: Location1: Not installed

templates/template6/index.php: Location1: Bad target

templates/template7/index.php: Location1: Not installed

templates/template8/index.php: Location1: Bad target

languages/English/cust_text.php: Location1: Not installed

languages/English-UTF8/cust_text.php: Location1: Not installed

languages/English/seoconfig_help.php V8.1.0 Not installed

admin_seoconfig.php V8.1.0 Not installed

admin_seoconfig.php V8.1.0 Not installed

seoconfig.php V8.1.0 Not installed

How do I solve this?

Edward,

Since the mod developers had no way of knowing whether the mod installer is using English (ISO-8859-1) or English-UTF8, the Mod Guidelines I created for TNG V8 were to include the custom text modifications for both folders.

TNG includes all the languages folder as part of the distribution, so you should be able to copy the languages/English folder to your site. Besides, all the help screens are in that folder and not the English-UTF8 one.

Ken

Share this post


Link to post
Share on other sites
Edward van der Maarel

Edward,

Since the mod developers had no way of knowing whether the mod installer is using English (ISO-8859-1) or English-UTF8, the Mod Guidelines I created for TNG V8 were to include the custom text modifications for both folders.

TNG includes all the languages folder as part of the distribution, so you should be able to copy the languages/English folder to your site. Besides, all the help screens are in that folder and not the English-UTF8 one.

Ken

Ken,

I did copy languages/English folder. But I still don't have an install button and how do I solve the errors that came next:

admin_setup.php: Location1: Not installed

genlib.php: Location1: Not installed

customconfig.php: Location1: Not installed

end.php: Location1: Not installed

index.php: Location1: Not installed

templates/template1/index.php: Location1: Not installed

templates/template2/index.php: Location1: Not installed

templates/template3/index.php: Location1: Not installed

templates/template4/index.php: Location1: Not installed

templates/template5/index.php: Location1: Not installed

templates/template6/index.php: Location1: Bad target

templates/template7/index.php: Location1: Not installed

templates/template8/index.php: Location1: Bad target

languages/English/cust_text.php: Location1: Not installed

languages/English-UTF8/cust_text.php: Location1: Not installed

languages/English/seoconfig_help.php V8.1.0 Not installed

admin_seoconfig.php V8.1.0 Not installed

admin_seoconfig.php V8.1.0 Not installed

seoconfig.php V8.1.0 Not installed

Share this post


Link to post
Share on other sites
Ken Roy

Ken,

I did copy languages/English folder. But I still don't have an install button and how do I solve the errors that came next:

admin_setup.php: Location1: Not installed

genlib.php: Location1: Not installed

customconfig.php: Location1: Not installed

end.php: Location1: Not installed

index.php: Location1: Not installed

templates/template1/index.php: Location1: Not installed

templates/template2/index.php: Location1: Not installed

templates/template3/index.php: Location1: Not installed

templates/template4/index.php: Location1: Not installed

templates/template5/index.php: Location1: Not installed

templates/template6/index.php: Location1: Bad target

templates/template7/index.php: Location1: Not installed

templates/template8/index.php: Location1: Bad target

languages/English/cust_text.php: Location1: Not installed

languages/English-UTF8/cust_text.php: Location1: Not installed

languages/English/seoconfig_help.php V8.1.0 Not installed

admin_seoconfig.php V8.1.0 Not installed

admin_seoconfig.php V8.1.0 Not installed

seoconfig.php V8.1.0 Not installed

Edward,

Looks like Kimon never implemented my suggested changes in post # 5 above The Bad Target indicates the code does not match what is specified in the location for template6/index.php and template8/index.php

Sorry for not catching this in my previous reply.

You could try using the Discussion tab on the TNG Wiki page for the mod to send him a message, since he does not appear to have been monitoring the TNG Forum, or go to his web site and send him a message through the TNG Contact Us pointing him to this forum thread.

I also have a feeling the mod will need to be updated for TNG V8.1 I am not running the mod, but only tested it when Kimon initially posted it.

Ken

Share this post


Link to post
Share on other sites
wmpbrown

Does this mod work for later versions? I'm using v11.

genealogy.wmpbrown.net

Share this post


Link to post
Share on other sites
Ken Roy

This an 8-year old thread!  The mod referenced - SEO for TNG Mod has not been updated beyond TNG v8.

For mods that apply to TNG v11, see Mods for TNG v11

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×