Default Robots.txt in WordPress - Should i change it??
-
I have a WordPress site as using theme Genesis i am using default robots.txt. that has a line Allow: /wp-admin/admin-ajax.php, is it okay or any problem. Should i change it?
-
Yes, we're a news site as well and in our case we want to make sure the low quality pages on TNW aren't indexed.
-
Thank you both for your response.
@Martijn your robots.txt is really a nice example but for my new site is it good practice to block this areas??
@Peter To be a safe side I was using the same robots.txt...
-
In addition of Martijn here is mine robots.txt:
User-agent: *
Disallow:Sitemap: http://peter.nikolow.me/sitemap_index.xml
But using Yoast - categories, tags, most of archives and other generated pages are disabled for indexing.
-
Hi Peter,
Usually I would say it's not enough as the robots.txt is forgeting about excluding the search pages and in most cases you want to make sure the WP core files are not included + tag pages. Take a look at our robots.txt to see what we've included there: http://thenextweb.com/robots.txt then you'll notice we include for example these:
User-agent: *
Disallow: ?p=
Disallow: /wp-includes/
Disallow: /wp-login.php
Disallow: /wp-admin/*
Disallow: /wp-register.php
Disallow: /wp-content/themes/icetea/includes/*
Disallow: /tag/
Disallow: ?s=
Disallow: /search/*Other cases in our robots.txt are very specifically in there because of our site and may not apply to others.
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
-
Changing URL's During a Site Redesign
What are the effects of changing URL's during a site redesign following all of the important processes (ie: 301 redirects, reindexing in google, submitting a new sitemap) ?
Intermediate & Advanced SEO | | jennifer-garcia0 -
Wordpress Tags error in MOZ
Hi, We are getting an enormous amount of missing meta description only on our tag archives. When we post we fill in a description and are using the Yoast plugin ( getting green lights). Now we are finding that we're missing descriptions in tags archives. What is the best thing to do? We're finding that the tags are creating a separate url for each tag that has missing description even though the post has a full description. 1. To block spiders from crawling tags? 2. To stop using tags? 3. What do you suggest? Thank you
Intermediate & Advanced SEO | | WalterHalicki0 -
Ranking dropped after changing title tag
I recently changed my company's site homepage title tag to make it start with our target keyword. The page was originally at page #7 or #8 and dropped to page #17 directly after I changed the page title. Is this normal? Is it's a temporary drop or should I change it back to the previous title.
Intermediate & Advanced SEO | | ForumOne0 -
Thoughts on my change of address delima?
Currently our corporate website and store website are under two domains. internationalcompany.com (DA: 51; Corporate Website) companystore.com (DA: 34; US Store Website) We were hoping to piggyback on the corporate website domain authority by moving our store to internationalcompany.com/store and when we learned that couldn't happen we opted for us.internationalcompany.com/store. The reason we are leaning towards the route of us.internationalcompany.com is because it is likely that we will be taking over the US branch of the corporate website so we thought it better that the store be a sub address of that. My main concerns... From what I have gathered it seems that I can't do a change of address to a subdomain within Webmaster Tools - I'd have to have access to internationalcompany.com which won't happen soon. So, is a 301 just as good in this case? As a subdomain, we won't actually reap the benefits of the domain authority of the parent domain will we? Are we just as well off considering a new domain and asking that regional tags be established on the current internationalcompany.com so that the content does not interfere with our SEO efforts? This is a broad explanation for a complicated issue. Please ask any question that may help clarify.
Intermediate & Advanced SEO | | bearpaw0 -
Safely change canonical URL many times
Hi, We are actually working on a new product information section for our network of websites (site A, B, C and D) where product landing pages allow to download information in pdf format and are active for downloads during a period of two months (active form for commercial reasons) with a unique URL (the case today). Here is a possible scenario for these product landing pages in the near future: Product is promoted in website A during 2 months (January to February) so canonical URL = A/page. Once expired, the product info. download form disappears. Customer decides to promote the same product in the same site A as well in site B from April to May so canonical URL will still be A/page. Canonical URL of B/page will point to A/page. Customer decides to relaunch his product promotion this time in site C from July to August so canonical URLs of pages A/page and B/page will now point to C/page as the latter will be the only product campaign active with a download form At the end of the year the customer does another campaign for the same product this time in website D so we will change the canonical URL of pages A/page, B/page and C/page to D/page as the latter will be the only product campaign active with a download form The obvious question here is: will this way of changing canonical URLs dynamically hurt the SEO of the section, pages, one particular website or the whole network ? Would it be better and safer to just keep the first canonical URL forever? A/page in this example Thanks so much for your input on this.
Intermediate & Advanced SEO | | JulienLetellier0 -
Wordpress - Dynamic pages vs static pages
Hi, Our site has over 48,000 indexed links, with a good mix of pages, posts and dynamic pages. For the purposes of SEO and the recent talk of "fresh content" - would it be better to keep dynamic pages as they are or manually create static pages/ subpages. The one noticable downside with dynamic pages is that they arent picked up by any sitemap plugins, you need to manually create a separate sitemap just for these dynamic links. Any thoughts??
Intermediate & Advanced SEO | | danialniazi1 -
Dropped 50 places for Page Title Change
Hey Guys, I've got a keyword set that is really annoying me. You see on the 19th July I changed my page title for the home page to what I thought would be something more competitive and instead of climbing from rank 9/10 I dropped out of the top 50. So I waited 2 weeks to see if it changed and it just stayed out of the top 50. After two weeks I changed it back again and I've been out of the top 50 ever since. I havnt made any real significant changes to the site as I've held off waiting for the keyword ranking to return but I dont think it will. I was trying to improve the keyword phrase "bahamas all inclusive" for the website www.smallhope.com. I'd managed to get on to page 1 rank 9/10 depending. I changed the title; from "Bahamas All Inclusive - Andros Bahamas Hotel - Bahamas Vacation - Small Hope Bay Lodge All-Inclusive" to "Bahamas All Inclusive Vacation - Small Hope Bay Lodge All-Inclusive" This is really bad for us and I'm not sure what to do. I had a whole plan in place starting with the Title and moving on to the H1 tags, but now I'm not so sure. I've put everything on hold. If this was you what would you do to get back to page 1? Thanks, Adam
Intermediate & Advanced SEO | | NaescentAdam0