Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2011
    Location
    Hainesport, NJ
    Posts
    13
    Plugin Contributions
    0

    Idea or Suggestion How to bulk modify title tag

    URL: https://www.usrallyteam.com
    ZC: 1.5.8a
    PHP version: 7.4.33
    MySQL 8.0.37
    HTTP Server: Apache

    Hey, folks. I'm an "advanced n00b" with a a basic problem to resolve. Hundreds of my products include a non-standard "|" character in the title tag. For example, this product's meta title tag is written as: | 4-cylinder direct port WMI (octane + fueling)

    How do I globally remove all the | as the first character from title tags written that way? Initial research leads me to believe that I must find the TABLE_META_TAGS_PRODUCTS_DESCRIPTION table and then adjust it. How is this done? Or, where do I start to research this topic? Can I/should I replace the | with another space holder like an * or -, etc?

    Thanks,

  2. #2
    Join Date
    Jul 2011
    Location
    Hainesport, NJ
    Posts
    13
    Plugin Contributions
    0

    Default Re: How to bulk modify title tag

    ONE other thing... I'm using the Sitemap XML v4.0.1 plugin and see this advice:
    Click image for larger version. 

Name:	robots.jpg 
Views:	35 
Size:	10.2 KB 
ID:	20663

    However, a simple URL check demonstrates that the file is right there. Should I just ignore the warning? Why do these things happen? :)
    https://www.usrallyteam.com/robots.txt

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,337
    Plugin Contributions
    94

    Default Re: How to bulk modify title tag

    Quote Originally Posted by dreadscott View Post
    ONE other thing... I'm using the Sitemap XML v4.0.1 plugin and see this advice:
    Click image for larger version. 

Name:	robots.jpg 
Views:	35 
Size:	10.2 KB 
ID:	20663

    However, a simple URL check demonstrates that the file is right there. Should I just ignore the warning? Why do these things happen? :)
    https://www.usrallyteam.com/robots.txt
    SitemapXMP uses this concatenation to determine the presumed means to access a site's sitemap.xml file:
    Code:
    HTTP_CATALOG_SERVER . DIR_WS_CATALOG . SITEMAPXML_SITEMAPINDEX . '.xml';
    ... where the first two constants come from your admin/includes/configure.php and the last one is set in the SitemapXML configuration settings. From viewing the robots.txt, that contains a www. prefix to the site's URL which is not reflected in the HTTP_CATALOG_SERVER setting.
    Code:
    Sitemap: https://www.usrallyteam.com/sitemap.xml

  4. #4
    Join Date
    Jul 2011
    Location
    Hainesport, NJ
    Posts
    13
    Plugin Contributions
    0

    Default Re: How to bulk modify title tag

    I thank you for the help, lat9. In plain English, then... What you're saying is that a simple change will fix the problem, yes?

    I should rewrite this:
    Sitemap: https://www.usrallyteam.com/sitemap.xml

    to this?
    Sitemap: https://usrallyteam.com/sitemap.xml

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,337
    Plugin Contributions
    94

    Default Re: How to bulk modify title tag

    Quote Originally Posted by dreadscott View Post
    I thank you for the help, lat9. In plain English, then... What you're saying is that a simple change will fix the problem, yes?

    I should rewrite this:
    Sitemap: https://www.usrallyteam.com/sitemap.xml

    to this?
    Sitemap: https://usrallyteam.com/sitemap.xml
    Yes, sorry for not stating the actual solution from the get-go!

  6. #6
    Join Date
    Jul 2011
    Location
    Hainesport, NJ
    Posts
    13
    Plugin Contributions
    0

    Default Re: How to bulk modify title tag

    Quote Originally Posted by lat9 View Post
    Yes, sorry for not stating the actual solution from the get-go!
    Alrighty, I do believe we've made progress on this one. Thanks so much for the help.
    Click image for larger version. 

Name:	robots2.jpg 
Views:	24 
Size:	8.7 KB 
ID:	20664

    Now about this title meta tag challenge... Hmmm...

  7. #7
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,294
    Plugin Contributions
    1

    Default Re: How to bulk modify title tag

    Quote Originally Posted by dreadscott View Post
    Now about this title meta tag challenge... Hmmm...
    The link you posted, of a product, shows the title tag as

    HTML Code:
    <title>(RACE) DPR4 | 4-cylinder direct port WMI (octane + fueling)</title>
    which looks fine, but I do note others of yours in Google search results that do begin with '|'

    e.g.
    HTML Code:
    <title>| Direct port injection w/RACE valves = best octane + fueling</title>
    that is the tag for a category page and shouldn't be happening - it is missing the 'categories_name' and that is the problem. I don't have an answer but the category title tags are generated in \includes\modules\meta_tags.php (or its override). Compare yours with the original to see if there's something awry.

    Anyways, not an answer but, the '|' separator/divider usually defined in \includes\languages\english\lang.meta_tags.php (or the template's override copy if you have one). Removing it might resolve the issue of the second example but will potentially screw up the appearance of the first tag.
    Simon

 

 

Similar Threads

  1. how to remove title tag from product pages?
    By landguy in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 3 Jun 2010, 09:02 AM
  2. How do i change my title tag?
    By dozza123 in forum General Questions
    Replies: 1
    Last Post: 23 Oct 2009, 04:09 PM
  3. How to modify, delete, or remove certain menu title?
    By frontier2002 in forum Basic Configuration
    Replies: 6
    Last Post: 29 Jun 2009, 04:43 PM
  4. How to modify the title bar heading ?
    By netuser in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Jun 2008, 04:36 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR