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
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
-
Calling all 301 htaccess Guru's - www to non www - then to https + Redirect homepage to inner page
I have tried searching, multiple opinions and multiple things that supposedly work. What I have now, seems to work from an end user perspective, but Roger tells me otherwise: Redirect Chain issue....redirect, which redirects which redirects etc..... FIRST, we need to redirect all www to non www. SECOND, we need to redirect all to https. THIRD, we need to redirect the homepage to an inner page. (Got to love BOGUS DMCA complaints! :)?) So far we have: RewriteEngine on
Moz Bar | | Jes-Extender-Australia
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_HOST} ^mydomain.com.au$ [OR]
RewriteCond %{HTTP_HOST} ^www.mydomain.com.au$
RewriteRule ^/?$ "https://mydomain.com.au/inner-page-here" [R=301,L] Plus down the page there is the usual wordpress settings: <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]</ifmodule> So, why does it seem to work for the end user, but Roger has his knickers in a knot saying, redirect, to redirect to redirect etc? Namaste and many thank you's in advance 🙂0 -
Keyword Explorer - root domain (NEW): Domains outside US & Canada - no or no meaningful results
Basically I really like and would love to use the new root domain feature in the Keyword Explorer in my daily work. I usually deal with small to medium sized sites in Switzerland. Looking these up unfortunately it either gives me back nonsense (i.e. keywords that merely have nothing to do with the site; sites are very well keyword optimized) or no data ("There are no results for your search") at all. Is this going to change in the future (...honestly) or its simply due to the fact that MOZ focuses primarily on US & Canada and maybe huge sites in Europe? Thanks for your input. Cheers, Cesare
Moz Bar | | Cesare.Marchetti0 -
New verison / update on MozBar. What are the changes from the changes (new additions) from the previous version?
MozBar has a new Version update: 3.1.189 in Google Chrome Web Store (updated on Jan 20, 2016). Has anyone observed any big changes / additions? Or, is it just a routine version update?
Moz Bar | | w1t0 -
Https address has different result that http in Page Optimization Score toll in Moz PRO
The following url
Moz Bar | | TrueluxGroup
https://www.whichledlight.com/t/gu10-led-bulbs has (100 score for keyword 'GU10 LED')
has different on page opmisation score results to
http://www.whichledlight.com/t/gu10-led-bulbs (73 score for keyword 'GU10 LED') Anyone know if we've set something up wrong?
Also, is this even something to worry about, does google treat them differently? We're using the Page Optimisation Tool in Moz Pro ** UPDATE ** It's worth mentioning we are using emberjs, so the website is a single page application.
We use prerender to render the pages for google.0 -
Duplicate page content
The MOZ crawler identifies pages as duplicate content which are not the same.
Moz Bar | | aignerart
The pages http://www.aignerart.com/abstracts-oil-painting/cicli-colora.html and http://www.aignerart.com/abstracts-oil-painting/murs-de-la-ville.html are marked duplicate but they are different paintings. Any ideas?0 -
I'm checking keyword difficulty for two different sites. Would love to view the results by site instead of just one large list. Is that possible? Or would it just be easier to keep the lists separate in Excel and just import when I want an updated report?
I have keyword lists for two sites. Is there a way to label them in the keyword difficulty tool (List A, List B) so I can just view results for a particular site? Or do I need to run the report with List A, export results, delete those keywords, then run the report for List B?
Moz Bar | | JohnNovakLV0 -
Tracking Across 3 Sub-directories on the Same Domain in Google Analytics
Hello everyone, I'm trying to track 3 sub-directories on the same domain. http://domain.com/1/http://domain.com/2/
Moz Bar | | vndflkvnlkzdfnv
http://domain.com/3/ Could someone help confirm this is the correct code for GA? var pageTracker = _gat._getTracker("UA-12345-1"); pageTracker.**_setCookiePath**("/1/"); pageTracker._trackPageview(); pageTracker.**_cookiePathCopy**("/2/"); pageTracker._trackPageview(); pageTracker.**_cookiePathCopy**("/3/"); Thanks in advance.0 -
Keyword Grader & OmniExplorer_Bot Question
I found this in several of my clients Robots.txt "User-Agent: OmniExplorer_Bot Disallow: /" Right now I cannot grade any of them that are on a particular platform that has that written in. Would this block the keyword grader? Thanks!
Moz Bar | | OOMDODigital0