Jump to content

Store offline - redirect instead of message?


Guest The Squirrel

Recommended Posts

Guest The Squirrel

I seem to be posting way more than anyone else! But I have a fussy client, a tight deadline and I'm new to CC so please forgive me!

When the store is offline I'd like to redirect the user to a different page as opposed to simply displaying a message. Is this possible? I tried editing the closed.inc.php file but I can't even get print statements to work from there. So I guess I'm looking at the wrong file or something.

Any advice?

Cheers.

James

On another note: (I feel like a bastard for creating all these topics) When I log in to admin via HTTPS and try to access the store homepage (while it's in offline mode) I get the offline message. So I log out of admin, log back in to admin without using HTTPS and I can access the store. Basically I need to log in with and without HTTPS before I can browse the store in offline (SSL enabled) mode. Is this normal?

Link to comment
Share on other sites

Couldn't you just make an extra page through your cpanel and redirect......

In regards to the https.....it shouldn't make a difference....I would check your settings.

I seem to be posting way more than anyone else! But I have a fussy client, a tight deadline and I'm new to CC so please forgive me!

When the store is offline I'd like to redirect the user to a different page as opposed to simply displaying a message. Is this possible? I tried editing the closed.inc.php file but I can't even get print statements to work from there. So I guess I'm looking at the wrong file or something.

Any advice?

Cheers.

James

On another note: (I feel like a bastard for creating all these topics) When I log in to admin via HTTPS and try to access the store homepage (while it's in offline mode) I get the offline message. So I log out of admin, log back in to admin without using HTTPS and I can access the store. Basically I need to log in with and without HTTPS before I can browse the store in offline (SSL enabled) mode. Is this normal?

Link to comment
Share on other sites

Guest The Squirrel

In regards to the https.....it shouldn't make a difference....I would check your settings.

Thanks for the reply Amikka.

To access a page via SSL with my current host I have to use this format:

https://example.secure-secure.co.uk/e...../shop/index.php

So I've got my settings as follows:

HTTPS Root Relative Path: /example.com/shop/

HTTPS Absolute URL: https://exampleserver.secure-secure.co.uk/example.com/shop

See anything wrong with that?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...