# Weird Relative Links

**URL:** <https://forum.kirupa.com/t/weird-relative-links/272506>\
**Category:** web dev\
**Created:** [October 6, 2008, 12:59am UTC](https://forum.kirupa.com/t/weird-relative-links/272506 "2008-10-06T00:59:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeoDreamer](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Post date:** [October 6, 2008, 12:59am UTC](https://forum.kirupa.com/t/weird-relative-links/272506/1 "2008-10-06T00:59:24Z")

</div>

I’m scraping some websites and I’ve come across a site with a weird link structure. The \<a href\> shows a relative link, but that relative link added onto the current link does not equal the absolute link I see on the bottom of my browser.

[![](http://img300.imageshack.us/img300/5100/linkpu6.th.png)[URL=http://g.imageshack.us/thpix.php] ![](http://img300.imageshack.us/images/thpix.gif)](http://img300.imageshack.us/my.php?image=linkpu6.png)

If I want to make a robust web crawler, how do I detect that a certain site will have such an abnormality?
