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. Intermediate & Advanced SEO
    4. Titel in header.php

    Titel in header.php

    Intermediate & Advanced SEO
    14 3 193
    • 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.
    • Rebeca1
      Rebeca1 @PinpointDesigns last edited by

      Thank you very much Alejandro and Lewis. The reason why I was asking this with header is because I am receiving all this errors regarding the header in hostgator cpanel: So I guess I have screwed up something with header?

      [11-Oct-2013 10:46:41] PHP Warning:  require(./wp-blog-header.php) [[function.require](function.require)]: failed to open stream: No such file or directory in /home2/damian/public_html/index.php on line 17
      [11-Oct-2013 10:46:41] PHP Fatal error:  require() [[function.require](function.require)]: Failed opening required './wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/damian/public_html/index.php on line 17
      
      [11-Oct-2013 10:46:41] PHP Warning:  require(./wp-blog-header.php) [[function.require](function.require)]: failed to open stream: No such file or directory in /home2/damian/public_html/index.php on line 17
      [11-Oct-2013 10:46:41] PHP Fatal error:  require() [[function.require](function.require)]: Failed opening required './wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/damian/public_html/index.php on line 17
      
      

      As regarding of the title tag, I am using yoast seo. So does that basicly mean that I have the name of the site behind every titles. Oh my god I do not want this:-( how can I disable it please?

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

        Hi Iris,

        It's hard to debug the problem without being able to see the issue, but it sounds like it's an incorrect file path. Open up your index.php file and find the following:

        require('./wp-blog-header.php'); change it to this:

        require('wp-blog-header.php');

        Hopefully that will help fix your issue!

        Lewis

        Rebeca1 1 Reply Last reply Reply Quote 1
        • Rebeca1
          Rebeca1 @PinpointDesigns last edited by

          Thank you very much Lewis. Now I am not sure which index.php you mean:-( I have so many:-(

          PinpointDesigns 1 Reply Last reply Reply Quote 0
          • PinpointDesigns
            PinpointDesigns @Rebeca1 last edited by

            It should just be the one inside the standard public_html folder as this is what is referenced in the PHP error (/home2/damian/public_html/index.php on line 17).

            Hope this helps! Let us know how you get on.

            Rebeca1 1 Reply Last reply Reply Quote 1
            • Rebeca1
              Rebeca1 @PinpointDesigns last edited by

              Thank you

              PinpointDesigns 1 Reply Last reply Reply Quote 0
              • PinpointDesigns
                PinpointDesigns @Rebeca1 last edited by

                Glad it worked!

                Yeah, you just need to make the same change to the following index.php file and that will solve that problem too:

                public_html/villasdiani.com/wp-content/themes/decorum/index.php

                That should get you all up and running. 🙂

                Rebeca1 1 Reply Last reply Reply Quote 1
                • Rebeca1
                  Rebeca1 @PinpointDesigns last edited by

                  Thank you very much Lewis,

                  But here the index.php looks very different:-(

                  PinpointDesigns 1 Reply Last reply Reply Quote 0
                  • PinpointDesigns
                    PinpointDesigns @Rebeca1 last edited by

                    Sorry, I copied the wrong file path. I meant this one:

                    public_html/villasdiani.com

                    Rebeca1 1 Reply Last reply Reply Quote 1
                    • Rebeca1
                      Rebeca1 @PinpointDesigns last edited by

                      Thank you very much Lewis! I just did it exactly as you said. I appreciate your time very much. You know I was looking into this already 1week from morning till evening and was quite desperate. Normally this error was in error logs every day, so I will now monitor it in cpanel if it will not appear again. I hope I will never see it as was nearly ready on some medication 😞

                      Thank you so much Lewis!

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

                        No problem - Glad I was able to help.

                        Best of luck in the future!
                        Lewis

                        Rebeca1 1 Reply Last reply Reply Quote 1
                        • Rebeca1
                          Rebeca1 @PinpointDesigns last edited by

                          Hallo Lewis,

                          I hope you had nice weekend:-)

                          Unfortunately the error still appeared:-( It just did not want the: require('./wp-blog-header.php')

                          But was looking for this one in the error require('wp-blog-header.php');

                          So I did all the steps back as I thought it did not sorted out:-(

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          • How to 301 Redirect /page.php to /page, after a RewriteRule has already made /page.php accessible by /page (Getting errors)
                            DirkC
                            DirkC
                            0
                            2
                            435

                          • How important is admin-ajax.php?
                            J-S
                            J-S
                            0
                            4
                            6.0k

                          • Php 301 redirect
                            IOHanna
                            IOHanna
                            0
                            5
                            683

                          • Google does not favour php websites?
                            ProsperoDigital
                            ProsperoDigital
                            1
                            4
                            199

                          • Redirecting site from html/php to wordpress
                            JarnoNijzing
                            JarnoNijzing
                            0
                            6
                            778

                          • Redesign Launch with change from ASP to PHP
                            kadesmith
                            kadesmith
                            0
                            4
                            547

                          • Sitewide Header Link to Sister Site
                            AlanMosley
                            AlanMosley
                            0
                            2
                            549

                          • Why does this show up in my browser/index2.php
                            stefanok
                            stefanok
                            0
                            5
                            480

                          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