Jump to content

Robots.txt


liamloveslearning

Recommended Posts

Hi everyone,

Im just after some advice regarding my robots.txt file, I have to directories on my server, httpdocs and httpsdocs, httpsdocs contains my webstore.

 

I want to stop search engines crawling my store as there are a lot of missing oages etc and there not very 'SEO friendly URLS', ive googled around the subject and it seems I need to include

 

User-agent: *

Disallow: /httpsdocs/

 

in my robots.txt, if I was to do this and place the robots.txt above http and httpsdocs on my server shall it theoretically work?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/188189-robotstxt/
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.