|
||||||||||
|
|||||||
| GoogleCommunity Sponsor |
|
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Senior Googler
![]() Join Date: Jul 2007
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
Broken links, '/', relative and absolute link giving me headache
hi everyone!!!
i dont know where to start. huh!!!! today, i spent whole day messing up and then mending up my site. actually, i am talking about broken links in site1, weeks before, i found broken links cos of relative links. so, i mend them up. and everything was ok. in site2, today i tried the same thing. and as a result, more and more broken links were shown by xenu. the main issue deals with '/' here in my case. till today, i thought '/' means root directory. but then, today, i found it doing other works. lets say, we have domain restaurant, where i have restaurant.com/burger/cheese.php restaurant.com/index.php restaurant.com/bottom.php so, in burger/cheese.php, i need bottom.php so, i link like this. link="/bottom.php" in cheese.php(here i am thinking that '/' works like root. and in the previous site, it worked well too) but then, xenu goes to find restaurant.com/burger/bottom.php so, how should i solve the problem?? incase i want to refer to the root directory.. Last edited by tenzin; 08-06-2007 at 09:56 PM. |
|
|
|
|
Sponsored Links
|
|
|
|
#3 (permalink) |
|
Elite Googler
![]() Join Date: Oct 2006
Location: Russia/Ireland, Official Google Search Appliances Partner
Posts: 1,127
Thanks: 0
Thanked 6 Times in 6 Posts
![]() |
hi,
you still struggling with relative links, huh? on a page: www. restaurant.com/burger/cheese.php including bottom.php looks like this: <? include("../bottom.php") ?> where "../" is one level down from /burger/ folder |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problems of Long, Broken & Wrap up Links | internetgal | Site Reviews & Suggestions Forum | 5 | 04-03-2007 04:57 AM |
| Problems of Broken & Wrap up Links | internetgal | Site Reviews & Suggestions Forum | 0 | 03-19-2007 10:36 AM |
| Does Google prefer Absolute or Relative links? | teeny | All About Google | 2 | 06-08-2006 10:09 PM |
| Broken Link | andrew247 | GC Announcements | 10 | 11-27-2005 04:12 PM |
| Broken Link | andrew247 | GC Announcements | 10 | 01-01-1970 11:42 AM |