Domain.com isn't recognized by on-page-grader, but domain.com/index.php is
-
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?
-
Thank you,
I posted this to the .htaccess file and it now works.
DirectoryIndex index.php
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Page Optimization Error
Hi, I am trying to track a page optimization feature for one of my project, https://www.writemyessay247.com for keyword: write my essay but i keep getting this below error: "Page Optimization Error There was a problem loading this page. Please make sure the page is loading properly and that our user-agent, rogerbot, is not blocked from accessing this page." I checked robots.txt file, it all looks fine. Not sure what is the problem? Is it a problem with Moz or the website?
Moz Bar | | j.rahimi19900 -
Related topics / content suggestion
Hello, In the related topic feature now called content suggestions https://moz.com/blog/related-topics-in-moz-pro. Are the words indicated words to include in my content or are they "topics" to talk about using words that would describe those words turning these words into concepts ? Thank you,
Moz Bar | | seoanalytics0 -
Http://stairwaysinc.com and spiral
Why does your on-page grader show zero occurrences for the word "spiral" on stairwaysinc.com? Spiral appears many, many times.
Moz Bar | | BCLLC0 -
That URL is inaccessible Moz grader?
Hi all, I'm having some issues getting my site graded www.balihaiphoto.com + Kauai wedding photographer with On Page grader, where as when I enter another photographer example www.jmoellerphoto.com and getting results. Is there any reason this is going on that I can correct? Many thanks for any help all! -Jon
Moz Bar | | Jon_Gibb0 -
Deleting old obsolete pages from the Page Grades section?
Last year we did a total site overhaul, moving from an old ASP site setup to a new WordPress set up. I notice that there are still a handful of old ASP pages being graded still - and turning up as F of course. I tried marking them and deleting them, but hitting delete makes the check box clear, but does not remove the page. How do I get them totally out of grading circulation? Also, some of the links are showing with session info and extra unnecessary characters - how can I clean those links up?
Moz Bar | | OBIAnalytics1 -
Moz ranking report shows massive loss in Bing SERP's. But it is not the case?
My weekly ranking report shows massive loss of SERP's on Bing. For most keywords I was no longer in the top 50 which where first top 5. But when I checked it out for myself, I'm still ranked top 5 for these keywords. I then used the Moz Rank Tracker and there it also says I'm still ranking top 5 for these keywords. What should I believe now?
Moz Bar | | wellnesswooz0 -
On Page Grade - Moz Analytics
When I go to search overview I can see my on page optimization grades, but when I try to use the on page grade optimizer for different keywords and url's I get the error. "The URL you entered does not appear to be returning a page successfully. Please make sure that you've entered the URL of valid, working page." However, I know it is a valid url and I get the error even if I use the same url and same keyword I can see the grade for from the search overview. Also, if I try to regrade the page nothing happens and where my previous grade and analysis was located I now have nothing. Any information about why this is happening? Thanks for the help.
Moz Bar | | ZeroWing0 -
Moz just did my weekly "crawl" and claims my meta titles and descriptions are "missing," but they aren't. What's up with this?
I can check for my titles and descriptions in the source. They are there, always have been. what in the hell?
Moz Bar | | LifeisRosie0