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
-
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 -
A few important mobile SEO questions
I have a few basic questions about mobile SEO. I'd appreciate if any of you fabulous Mozzers can enlighten me. Our site has a parallel mobile site with the same urls, using an m. domain for mobile and www. for desktop. On mobile pages, we have a rel="canonical" tag pointing to the matching desktop URL and on desktop pages we have a rel="alternate" tag pointing to the matching mobile URL. When someone visits a www. page using a mobile device, we 301 them to the mobile version. Questions: 1. Do I want my mobile pages to be indexed by Google? From Tom's (very helpful) answers here, it seems that I only want Google indexing the full site pages and if the mobile pages are indexed it's actually a duplicate content issue. This is really confusing to me since Google knows that it's not duplicate content based on the canonical tag. But - he makes a good point - what is the value of having the mobile page indexed if the same page on desktop is indexed (I know that Google is indexing both because I see them in search results. When I search on mobile Google serves the mobile page and when I search on desktop Google serves me the desktop page.)? Are these pages competing with each other? Currently, we are doing everything we can do ensure that our mobile pages are crawled (deeply) and indexed, but now I'm not sure what the value of this is? Please share your knowledge. 2. Is a mobile page's ranking affected by social shares of the desktop version of the same page? Currently, when someone uses the share buttons on our mobile site, we share the desktop url (www. - not m.). The reason we do this is that we are afraid that if people are sharing our content with 2 different url's (m.mysite.com/some_post and www.mysite.com/some_post) the share count will not be aggregated for both url's. What I'm wondering is: will this have a negative effect on mobile SEO, since it will seem to Google that our mobile pages have no shares, or is this not a problem, since the desktop pages have a rel="alternate" tag pointing to mobile pages, so Google gives the same ranking to the mobile page as the desktop page (which IS being shared)?
Intermediate & Advanced SEO | | YairSpolter0 -
How important is the optional <priority>tag in an XML sitemap of your website? Can this help search engines understand the hierarchy of a website?</priority>
Can the <priority>tag be used to tell search engines the hierarchy of a site or should it be used to let search engines know which priority to we want pages to be indexed in?</priority>
Intermediate & Advanced SEO | | mycity4kids0 -
Title tags with >70 characters but most important words at start. Is this really a problem?
Is there in fact any kind of negative impact having title tags longer than 70 characters, as long as I place the most important keywords at the start and make sure that title still is compelling when cut somewhere around 70 characters? Are the additional words after the 70 characters limit just ignored? May additional words dillute the strength of the first words or may they even be helpful ? Any experience or any studies you know about impact of longer title tags? Or any statement from google about it?
Intermediate & Advanced SEO | | lcourse0 -
Order of importance
Hi, From the screenshot below I have signed up to "Plan 1". I am not happy with the company and think I can do this better myself using SEOMoz. My questions are. Ignoring the one off tasks listed. Which of the Monthly tasks is the most important, which is the second most important etc? Is there any that can be ignored or are any now detrimental to SEO? Is there anything that is not on the list that maybe there should be? In summary I am trying to workout how hard and how much time and effort it will take to go it alone using SEOMoz for guidance? Inline images 1 In case the screenshot doesn't show, below is the Monthly tasks I get on my Plan. 5 x Themed Link Building (min PR2) 10 x Directory Submissions 4 x Blogs 250 words Content Copywriting 1 x Article syndicated 50 times Thanks Andrew
Intermediate & Advanced SEO | | Studio330 -
Forced Trailing Slash on PHP Pages In Google!
Hi, have never seen this before so am hoping soemone can shed some light! Google seems to be forcing a trailing slash at the end of our php pages within the search results. For example, Google is indexing http://www.kingstoncabinets.co.uk/heat-convection.php/ (trailing slash) rather than http://www.kingstoncabinets.co.uk/heat-convection.php (without slash). The trailing slash page doesn't display properly and has no page authority. I've ran the site through Screaming Frog and there are no internal links the the trailing slash URL's, nor does there seem to be any external links to these pages. Why is Google forcing the slash? Am confused 😞
Intermediate & Advanced SEO | | Webpresence0 -
Is DOCTYPE important for SEO?
Hello fellow Mozzers. I am just having a brief look at a potential clients website before speaking to them tomorrow and whilst looking at the source I noticed that they don't appear to have a clear definition for their Doctype. All the have at the top of each page is I have to admit that Doctypes aren't my strong point but I know that they are normally slightly more descriptive than this. Can this have any effect on rankings? or is this just an issue for W3C validation? Thanks 🙂
Intermediate & Advanced SEO | | AdeLewis0