Jump to content

Robots.txt (SEO vs indexing)


sKunKbad

Recommended Posts

I advertise my web design and development services (link in signature) on my website, and added a blog a while back. Because I've had steady work, I wasn't really thinking about it much, but the blog was adversely affecting my SEO. For search phrases that I was once number one, I was on page 2 or 3. So, I decided to use robots.txt like this:

User-agent: *
Disallow: /blog/

Sitemap: http://brianswebdesign.com/sitemap.xml

User-agent: Googlebot
Noindex: /blog/

After implementing this robots.txt I'm back on page one. That isn't really what I want to know.

 

I mainly use the blog to write about things that I may need help remembering in the future, but some other people have left comments, because they somehow found my blog. It would be useful if Google had the blog indexed, but I can't have it affect the SEO of my website. Is my only solution to move the blog to another domain or a subdomain? I know that being on a subdomain, it would be considered it's own site. That's more of less what I need to do. Are there any other options?

Link to comment
https://forums.phpfreaks.com/topic/285997-robotstxt-seo-vs-indexing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.