Post by skip » Mon Oct 22, 2012 4:03 am

I transfer my opencart to subdomain. How to configure robots.txt and where to put it in root or in subdomain folder ?
Thanx
This is my robots file:

User-agent: *
Allow: /.
Allow: /
Disallow: /*?sort
Disallow: /*&sort
Disallow: /*?limit
Disallow: /*&limit
Disallow: /*?route=checkout
Disallow: /*?route=account
Disallow: /*?route=product/search
Disallow: /*&keyword
Disallow: /*?page=1

Active Member

Posts

Joined
Mon May 09, 2011 9:57 pm

Post by skip » Thu Oct 25, 2012 12:30 am

I will try put in root folder and configure like this:

Disallow: /subdomain/*?route=product/search

Active Member

Posts

Joined
Mon May 09, 2011 9:57 pm

Post by surendradhote » Mon May 04, 2020 1:33 pm

Hey, I found an article illustrating how to disallow a subdomain or a part of the site. Check the article here: https://www.theproche.com/2020/05/03/ro ... ubdomains/

Newbie

Posts

Joined
Mon May 04, 2020 1:21 pm
Who is online

Users browsing this forum: No registered users and 44 guests