-
-
Notifications
You must be signed in to change notification settings - Fork 45
Analysing site shows robot and sitmap not present #32
Comments
What web server are you using? Make sure there aren't any rules that might not give Craft a chance to see the request. |
Using Digital Ocean with Ubuntu and Server Pilot - I believe it's running On Wed, Mar 2, 2016 at 12:06 PM khalwat notifications@github.com wrote:
|
Yeah, so make sure there isn't something like this in the site file for Nginx:
That would cause Craft to never see the request. |
Abbas, let me know what you uncover. I strongly suspect that this is server configuration issue, but potentially, it could also be a misunderstanding. The webpage you pointed me to is http://ww2.tbreak.com/companies/apple -- robots.txt should only appear at the root, so http://ww2.tbreak.com/robots.txt assuming that's the domain we're talking about here? |
Thanks for the follow up Yes, the robots.txt should appear in the root but it's not. Checked with the server guys and thus was their response: ServerPilot does not block search engine robots by default in our configuration. You should not need to make any changes to Nginx. If the plugin is not creating the robots.txt file I would recommend verifying the files permissions of your various app files, which could prevent the plugin from creating the necessary files. Sent from my iPad
|
Well, the plugin doesn't create a So I suspect that that's happening here is for some reason, Craft is never seeing the request. What about http://ww2.tbreak.com/humans.txt ...which is handled exactly the same way
...which I think is in there by default on Nginx. It needs to be commented out or removed for it to work. |
Oh, by the way, you mentioned sitemap as well -- SEOmatic doesn't create a sitemap. There are a number of plugins that will do that for you, however. It's on my "wish list" of things to implement, however. |
Would you mind taking a quick look at how the plugin is setup in Craft
|
I wouldn't mind at all, but I don't think it's going to help... there really are not any settings for Robots.txt in SEOmatic. If |
^ You might want to delete or edit that comment, it's publicly visible. Anyway, I logged in and fixed your SEO Keywords, but I don't see anything that's configured wrong. I just tested it, and it looks like your robots.txt is working right: http://ww2.tbreak.com/robots.txt
|
Weird- site-analyzer.com is still not finding it. Even I'm getting a 404 On Fri, Mar 4, 2016 at 12:17 AM khalwat notifications@github.com wrote:
|
aahhhhhh, I know what it is :) You're using an old version of SEOmatic that had a bug in it where Update to the latest (1.1.6 was just released today) and it'll be fixed. Sorry for the run-around, I completely forgot. I should have checked the version of SEOmatic you were running. |
BAM- upgraded and now it seems to work. BTW, do you have any plans to add Microdata or redirections to your plugin. On Fri, Mar 4, 2016 at 12:31 AM khalwat notifications@github.com wrote:
|
There's already a TON of micro data in the plugin -- what specifically do you mean? As for redirects, I thought about it, but there are some very good (free) plugins out there already that do it well. What would you use it for? |
Maybe I haven't set it up correctly but for example, here is a review with With regards to redirects, we're shifting from Wordpress to Craft and some On Fri, Mar 4, 2016 at 1:11 AM khalwat notifications@github.com wrote:
|
As for "missing" micro data, are you using a custom template for rendering the SEO meta or something? Because there's a bunch of metadata missing from your site that by default is there. For redirecting: |
Looks like I had created a template in SEOMatic when testing- I've deleted Thanks for the links to the redirects. Also, I've added my google analytics ID but it's not tracking pages. Dev mode is off. On Fri, Mar 4, 2016 at 10:34 AM khalwat notifications@github.com wrote:
|
When you call SEOmatic, it should be just:
Make sure you are not doing this anywhere:
You're still using some kind of custom template that you must have removed a bunch of the SEO from. This is the same reason why Google Analytics is not included. |
I'm using https://www.site-analyzer.com/ to test my site and one of the thing's its reporting is that there is no robots.txt file or a sitemap. I believe I've selected all the right options in SEOMatic to have these generated. Here is a sample page: http://ww2.tbreak.com/companies/apple
The text was updated successfully, but these errors were encountered: