By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,095 Members | 1,586 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,095 IT Pros & Developers. It's quick & easy.

check if a webpage is forwarding to a other webpage

P: n/a
H!

I'm busy with testing python and now i'm trying to check if a url makes
a forward to a other location with the same content.

So it will be possible to scan unique website's.
I already made these checks:

the html forward:
<meta http-equiv="refresh" content="0;URL=othersite.com">

the header:
Content-Location: othersite.com

the url - check:
if '-':
check if 'sitename.com' has not the same content as site-name.com
the problem:
There are still website's forwarding to a other location with the same
content but they overrule the 3 checks above.

Thanks very Much,
GC-Martijn

Sep 6 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
ma*****@gamecreators.nl wrote:
H!

I'm busy with testing python and now i'm trying to check if a url makes
a forward to a other location with the same content.

So it will be possible to scan unique website's.
I already made these checks:

the html forward:
<meta http-equiv="refresh" content="0;URL=othersite.com">

the header:
Content-Location: othersite.com

the url - check:
if '-':
check if 'sitename.com' has not the same content as site-name.com
the problem:
There are still website's forwarding to a other location with the same
content but they overrule the 3 checks above.


there is also a simple Location: in header, as well as javascript
redirects (these are the most evil)
--
-----------------------------------------------------------
| Radovan GarabĂ*k http://kassiopeia.juls.savba.sk/~garabik/ |
| __..--^^^--..__ garabik @ kassiopeia.juls.savba.sk |
-----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
Sep 6 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.