A global place for general discussion (Volvo, V3M or non-Volvo related topics).
Please introduce yourself here, your Volvo 300 hobby...
NO technical support, parts requests or car advertisements here
-
Duvel78
- Website Admin
- Posts: 2260
- Joined: 29 Dec 2003 01:33 am
- Location: Country of Duvel beer > Belgium <
-
Contact:
Post
by Duvel78 » 25 Oct 2004 01:09 pm
I need some help for the robots.txt file, to avoid a duplicate content problem with my url rewriting... But I'm lost
I've found that code for example in a tutorial:
Code: Select all
Disallow: /your-forum-folder/sutra*.html$
Disallow: /your-forum-folder/ptopic*.html$
Disallow: /your-forum-folder/ntopic*.html$
Disallow: /your-forum-folder/ftopic*asc*.html$
But this is not allowed, a "*" after a "disallow" instruction...
Collection: '78 343 Black Beauty, '82 345 GLS, '83 340 DL 2.0, '84 340 DL vario, '88 360 GLT 5d (2x) & 4d (2x), '89 GLT, '91 340 vario
Dad's cars: '87 340 vario, '89 340 vario
Lot of donors cars and parts...
V3M for life!
-
5lab
- *** V3M DONOR ***
- Posts: 3454
- Joined: 31 Jan 2004 01:44 pm
- Location: Brighton, UK
-
Contact:
Post
by 5lab » 25 Oct 2004 01:24 pm
why not? surely robots.txt just tells bots what to do?
Siddy-'87 360 Glt lhd convertible
Swapsea-'89 360GLT-swapped!
Leah-'84 340GL-sold! Maisie-'85 340GL-sold!
Snowy-'88 360GLE-killed by a truck! Dougle-'89 360GLT-dead&stolen!
Nessy-'86 340GL-foggy's! Grace-'86 360GLT-gone!
-
Duvel78
- Website Admin
- Posts: 2260
- Joined: 29 Dec 2003 01:33 am
- Location: Country of Duvel beer > Belgium <
-
Contact:
Post
by Duvel78 » 25 Oct 2004 01:28 pm
Yep it tells the bots what to do and not to do
But in the code, a "*" can't after a "disallow"
Collection: '78 343 Black Beauty, '82 345 GLS, '83 340 DL 2.0, '84 340 DL vario, '88 360 GLT 5d (2x) & 4d (2x), '89 GLT, '91 340 vario
Dad's cars: '87 340 vario, '89 340 vario
Lot of donors cars and parts...
V3M for life!
-
5lab
- *** V3M DONOR ***
- Posts: 3454
- Joined: 31 Jan 2004 01:44 pm
- Location: Brighton, UK
-
Contact:
Post
by 5lab » 25 Oct 2004 01:47 pm
different bots use slightly different rules. how do you know you cant use a * after a dissalow?
Siddy-'87 360 Glt lhd convertible
Swapsea-'89 360GLT-swapped!
Leah-'84 340GL-sold! Maisie-'85 340GL-sold!
Snowy-'88 360GLE-killed by a truck! Dougle-'89 360GLT-dead&stolen!
Nessy-'86 340GL-foggy's! Grace-'86 360GLT-gone!
-
Duvel78
- Website Admin
- Posts: 2260
- Joined: 29 Dec 2003 01:33 am
- Location: Country of Duvel beer > Belgium <
-
Contact:
Post
by Duvel78 » 25 Oct 2004 02:13 pm
It's a general rule (
http://www.robotstxt.org )
Note also that regular expression are not supported in either the User-agent or Disallow lines. The '*' in the User-agent field is a special value meaning "any robot". Specifically, you cannot have lines like "Disallow: /tmp/*" or "Disallow: *.gif".
whole article:
http://www.robotstxt.org/wc/exclusion-admin.html
Collection: '78 343 Black Beauty, '82 345 GLS, '83 340 DL 2.0, '84 340 DL vario, '88 360 GLT 5d (2x) & 4d (2x), '89 GLT, '91 340 vario
Dad's cars: '87 340 vario, '89 340 vario
Lot of donors cars and parts...
V3M for life!
-
5lab
- *** V3M DONOR ***
- Posts: 3454
- Joined: 31 Jan 2004 01:44 pm
- Location: Brighton, UK
-
Contact:
Post
by 5lab » 25 Oct 2004 02:18 pm
ah gotcha. is there another character, something like ? you can use?
Siddy-'87 360 Glt lhd convertible
Swapsea-'89 360GLT-swapped!
Leah-'84 340GL-sold! Maisie-'85 340GL-sold!
Snowy-'88 360GLE-killed by a truck! Dougle-'89 360GLT-dead&stolen!
Nessy-'86 340GL-foggy's! Grace-'86 360GLT-gone!
-
foggyjames
- *** V3M DONOR ***
- Posts: 9361
- Joined: 29 Jan 2004 04:20 am
- Location: Nottingham, UK
Post
by foggyjames » 31 Oct 2004 06:41 pm
Presumably the * is a 'wildcard'...which doesn't work with this board....in which case the 'wildcard' for this board must be something else....
....he says from a complete position of ignorance
cheers
James
-
5lab
- *** V3M DONOR ***
- Posts: 3454
- Joined: 31 Jan 2004 01:44 pm
- Location: Brighton, UK
-
Contact:
Post
by 5lab » 31 Oct 2004 06:46 pm
you kinda had teh right idea, but not entirely right. never mind eh
Siddy-'87 360 Glt lhd convertible
Swapsea-'89 360GLT-swapped!
Leah-'84 340GL-sold! Maisie-'85 340GL-sold!
Snowy-'88 360GLE-killed by a truck! Dougle-'89 360GLT-dead&stolen!
Nessy-'86 340GL-foggy's! Grace-'86 360GLT-gone!