Forums / General Questions / IP Address and not domain name in URL.

IP Address and not domain name in URL.

Locked

Views: 1,814

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
10 Dec 2006, 7:16 PM
#1
stteacher avatar

stteacher

New Zenner

Join Date:
Sep 2006
Posts:
31
Plugin Contributions:
0

IP Address and not domain name in URL.

I recently realised that when I link to different pages on my site the domain name is not coming up in the URL. Instead it is the IP Address followed by the specific page information.

If I manually type in the URL to include my domain name it links properly, but if I select another link the URL reverts back to the IP Address.

Currently the URL reads:

http://74.52.162.11/index.php?main_page=page&id=10&chapter=20

I would like this to read:

http://www.sextoyteacher.com/index.php?main_page=page&id=10&chapter=20

Thoughts?

Thanks.

Stteacher
http://www.sextoyteacher.com
~ Where an "F" is good.

10 Dec 2006, 7:19 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: IP Address and not domain name in URL.

Check your two files:
/includes/configure.php
/admin/includes/configure.php

Do you have the domain name or the IP address defined in there?

Do you have any kind of rewrites on your site?

Has your hosting site changed anything on the server?

Have you any redirects in your Control Panel?

Have you anything in your .htaccess causing this?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Dec 2006, 1:03 PM
#3
stteacher avatar

stteacher

New Zenner

Join Date:
Sep 2006
Posts:
31
Plugin Contributions:
0

Re: IP Address and not domain name in URL.

You're the best Linda! As always you've solved all my problems in a couple of moments.

I recently switched servers and upgraded my copy of ZC at the same time. The new configure file had the temp. IP address as I had not redirected my DNS at the time.

I have updated this file with the URL and removed the IP address and now it's working perfectly.

Thanks a million!

Stteacher
http://www.sextoyteacher.com
~ Where an "F" is good.

12 Dec 2006, 9:01 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: IP Address and not domain name in URL.

Glad to hear you are back up and running again ... :smile:

Thanks for the update!

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!