How important is admin-ajax.php?
-
Hi there!
It's been a long time since I last did a technical audit of a site. I've currently playing with the 'fetch as google' tool to find out if we're blocking anything vital.
The site is based on Wordpress, and after a recent hacking incident, a previous SEO moved the login portal from domain.com/wp-admin/ to domain.com/pr3ss/wp-admin/ - to stop people finding it.
Fair enough. But they then updated the robots.txt file to look like this:
User-agent: *
Disallow: /pr3ss/wp-admin/Now, some pages are trying to draw on theme elements like:
http://www.domain.com/pr3ss/wp-admin/admin-ajax.php
http://www.domain.com/pr3ss/wp-content/themes/bestpracticegroup/images/column_wrapper_bg.pngAnd are naturally being blocked (not that this seems to affect the way pages are rendering in Google's eyes)
A good SEO friend of mine has suggested allowing the theme folder, and any sub folders where this becomes an issue.
What are your thoughts? Is it even worth disallowing the /pr3ss/wp-admin/ path?
Cheers guys and gals!
All the best,
John.
I've found a couple of the theme's
-
On a side note, if you don't want hackers to find the wp-admin folder, you may not want to put the folder in the robots.txt file, as this is publicly accessible and it will make it easy to find (although it may not be an issue for automatic attacks).
-
Hello John,
I don't understand how blocking /wp-admin/ would keep /wp-content/ from being accessed and rendered by Google.
Google doesn't need to see anything in the /wp-admin/ folder so you should keep it blocked. They do need to see the /wp-content/ folder though.
-
It is either or really. Its not hard to tell that a site is running wordpress, it is pretty hard to hide. At the same time the admin directory does not have any public facing files for non-logged in users as well. I just use a good Wordpress security plugin, good server practices and leave it at that.
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
-
Are backlinks the most important factor in SEO?
I have had an agency state that "Backlinks are the most important factor in SEO". That is how they are justifying their strategy of approaching bloggers. I believe there are a lot more factors than that including Target Market definition, Keyword identification an build content based on these factors. What's everyone's thoughts?
Intermediate & Advanced SEO | | AndySalmons0 -
How to make an AJAX site crawlable when PushState and #! can't be used?
Dear Mozzers, Does anyone know a solution to make an AJAX site crawlable if: 1. You can't make use of #! (with HTML snapshots) due to tracking in Analytics 2. PushState can't be implemented Could it be a solution to create two versions of each page (one without #!, so campaigns can be tracked in Analytics & one with #! which will be presented to Google)? Or is there another magical solution that works as well? Any input or advice is highly appreciated! Kind regards, Peter
Intermediate & Advanced SEO | | ConversionMob0 -
Implementation of AJAX Crawling Specifications
My URL is: http://www.redfin.com/TX/Austin/8413-Navidad-Dr-78735/home/31224372 We're using Google's AJAX crawling system, per the documentation here. https://developers.google.com/webmasters/ajax-crawling/The example page above requires JavaScript to display content; it includes in the source. We have a lot of pages like this on our site.We expect Google to query us at this URL:http://www.redfin.com/TX/Austin/8413-Navidad-Dr-78735/home/31224372?escaped_fragment=This page renders correctly with JavaScript disabled.Are we doing this correctly? There are some small differences between the escaped_fragment HTML snapshot and the JavaScript-generated content. Will this cause any problems for us?We ask because there was a period of about two months (from October 4th to Dec 29th) during which Google's crawler radically decreased the hits to our escaped_fragment URLs; it's maybe recovering now, but maybe it isn't, and I wanted to be absolutely sure we're doing this correctly.
Intermediate & Advanced SEO | | RyanOD0 -
ECommerce Products substantially similar but with important differences?
Hi eCommerce gurus, We sell a number of products, electrical in nature where the unit is from a group (sub-model is probably a good description) but each has important different physical properties. An example description is: #1 Clipsal C-Bus Wireless Plug Adapter 1 Channel Leading Edge Dimmer, 3A C-Bus Wireless Plug Adaptors allow mains GPO operated equipment to be controlled as part of a C-Bus Wireless network. The buttons on a C-Bus Wireless Plug Adaptor are able to control a load connected directly to the unit and control loads connected to other C-Bus Wireless units. Also, buttons on C-Bus Wireless Wall Switches can control a load connected to a Plug Adaptor.Each button can be programmed to function as an on/off, dimmer or scene control, as well as a number of other options. The other 2 in this group are: #2 Clipsal C-Bus Wireless Plug Adapter 1 Channel Trailing Edge Dimmer, 2A #3 Clipsal C-Bus Wireless Plug Adapter 1 Channel Relay, 10A but the item description details are really the same as #1. This trips Roger's duplicate content error and so probably Google's as well. I can consolidate into one product with 'options' but then can't list the three products discretely on Google shopping etc, and currently the 'Category' is a much wider 'Wireless Automation Products' which I don't really want to sub-categorise into 'C-Bus Wireless Plug Adapters' with three items in it making it harder for people to find. I can 'Spin' the description but this seem stupid and even more so for other items I have that have 12 different derivations of the same basic product Any Suggestions?
Intermediate & Advanced SEO | | BM70 -
How important is it to canonicalize mobile URLs to desktop URLs?
I know many SEO's prefer a stylesheet and single URL, but if you use m.domain.com, do you canonicalize to your desktop URLS?
Intermediate & Advanced SEO | | nicole.healthline0 -
How important is sticking to an exact keyword?
The latest article I'm writing for my site is "Friends With Benefits Rules"... So the first part of my question is, what does SEOMoz advocate as being the ideal # of times to include the entire key phrase in the article? I know nobody but Google knows for certain, but is 4 (including in H1's etc.) generally considered enough, other than in the page title? Second part is, what is the consensus about how important is it to stick to the exact keyword? For the example I gave, is it just as good to include a comma, E.g. "...friends with benefits, rules..." or a hyphen "Friends with Benefits - Rules for..."? One thing I'm unclear about on this topic is stop words and plurals. I've been told before that Google ignores stop words, but results for searches with or without the word "how," for example produce very different results... Same thing with plurals. In any case, all of the above is assuming that the quality of the content would not be affected in either case...
Intermediate & Advanced SEO | | corp08030 -
How important is adding Google Analytics for SEO?
Ann Smarty mentions in a post (http://www.searchenginejournal.com/200-parameters-in-google-algorithm/15457/) the addition of Google Analytics adds SEO value. We have a different analytics tool, do you think it is necessary to add Analytics? How important do you think it is?
Intermediate & Advanced SEO | | nicole.healthline0 -
With Panda, which is more important, traffic or quantity?
If you were to prioritize how to fix a site, would you focus on traffic or quantity of urls? So for example, if 10% of a site had thin content, but accounted for 50% of the traffic and 50% of the site had a different type of thin content but only accounted for 5% of organic traffic, which would you work on first? I realize both need to be fixed, but am unsure of which to tackle first (this is an extremely large site). Also, I am wondering if the simply the presence of thin content on a domain can affect a site even if it isn't receiving any traffic.
Intermediate & Advanced SEO | | nicole.healthline0