Forums / General Questions / Some pages not redirecting

Some pages not redirecting

Locked

Views: 1,096

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
23 Oct 2008, 2:19 PM
#1
royaltees avatar

royaltees

New Zenner

Join Date:
Oct 2008
Posts:
8
Plugin Contributions:
0

Some pages not redirecting

Hi i have set up a second site on my hosts but the problem im getting is that the site doesn't full redirect to my other domian.

When you go to https://www.bearsshop.co.uk it will take you to the site to start with but when you click on anything it will change to royalteesclothing.bearsshop.co.uk.

Anyone any suggestions of how to fix this?

This was what my host said, which i looked at in my config file but when i change it screwed my site up so changed back until i got some help :laugh:

The links are due to the software ( if you check the page source they are hard coded ) rather than any server settings.

you may be able to edit this inside the ZenCart config, or inside a config file somewhere for the shop!

23 Oct 2008, 4:30 PM
#2
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Some pages not redirecting

I would recommend creating a redirect through .htaccess or your cpanel.

If you use a cpanel platform you can manage a redirect through this feature or if you have to redirect through manually made htaccess file

RewriteEngine on
RewriteCond %{HTTP_HOST} ^bearsshop.co.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www.bearsshop.co.uk$
RewriteRule ^/?$ "http\:\/\/www\.royalteesclothing\.co\.uk\/bearsshop\.co\.uk" [R=302,L]

This is an example only there are many ways you can run these.

You can place the above in a .htaccess file and see if it works. But it may not just give it a try see what happens. Place this file inside the root directory of bearsshop.co.uk ftp

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

23 Oct 2008, 4:42 PM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Some pages not redirecting

I'd recommend that you fix the hard coded links and do it the right way rather than force a re-write for code that is written wrong ...

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!

23 Oct 2008, 9:53 PM
#4
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Some pages not redirecting

Be sure you have the correct url information in your two configure.php files. I made that mistake once....just last week.

Jim
Wheaton Website Services

23 Oct 2008, 10:35 PM
#5
royaltees avatar

royaltees

New Zenner

Join Date:
Oct 2008
Posts:
8
Plugin Contributions:
0

Re: Some pages not redirecting

Cheers now sorted with the redirect in my Cpanel. Just made sure i selected the Wild Card to redirect all with the same name.:clap: