1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How Do I cut a list of Forums down to Root Index?

Discussion in 'Black Hat SEO' started by xoxxx, Dec 22, 2010.

  1. xoxxx

    xoxxx Regular Member

    Joined:
    Oct 9, 2009
    Messages:
    421
    Likes Received:
    140
  2. Dubbletoke

    Dubbletoke Regular Member

    Joined:
    May 4, 2010
    Messages:
    434
    Likes Received:
    88
    Occupation:
    Web Developer
    Location:
    Winter Haven, Florida
    xrumer also has a tool for doing it, its called "links post processing" if you need help doing it you can PM me i would be glad to assist :p
     
  3. xoxxx

    xoxxx Regular Member

    Joined:
    Oct 9, 2009
    Messages:
    421
    Likes Received:
    140
    Scrapebox cuts the URL down to root not down to forum root.

    Awesome!
    Ive been looking at xrumer all day trying to figure out where it would have an option like this...
     
  4. xoxxx

    xoxxx Regular Member

    Joined:
    Oct 9, 2009
    Messages:
    421
    Likes Received:
    140
    Un fortunatley no..

    Some urls wont even have an easy structure..
    Some forums would be:

    forum.c0m/eawfabfiawbfiabibbaefbaibfieabigaysex.php
     
  5. mataff

    mataff Junior Member

    Joined:
    Sep 21, 2008
    Messages:
    139
    Likes Received:
    54
    PHP: parse_url

    http://www.php.net/manual/en/function.parse-url.php

    Without having a consistent pattern to look for it should be next to impossible for any program to guess where in the url the forum root begins. IIRC Xrumer will discover where the starting point is.

    Also guess you could break each link down at each forward slash then only keep the successful ones but your list would be massive.

    If your link is http://example.com/something/community/sdsdsd.php

    http://example.com/
    http://example.com/something/
    http://example.com/something/community/
     
    Last edited: Dec 23, 2010