Forums / General Questions / Redirecting from a Category Page

Redirecting from a Category Page

Locked

Views: 970

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
14 May 2009, 10:52 AM
#1
swuk avatar

swuk

New Zenner

Join Date:
Jun 2005
Posts:
21
Plugin Contributions:
0

Redirecting from a Category Page

Hi,

I have recently created a second zen-cart store to sell items that were once in a category in an existing zen-cart store.

Currently, the (empty) category page in the old store links to the new store and displays a message saying that the items can now be purchased there.

Ideally, it would be nice if the browser would automatically redirect to the new store. But I can't figure out how to do this. Is it even possible?

Can anyone help? To clafiry - how to do a browser redirect from an empty category page to a separate website?

14 May 2009, 11:28 AM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

Re: Redirecting from a Category Page

IF you are not rewriting your Zen Cart urls, the best way is through a redirect in your htaccess

redirect 301 /old/old.htm http://www.newsite.com/new.htm

~Melanie

15 May 2009, 10:13 AM
#3
swuk avatar

swuk

New Zenner

Join Date:
Jun 2005
Posts:
21
Plugin Contributions:
0

Re: Redirecting from a Category Page

Thanks for that. Actually, what I'd really like to do (but neglected to say) is have a delay before redirecting. So, I'd like the customer to see my page briefly before being redirected.

My category page url is:

http://mywebsite.co.uk/zen-cart/index.php?main_page=index&cPath=2

As I don't have a unique HTML header for my page I'm not sure how to go about this. I don't think I can do it using .htaccess.....can I?

15 May 2009, 5:47 PM
#4
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

Re: Redirecting from a Category Page

SWUK:

Thanks for that. Actually, what I'd really like to do (but neglected to say) is have a delay before redirecting. So, I'd like the customer to see my page briefly before being redirected.

My category page url is:

http://mywebsite.co.uk/zen-cart/index.php?main_page=index&cPath=2

As I don't have a unique HTML header for my page I'm not sure how to go about this. I don't think I can do it using .htaccess.....can I?

No, this can only be accompished with a Meta Refresh... which just for the record is not search engine friendly and will transfer no rank, indexing, authority or PageRank etc to the resulting page.

~Melanie