Black Hat Forum Black Hat SEO The only backlink provider with unlimited projects/links per day!
Go Back   Black Hat Forum Black Hat SEO > Black Hat SEO > Black Hat SEO

Black Hat SEO Black Hat Search Engine Optimization. Discuss ways to improve your sites ways using Black Hat SEO tactics!

Mad Content   BLOG SEO
Search
 
LinkWheel

LiveChatAgent



Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-09-2010, 04:57 PM
44blackhatters's Avatar
Registered Member
 
Join Date: Jan 2008
Posts: 52
Thanks: 8
Thanked 3 Times in 2 Posts
Reputation: 10
iTrader: (0)
Default What does <a href="../../../../../"> Indicate?

Hey --

Why would a link be formatted <a href="../../../../../../"> exactly like this in the source code? It contains NO filenames or anything except the slashes and dots. What does it indicate? Other links on source code look normal, but then there are some with this format thrown in. Any clues would be appreciated. The page containing the link is NOT the home page, it is 3 directories above, as explained in my second post.

PM me if necessary.

Thanks.

Last edited by 44blackhatters; 02-09-2010 at 06:17 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-09-2010, 05:02 PM
Junior Member
 
Join Date: Nov 2009
Posts: 150
Thanks: 36
Thanked 36 Times in 29 Posts
Reputation: 27
iTrader: (8)
Send a message via AIM to ndev2k Send a message via MSN to ndev2k Send a message via Yahoo to ndev2k
Default Re: What does <a href="../../../../../../"> Indicate?

each ../ basically goes back a directory so the link is on the same server but 6 directories behind the current page. So it is basically what is called a relative link instead of an absolute link
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-09-2010, 05:04 PM
showboytridin's Avatar
Regular Member
 
Join Date: Sep 2009
Location: 127.0.0.1
Posts: 351
Thanks: 33
Thanked 264 Times in 46 Posts
Reputation: 13
iTrader: (0)
Default Re: What does <a href="../../../../../"> Indicate?

It 's a parent directory. You can have a lot of directories like /dir1/dir2/dir3/dir4/dir5 . If you are in dir5 you may need to go/call dir1. You can use ../../../../../. You will get the index.html or index,php from dir1.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-09-2010, 05:15 PM
44blackhatters's Avatar
Registered Member
 
Join Date: Jan 2008
Posts: 52
Thanks: 8
Thanked 3 Times in 2 Posts
Reputation: 10
iTrader: (0)
Default Re: What does <a href="../../../../../../"> Indicate?

Thank you, very Interesting. Ok...What if this link with the 6 slashes was located on this particular page and domain, which isn't 6 directories deep:

htp://www.thebestwebsite.com/direct1/direct2/direct3/ (Totally made up this url)

Since there are only 3 subdirectories on this page (I think?), how could the relative link contain 6 slashes?

Does this mean the page link would be going forward 6 directories from the htp://www.thebestwebsite.com/direct1/direct2/direct3/...maybe landing at directory 9?

Thanks for your help.

Last edited by 44blackhatters; 02-09-2010 at 05:42 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-09-2010, 05:26 PM
Method's Avatar
Registered Member
 
Join Date: Jan 2010
Posts: 83
Thanks: 17
Thanked 11 Times in 10 Posts
Reputation: 11
iTrader: (5)
Default Re: What does <a href="../../../../../"> Indicate?

lol maybe your accessing the root :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-09-2010, 05:49 PM
44blackhatters's Avatar
Registered Member
 
Join Date: Jan 2008
Posts: 52
Thanks: 8
Thanked 3 Times in 2 Posts
Reputation: 10
iTrader: (0)
Default Re: What does <a href="../../../../../"> Indicate?

Yeah, or my negative root???????

Something is off...I think maybe this is how the page calls in a script or something.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-09-2010, 06:32 PM
Newbies
 
Join Date: May 2009
Posts: 40
Thanks: 3
Thanked 2 Times in 2 Posts
Reputation: 10
iTrader: (0)
Default Re: What does <a href="../../../../../"> Indicate?

That's fine for one or two pages, but if you scale that up it might get kind of messy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-09-2010, 06:59 PM
Registered Member
 
Join Date: Oct 2009
Location: the south
Posts: 72
Thanks: 4,294,967,295
Thanked 26 Times in 15 Posts
Reputation: 12
iTrader: (0)
Default Re: What does <a href="../../../../../"> Indicate?

probably the domain is a virutual host whose document root is a few levels deep

so lets say the webroot is /www/

and www.site1.com's document root is at

/www/nichesites/niche1/site1/

so the page you are looking at is www.site.com/dir1/dir2/dir3/file.html

which is actually

/www/nichesites/niche1/site1/dir1/dir2/dir3/file.html

so in this case ../../../../../ would be referencing /www/nichesites/

or something like that

not the cleanest way to go about doing things but it is the explination that would make most since to me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-09-2010, 09:38 PM
Regular Member
 
Join Date: Apr 2008
Posts: 301
Thanks: 57
Thanked 64 Times in 38 Posts
Reputation: 14
iTrader: (0)
Default Re: What does <a href="../../../../../"> Indicate?

Yeah, this makes sense; it's some kind of directory traversal trick.

Quote:
Originally Posted by allenlikewo View Post
probably the domain is a virutual host whose document root is a few levels deep

so lets say the webroot is /www/

and www.site1.com's document root is at

/www/nichesites/niche1/site1/

so the page you are looking at is www.site.com/dir1/dir2/dir3/file.html

which is actually

/www/nichesites/niche1/site1/dir1/dir2/dir3/file.html

so in this case ../../../../../ would be referencing /www/nichesites/

or something like that

not the cleanest way to go about doing things but it is the explination that would make most since to me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Backlinks Genie

SE Nuke



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


SEO Paladin


Web Hosting
Copyright © 2005 - 2012 BlackHatWorld.com All rights reserved.