Results 1 to 9 of 9

Thread: News And Articles TITLE (for SEO)

  1. #1

    Join Date
    Jun 2009
    Posts
    36

    Default News And Articles TITLE (for SEO)

    Hello,

    I noticed that the title tag of the Articles generated via Admin Articles as well as Site news, look like " Your Site Articles".

    In articles.php in dolphin cms i need to modify something in this part but i don't know what :

    "$_page['header'] = _t( "_ARTICLES_H", $site['title'] );
    $_page['header_text'] = _t( "_ARTICLES_H1" );"

    what should i modify in order to get the exact title of the article ?

  2. #2
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Quote Originally Posted by Rammstein12 View Post
    "$_page['header'] = _t( "_ARTICLES_H", $site['title'] );
    $_page['header_text'] = _t( "_ARTICLES_H1" );"
    I am not 100% sure what you are asking.. but you can just use the language editor in admin to change the values of _ARTICLES_H and _ARTICLES_H1 to what you want.

    Warm regards,
    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  3. #3

    Join Date
    Jun 2009
    Posts
    36

    Default The way Admin Articles are indexed in google i'm interested in

    Hello again,

    The thing i want is to change the way the articles are being indexed in google. Now if i have an article named : "How to grow flowers" , google sees only "My Site Articles" and this is the way all articles are being seen by search engines.

    Hope i answered ok

    Actually, as far as i realise, is the mainTitle that i want to have as an article title tag.

  4. #4

    Join Date
    Jun 2009
    Posts
    36

    Default Can anybody help ?

    Hello,

    I asked a question yesterday but i didn't get the answer i really needed. So, the way admin articles and site news are indexed in google ( the title it gets) is in this form "My Domain Articles" and this is bad for google. No matter how many articles you have, google will see all of them as the same "My Domain Articles", even if you have one article title How to answer, or another one I don't know, google will index their titles as My Domain Articles.

    That is nooooooooot ok at all.

    Thank you in advance. I hope somebody knows how to do it

  5. #5
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    You can try this... not elgently coded, but easy to understand

    BxDolArticles.php

    In
    Code:
    function getArticle( $iArticleID )
    add in the Global section

    Code:
    global $sTitle;
    articles.php

    Change the code to

    Code:
    if ($sTitle === "")
    { 
    $_page['header'] = _t( "_ARTICLES_H", $site['title'] );
    $_page['header_text'] = _t( "_ARTICLES_H1" );
    }
    else
    $_page['header'] = $site['title']. " - " .$sTitle;
    $_page['header_text'] = $site['title']. " - " .$sTitle;
    Warm regards,
    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  6. #6
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Anyways - put this in CLEAN 6.1.6 which will be out soon.
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  7. #7

    Join Date
    Jun 2009
    Posts
    36

    Default Thank you very very very much

    You're good, very good! Awesome job, thank you very much! IT WORKS GREAT!

    Smoge, you're the best! I will always ask for help on modmysite.com as it really is useful, thank you again!

  8. #8

    Join Date
    Jun 2009
    Posts
    36

    Default I guess something similar is needed for Site News, right ?

    Hello again,

    I tried to modify the Site News the same way Admin Articles but it doesn't work. I guess i would have to modify it a bit.

    Can you tell me the mod needed ? Hope i'm not disturbing ...

    Thank you again

  9. #9
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    For 6.1.6, you can try the attached file...

    Warm regards,
    Attached Files Attached Files
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 01-21-2010, 09:56 PM
  2. Can i get some help with Admin articles and Site news ?
    By Rammstein12 in forum General Issues, Comments, Questions
    Replies: 3
    Last Post: 06-24-2009, 05:37 AM
  3. Ray Chat Title and Orca Forum Title
    By yohookah in forum Dolphin General Discussion v6.00 and above
    Replies: 2
    Last Post: 01-22-2008, 07:41 AM
  4. Articles and News List Sorting
    By elusuario in forum Dolphin General Discussion v5.3 to v5.6.5
    Replies: 9
    Last Post: 06-04-2007, 04:00 PM
  5. html in news and articles
    By valentino in forum Wishlist
    Replies: 5
    Last Post: 05-18-2007, 06:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •