The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Web Design
    4. Auto-Generated META tag on 404 Page

    Auto-Generated META tag on 404 Page

    Web Design
    3 3 2.1k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • evacuumstoreSEO
      evacuumstoreSEO last edited by

      I'm currently creating a 404 error page for my site and I noticed that a similar site uses some sort of code to automatically generate a meta title. Is this useful?

      For instance type in electrolux.com/john

      This page does not exist but in the title you'll see John | Electrolux

      How can i do this on my site?

      1 Reply Last reply Reply Quote 0
      • ClickConsult
        ClickConsult last edited by

        Hi Tyler,

        From an SEO point of view, this is useless and you'd be better spending the time elsewhere.

        1 Reply Last reply Reply Quote 2
        • MarieHaynes
          MarieHaynes last edited by

          I'm not 100% sure on what you are asking, but I do have pages where the title tag or meta description are generated dynamically using a php script.  It's not that hard to do.

          In my case, I am getting information from a database and generating the title from what comes from the database.  So, once I have my title I'll insert this in the place of the title tag:

          <title><?php echo $title; ?></p> <p>If you're trying to do what the electrolux page does, you can use data from the php $_SERVER info:  <a href="http://php.net/manual/en/reserved.variables.server.php">http://php.net/manual/en/reserved.variables.server.php</a></p> <p> </p> <p>But, I'm not sure what purpose it would serve.</p> <p> </p></title>

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Increase in Soft 404s due to Custom 404 page?
            evolvingSEO
            evolvingSEO
            0
            2
            87

          • A question about title tag when the page has 2 services.
            Raymondlee
            Raymondlee
            0
            6
            95

          • Does anyone have data on the effect of multiple H1 tags on a page?
            DirkC
            DirkC
            0
            2
            154

          • Rel=next and rel=prev meta tags
            DirkC
            DirkC
            0
            3
            1.5k

          • Our on page blog is off page! What?
            Mike.NW
            Mike.NW
            0
            2
            115

          • Any meta tag suggestion ??
            Chris.Menke
            Chris.Menke
            0
            2
            134

          • 404 page in Windows IIS. HELP!
            Jeepster
            Jeepster
            0
            3
            284

          • How to Add canonical tags on .ASPX pages?
            nordicnetproducts
            nordicnetproducts
            0
            6
            3.7k

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy