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. Other Research Tools
    4. Domain.com isn't recognized by on-page-grader, but domain.com/index.php is

    Domain.com isn't recognized by on-page-grader, but domain.com/index.php is

    Other Research Tools
    3 2 107
    • 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.
    • werkbot
      werkbot last edited by

      I am running a website through On-page-grader, as www.domain.com and scores an "F" for a specific keyword. When it's ran as www.domain.com/index.php, it scores an "A" for that same keyword and has everything checked other than "keyword in the domain name".

      There are no other files such as index.htm, or index.html that would interfere and can't figure out why this page is not being recognized.

      I checked, the robots and .htaccess file, but do not see anything that would hinder. Could this be a server issue?

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

        Hi, domain.com & domain.com/index.php are regarded as separate pages so I would assume from your question that you want the index.php to be your root page? This can be achieved via Directory Index using .htaccess

        You should see something like this in the htaccess file: DirectoryIndex index.php index.html

        1 Reply Last reply Reply Quote 1
        • werkbot
          werkbot last edited by

          Thank you,

          I posted this to the .htaccess file and it now works.

          DirectoryIndex index.php

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Page Grader states "includes Canonical Tag" but it's not in the page source at all
            samantha.chapman
            samantha.chapman
            0
            2
            30

          • Why isn't the Moz crawler getting all of my item pages?
            Tylerj
            Tylerj
            0
            3
            63

          • Moz on-page grader can't see keyword in H1
            tawnycase
            tawnycase
            0
            2
            45

          • Link to hotels on http://moz.com/mozcon doesn't work
            Andy-Halliday
            Andy-Halliday
            0
            6
            136

          • I am doing the On-page SEO for a website that's never had any SEO done before. I will start with the Pages. Is it necessary to do SEO/Keywords for older Posts?
            evolvingSEO
            evolvingSEO
            0
            5
            187

          • Getting 'Sorry, but that URL is inaccessible' error msg when trying to run On-Page Grader
            spinoki
            spinoki
            0
            9
            970

          • Why my on-page report card won't improve?
            Davenport-Tractor
            Davenport-Tractor
            1
            4
            139

          • How does an index page have a higher Authority than the root domain?
            Dr-Pete
            Dr-Pete
            0
            7
            162

          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