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
-
Importance (or lack of) Meta keywords tags and Tags in Drupal
I'm wondering should I put any effort in making Meta Keywords tags for my pages or normal Tags (they're separate in Drupal), since apparently first are not considered by most of search engines, while not sure about normal tags. Obviously SERPS has to determine partial valu of the page by content, thus consider keywords / tags to some extend. What's your opinion on that. Thank you.
Intermediate & Advanced SEO | | Optimal_Strategies1 -
How much is the importance of grammar and formation of sentence in Meta Title and Description in SEO
We are having, say around 100 products, cakes to be specific, with different flavors, available in more than 100000 areas of 200 plus cities. Now to make it SEO friendly, we have an algorithm which creates a unique page for each cake name, with area name, and few keywords, so that if customer is searching for cake delivery in any specific area of specific city, the user will easily find the right page. Now the thing is - when creating such unique pages for different combinations of cake, city and areas, it is also creating some content. So we wanted to know how much is the importance given to Grammatically correct statement compared to incorrect statement in ranking a page. for example: there is 1Kg Chocolate Cake, available in Satellite Area of Ahmedabad city, which one of the following Page title will have higher ranking? Case A: Send 1Kg chocolate cake to satellite area ahmedabad online Case B: Online 1kg Chocolate Cake delivery in Satellite Ahmedabad In Case A: the statement contains all keywords, but there are some grammatical mistakes in formation of statement as well as Capital Characters are not used for Satellite (Area name) and Ahmedabad (City name) In Case B: the statement is grammatical proper, as well as capital characters are used for Area name and City name. Does all search engine also have their algorithm designed to analyze the grammatical structure of page title or it just scans the keywords? Thanks in advance. Team Midnightcake
Intermediate & Advanced SEO | | midnightcake1 -
Sudden inexplicable drop in important keywords
I have been running around in small circles trying to work out why, after a year of careful SEO my companies site has suddenly dropped for all it's main keywords out of the first page to the second or third in our weekly report. One theory was that five backlinks with a spam rating of 10 might have had an impact - these have been removed, but I have been advised that these may not have been the cause. Our crawl diagnostics remain squeaky clean. I add one, carefully checked and optimized (as per Moz recommendations) blog posts once a week and nothing has been changed other than that. We have slowly and carefully built up a good backlink profile, but as well as the drop in rankings our weekly report also showed that we lost 109 backlinks from the previous week. I have not been able to find out what I could possibly have done wrong! I've checked all our crawl reports and webmaster tools and nothing has been flagged up. I did discover, whilst typing in some longtail keyword phrases that our preview site URLs as well as our live site URLs appeared in SERPs. I checked with our web agency who assured me that this was fine, but that they had put a redirect on these yesterday. I thought this was a bit strange as that seems odd as we have been live for a year. I guess my question is could the fact that these redirects have not been active (until yesterday) have any bearing on what has happened or is this completely unrelated? Thanks Catherine - very stressed Mozer 😞
Intermediate & Advanced SEO | | SEO_Selectaglaze1 -
AJAX requests and implication for SEO
Hi, I got a question in regard to webpages being served via AJAX request as I couldn't find a definitive answer in regard to an issue we currently face: When visitors on our site select a facet on a Listing Page, the site doesn't fully reload. As a consequence only certain tags of the content (H1, description,..) are updated, while other tags like canonical URLs, meta noindex,nofollow tag, or the title tag are not updating as long as you don't refresh the page. We have no information about how this will be crawled and indexed yet but I was wondering if anyone of you knows, how this will impact SEO?
Intermediate & Advanced SEO | | FashionLux0 -
Main content - javascript/ajax
Hi, On most of our pages Javascript is displaying our main content, so it doesn't show up on the page source and I assume isn't being crawled by Google to the best of its ability. It's also not showing up on MOZ's page grader and crawl results, making analysis and testing harder. What's the easiest way, without having to completely redo our website, to have this content crawled by search engines and moz?
Intermediate & Advanced SEO | | S.S.N0 -
URL Keyword Structure and Importance
Hey Guys, I've done quite a bit of research on this but still can't decide what the correct answer is, so was hoping the Moz community might be able to give some clarification. Say I have a URL **www.yourdomain.com/product/domain-names **is there any benefit in changing my site's backend structure (a relatively lengthly process) so the URL can read **www.yourdomain.com/domain-names **without the 'product' slug? I understand keywords in the URL can have a small impact on SEO, but does the positioning to this degree play any part? Any advice would be great.
Intermediate & Advanced SEO | | paragongroup
Cheers.0 -
First link importance in the content
Hi, have you guys an opinion on this point, mentioned by Matt Cutts in 2010 : Matt made a point to mention that users are more likely to click on the first link in an article as opposed to a link at the bottom of the article. He said put your most important links at the top of the article. I believe it was Matt hinting to SEOs about this. http://searchengineland.com/key-takeaways-from-googles-matt-cutts-talk-at-pubcon-55457 I've asked this in private and Michael Cottam told me he read a study a year ago that indicated that the link juice passed to other pages diminished the further down the page you go. But he can't find it anymore ! Do you remember this study and have the link ? What is your opinion on Matt's point ?
Intermediate & Advanced SEO | | baptisteplace0 -
Importance of text above the fold
I am being advised by an SEO that each page of my ecommerce site must have a significant block of unique text "above the fold" to do well in Google post-Panda. This recommendation is at odds with what my design/usability/conversion people want to see. The current site design features eye-catching graphics just below the header and goes right into product listings, with SEO text near the bottom of the page. How important is it to have SEO text near the top of a page?
Intermediate & Advanced SEO | | mhkatz0