Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Links to Relative 1

Status
Not open for further replies.

msigoraya

MIS
Apr 20, 2003
29
PK
Hi! everyone
I am facing a problem while uploading my web site, it copy's all the long and lengthy absolute links from my computer and make problem while browsing the web. Please tell me how can I resolve the issue of absolute linking like C:\Program files\site builder\my sites\site\apc\images\my photograf1 to simple relative like \images\my photograf1?
My site is Thanks
Shahid
 
What program are you using to build the site? Make sure that you define a site structure (there's often a built-in wizard that will allow you to create a new site), because if you're just creating separate pages and then linking them together it generally isn't smart enough to know you want them linked relatively unless you specifically tell it to. If you're done designing and just want a quick fix, I'd suggest using search-and-replace, searching for "C:\Program files\site builder\my sites\site\apc" or whatever the path you want rid of is and leaving the Replace With field blank. that should at least solve the problem for the code you've written so far.
 
Thanks Dace
I am using Yahoo Site Builder to build my site.
 
If you're done designing and just want a quick fix, I'd suggest using search-and-replace, searching for "C:\Program files\site builder\my sites\site\apc" or whatever the path you want rid of is and leaving the Replace With field blank.

I'm assuming you tried this advice, msigoraya? It's certainly a very practical solution to your problem. Let us know what progress you make... it's nice to know when a problem has been solved... that way others can benefit as well.

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top