1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

tool to add http:// to all my links

Discussion in 'Link Development' started by DigitalPeon, Aug 7, 2006.

  1. #1
    I sometimes have a list of hundreds to thousands of domains that are named as
    eg. abc.xyz.com instead of http://abc.xyz.com

    instead of inserting http:// 1 by 1, is there any tool to auto add http:// infront of all my domain urls? :confused:

    Thanks.
     
    DigitalPeon, Aug 7, 2006 IP
  2. livingearth

    livingearth Well-Known Member

    Messages:
    1,469
    Likes Received:
    83
    Best Answers:
    0
    Trophy Points:
    140
    #2
    Have you tried notepads find and replace function
     
    livingearth, Aug 7, 2006 IP
  3. DigitalPeon

    DigitalPeon Active Member

    Messages:
    119
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #3
    search and replace won't work coz all the domains first words are different.

    if the url start with www. i can easily replace all of them with http://www.

    but i have all kinda of subs such as david.somesite.com, crazymonkey.somesite.com etc...
     
    DigitalPeon, Aug 8, 2006 IP
  4. Carlito

    Carlito Peon

    Messages:
    679
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You might try copying them into Excel, and then create another column with a formula like:
    =CONCATENATE ("http://", A2)
    Code (markup):
    to produce that result.

    Or if the links are embedded in HTML you could use a regular expression tool like this one to do a more complex replacement of whatever you want.
     
    Carlito, Aug 8, 2006 IP
    DigitalPeon and flightnurse like this.
  5. john269

    john269 Notable Member

    Messages:
    6,229
    Likes Received:
    116
    Best Answers:
    0
    Trophy Points:
    235
    #5
    Excel works great for this.
     
    john269, Aug 8, 2006 IP
    sixty6 likes this.
  6. EGoldstein

    EGoldstein Banned

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yes I use Excel too but in a different manner. Fill http:// in column A until whatever level. Then fill your domains in the column B. Select column A and column B, then copy. Paste it in notepad. Find and replace all the spaces between http:// and domain using the "find and replace" option. Replace the macro space with nothing. That's it.

    My first post here by the way.

    Emmanuel Goldstein.
     
    EGoldstein, Aug 9, 2006 IP
  7. DigitalPeon

    DigitalPeon Active Member

    Messages:
    119
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #7
    Thanks Guys! Excel works wonders! :D
     
    DigitalPeon, Aug 9, 2006 IP
  8. john269

    john269 Notable Member

    Messages:
    6,229
    Likes Received:
    116
    Best Answers:
    0
    Trophy Points:
    235
    #8
    I never thought of doing that and I always try and find the quickest way of doing things as time cost money.

    I normally join the both columns together using something like =b3&""&c3

     
    john269, Aug 9, 2006 IP
  9. adamovic

    adamovic Active Member

    Messages:
    392
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #9
    Use editor (like UltraEdit or gEdit on Linux) and replace "\n" with "\nhttp://" or something like that (href=" with href="http://).
     
    adamovic, Aug 17, 2006 IP