Exclude URLs
« on: June 18, 2008, 11:09:42 AM »
Hi,

Do not know what to do. Have a news site with options (links) like: prin, send to friend
URLs are like

http://www.mywebsite.com/modules.php?name=News&file=print&sid=52
http://www.mywebsite.com/modules.php?name=News&file=friend&op=FriendSend&sid=45
http://www.mywebsite.com/modules.php?name=News&file=ulubione&sid=2

so a went for Exclude URLs but excluded the numbers (52, 45 and so on) and the end of the URL.

This does not work

What should I do to have those URLSs Excluded?

Should I put * after sit=      (sit=*)  ?

Matt
Re: Exclude URLs
« Reply #1 on: June 18, 2008, 12:54:07 PM »
Hi
Yes, but use a '?' instead if '*'

Heres an example of an exclude list I use on a domain
The SiteGenerator was picking up stuff like:
Code: [Select]
domain/blog/entry.html
domain/blog/entry.html?review=write

Don't need the review/comment on each page, so I ignore it by adding to the exclude list:
Code: [Select]
/*review=write
It follows the same protocol as the robots.txt ('?' = wildcard number, '*' = wildcard character)
« Last Edit: June 18, 2008, 01:07:46 PM by CallumW »
Re: Exclude URLs
« Reply #2 on: June 18, 2008, 01:12:29 PM »
More info on robots.txt > here <

Code: [Select]
http://www.robotstxt.org/orig.html
Re: Exclude URLs
« Reply #3 on: June 18, 2008, 02:32:21 PM »
Thank you, I'll give it a go and let you know
Re: Exclude URLs
« Reply #4 on: June 18, 2008, 02:47:06 PM »
More info on robots.txt > here <

Code: [Select]
http://www.robotstxt.org/orig.html

Thx for inf.

Q. In Exclude URLs do I go h t t p : // www.... and so on OR local path i.e. modules.php?name=News&new_topic=?&pagenum=?

Matt
« Last Edit: June 18, 2008, 02:49:06 PM by accounts16 »
Re: Exclude URLs
« Reply #5 on: June 18, 2008, 03:15:49 PM »
Just the local path as per my exclude example  ;)
Re: Exclude URLs
« Reply #6 on: June 18, 2008, 10:39:13 PM »
Just the local path as per my exclude example  ;)

Hi,

Eh, I am lost.

The URL goes:
h t t p : / / www. domain/ modules.php?name=News&amp;file=friend&amp;op=FriendSend&amp;sid=21378

I removed h t t p : / / www. domain / - did not help.

Wold you rewrite this url thay way it should work, please.

Matt
Re: Exclude URLs
« Reply #7 on: June 19, 2008, 01:06:54 AM »
Code: [Select]
/*sid=?
if the sid includes chars, not just numbers then do
Code: [Select]
/*sid=*

All subpages begin / afer the domain
the '*' means anything to the left of your static text 'sid='
The '?' means any number after (or '*' any character after)

;)
« Last Edit: June 19, 2008, 01:11:11 AM by CallumW »
Re: Exclude URLs
« Reply #8 on: June 19, 2008, 08:35:16 PM »
Thank you, got it  :)

IF anyone what to see the list of those that wokr on my site here it is:

/*sid=?
/*sid=*
/*quote=?
/*quote=*
/*pagenum=?
/*pagenum=*
/*ads=?
/*ads=*
/*mod=?
/*mod=*
*/?/*,?