Results 1 to 2 of 2
  1. #1
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default Making Changes to Main Page Tags

    To make changes to main page meta tags, I have seen two different suggestions.

    includes/languages/english/custom/meta_tags.php

    includes/modules/custom/meta_tags.php.

    I had always used the former, but decided to change one word in the latter to see if it affected my site and it did make the change.

    Now I am curious which is the best one to use.

    Thanks!

  2. #2
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Making Changes to Main Page Tags

    Quote Originally Posted by traytray View Post
    To make changes to main page meta tags, I have seen two different suggestions.

    includes/languages/english/custom/meta_tags.php

    includes/modules/custom/meta_tags.php.

    I had always used the former, but decided to change one word in the latter to see if it affected my site and it did make the change.

    Now I am curious which is the best one to use.

    Thanks!
    I'd vote editing the language file whenever possible (less prone to errors and supports multilingual sites)... Falling back to editing the "module / controller" code only when absolutely necessary... But just my opinion.

 

 

Similar Threads

  1. v152 Making a next page/previous page button for categories on main page
    By jrobletto in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Jul 2014, 11:18 AM
  2. Making Changes to product page
    By GoNinja in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 6 Mar 2009, 09:22 AM
  3. meta tags in main page
    By lieven23 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Nov 2008, 05:04 PM

Posting Permissions

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