How can I make correct links show?

Status
Not open for further replies.

aliasneo

New Member
Messages
71
Reaction score
0
Points
0
Hi,

could one of the experts please take a look at my site at http://www.elaosta.com (http://hamid.x10.mx),

I have http://hamids-it.elaosta.com, this domain is an A Record I have created at my registrar.

I have added http://hamids-it.elaosta.com as an add-on domain in cPanel pointing to /hamids-it (from root) which the full path is http://www.elaosta.com/hamids-it (http://hamid.x10.mx/hamids-it).

My problem is that when I visit http://www.elaosta.com and I click on the link for "Hamid's I.T." the address bar still shows "http://www.elaosta.com" when i'm at the blog, but I want it to show the correct address:

either

http://www.elaosta.com/hamids-it

or

http://hamids-it.elaosta.com

(the addresses all work by themselves, I just want them to be displayed correctly)

Thanks.
 

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
This is because your home page at elaosta.com is loading a page inside a frame. Whenever links are clicked inside a site frame, it remains in the frame, which is why the blog's URL bar remains the same.

Your elaosta.com source loads a frame at hamid.x10.mx:

HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
  <title>Elaosta.com Network </title>
  <META name="description" content="Elaosta.com Private Network"><META name="keywords" content="elaosta, family, hamid, mail, calendar, docs">
</head>
<frameset rows="100%,*" border="0">
  <frame src="http://hamid.x10.mx" frameborder="0" />
  <frame frameborder="0" noresize />
</frameset>

<!-- pageok -->
<!-- 01 -->
<!-- -->
</html>

http://www.elaosta.com/hamids-it loads http://hamid.x10.mx/hamids-it in a frame. www.elaosta.com appears to be hosted elsewhere.

To fix this, you need to point http://www.elaosta.com to x10hosting as it seems to have an A record to 64.202.189.170 which is not x10hosting. Then add it as a parked domain so it displays the same content as hamid.x10.mx without using a frame.

Basically, frames will cause all links to open in that frame, therefore having the URL remain the same.
 
Last edited:

aliasneo

New Member
Messages
71
Reaction score
0
Points
0
Thanks for the info, you are correct the A record points to the IP you gave, this was created automatically by my registrar (godaddy) when I created a permenant redirect for elaosta.com to hamid.x10.mx, what's hte solution to this?

EDIT: It would seem the HTML code you gave above was generated by them within this redirect, all the info I see there is the infor I entered when setting up the redirect.
 
Last edited:

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
Thanks for the info, you are correct the A record points to the IP you gave, this was created automatically by my registrar (godaddy) when I created a permanent redirect for elaosta.com to hamid.x10.mx, what's hte solution to this?

EDIT: It would seem the HTML code you gave above was generated by them within this redirect, all the info I see there is the infor I entered when setting up the redirect.

In your GoDaddy DNS records, is there a setting for '@' or 'www'? I recommend pointing '@' to 69.175.120.10 (Lotus server) and a CNAME on www to elaosta.com. Then in cPanel here, add elaosta.com as a parked domain. You may need to adjust your subdomain after doing this.

With this, the content from hamid.x10.mx would show up directly on elaosta.com without using a Frame.
 

aliasneo

New Member
Messages
71
Reaction score
0
Points
0
Hehe thanks, I figured it out and did exactly as you just said, so it's working now.

Thanks for all your help, it's really appreciated.
 

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
Hehe thanks, I figured it out and did exactly as you just said, so it's working now.

Thanks for all your help, it's really appreciated.

Glad I could help :) Thanks for using x10hosting.
 

vishal

-::-X10 Guru-::-
Community Support
Messages
5,255
Reaction score
192
Points
63
****Issue Solved ****
Thread Closed
 
Status
Not open for further replies.
Top