Links Are Not Linking

Asked by:
HubFans / n/a Points
Time:
2015-01-11 9:54 pm EST
Category:
Website Design
Hits:
177
These are the addresses at my old host:
edwardfrey.com/bulgaria/bul34.html
edwardfrey.com/reno/reno1.html
edwardfrey.com/ecuador/ecu1.html
This is the coding in ecu1.html:
<a href="bul34.html">Previous<br>Page<br><br>
<a href="reno1.html">Next<br>Page<br><br></a>
It works.
When Previous Page is clicked it brings up the bul34.html page
When Next is clicked it brings up the reno1.html page

These are the addresses at Hub:
/public_html/bulgaria/bul34.html
/public_html/reno/reno1.html
/public_html/ecuador/ecu1.html
This is the coding in ecu1.html that I have tried:
<a href="bul34.html">Previous<br>Page<br><br>
<a href="reno1.html">Next<br>Page<br><br></a>
Error 404 - Not Found
<a href="/bul34.html">Previous<br>Page<br><br>
<a href="/reno1.html">Next<br>Page<br><br></a>
Error 404 - Not Found
<a href="bulgaria/bul34.html">Previous<br>Page<br><br>
<a href="reno/reno1.html">Next<br>Page<br><br></a>
Error 404 - Not Found
<a href="/bulgaria/bul34.html">Previous<br>Page<br><br>
<a href="/reno/reno1.html">Next<br>Page<br><br></a>
Error 404 - Not Found
<a href="/public_html/bulgaria/bul34.html">Previous<br>Page<br><br>
<a href="/public_html/reno/reno1.html">Next<br>Page<br><br></a>
Error 404 - Not Found

I have cleared cache and reloaded Tab repeatedly before and after each try.
I guess it is something very obvious but I can not see it.
Help?

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

ScottM
Staff
16,266 Points
2015-01-13 3:02 am EST
Hello,

Sorry to hear about your site linking issue. There may be a couple of things that can can cause your issues. The first is that you do not want to place public_html in your link code. While this may help you with the Temp URL, it will break immediately after pointing your domain name to the server properly. The second is the use of a / when using the Temp URL. The / for a temp URL will look one level higher than if the domain was pointed to us. This is very common.

The best way around this entire situation so that you do not have to make any code changes regarding Temp URL is to use a hosts file modification. This will allow you to switch back and forth to see the site on the Temp URL as it will look, and (when disabled) still allow you to see the current site where it is hosted.

Kindest Regards,
Scott M

To submit a comment on this answer, please first login.

Want to share this Question?
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 757-416-6627 Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}