By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,453 Members | 959 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,453 IT Pros & Developers. It's quick & easy.

making portable n universal links

P: 228
i developed my site in localhost/mysite

All links r working fine. But when i give it to a customer, he wanna put that folder anywhere such as localhost/1/2/mysite

anyway to make the links portable and universal? Most files are in html folder while homepage included n 3 files are in root (i.e. mysite folder). any work around? base tag didnt help at all...
May 16 '12 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 10K+
P: 12,430
Use relative links.
Expand|Select|Wrap|Line Numbers
  1. <a href="otherpages/index.html">Relative link</a>
May 16 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.