Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change header link


Guest

Recommended Posts

When you click on the header link it takes you to the store homepage how do I change the link so that when you click the header image it takes you to a different url ??????? Right now when you click the header it takes you to

https://thecustomconnectiononline.com/store...talog/index.php?

but I want it to take you to

https://thecustomconnectiononline.ipower.co...talog/index.php?

Can I do that that??

Link to comment
Share on other sites

What do you want the whole catalog to be in SSL mode for?

:unsure:

 

Google doesn't index ANY SSL pages. I'm not sure about other engines.

:-"

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

What do you want the whole catalog to be in SSL mode for?

:unsure:

 

Google doesn't index ANY SSL pages. I'm not sure about other engines.

:-"

 

 

I dont guess it has to be but that is just how it is setup and I don't know how to change it. I am just having a few security issuse. The site is safe but it dosent look like it is cause I dont have my own certificate so the urls are miss-matched. and the only way I how to fix it is to change that link (I know that prob isnt the best way to go) Any suggestions and pointers would be great!!! How do I only ssl the cart?? sorry I am so dumb

Link to comment
Share on other sites

It's all in your /store/catalog/includes/configure.php

 

If you want some help, post the contents of it (between CODE tags to preserve formatting).

 

BE ADVISED THERE MAY BE 5 OR 6 LINES TOWARDS THE BOTTOM OF THAT FILE THAT HAVE INFO REGARDING YOUR DATABASE ACCESS.

DO NOT POST THOSE LINES, OR REPLACE THE SENSITVE INFO CONTAINED IN THEM WITH X'S.

 

osC is programmed to use SSL only when necessary (when "sensitive" info is being entered) like login, account cretae/edit. and checkout for example.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

I included the top portion of the file. I hope that is all you need, if not, let me know. Thanks for the help!!!!

 

 

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'https://thecustomconnectiononline.com');		
 define('HTTPS_SERVER', 'https://thecustomconnectiononline.ipower.com');
 define('ENABLE_SSL', true);			// secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'thecustomconnectiononline.com');
 define('HTTPS_COOKIE_DOMAIN', 'thecustomconnectiononline.com/public_html');
 define('HTTP_COOKIE_PATH', '/home/users/web/b2874/ipw.thecustomconnectiononline/public_html/store/catalog/');
 define('HTTPS_COOKIE_PATH', '/home/users/web/b2874/ipw.thecustomconnectiononline/public_html/store/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/store/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/store/catalog/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home/users/web/b2874/ipw.thecustomconnectiononline/public_html/store/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');


Link to comment
Share on other sites

MAKE A BACKUP OF WHAT YOU HAVE NOW.

 

I suggest you change these:

 

  define('HTTP_SERVER', 'https://thecustomconnectiononline.com');
 define('HTTPS_SERVER', 'https://thecustomconnectiononline.ipower.com');
 define('ENABLE_SSL', true);	// secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'thecustomconnectiononline.com');
 define('HTTPS_COOKIE_DOMAIN', 'thecustomconnectiononline.com/public_html');
 define('HTTP_COOKIE_PATH', '/home/users/web/b2874/ipw.thecustomconnectiononline/public_html/store/catalog/');
 define('HTTPS_COOKIE_PATH', '/home/users/web/b2874/ipw.thecustomconnectiononline/public_html/store/catalog/');

To this:

 

  define('HTTP_SERVER', 'http://thecustomconnectiononline.com');
 define('HTTPS_SERVER', 'https://thecustomconnectiononline.ipower.com');
 define('ENABLE_SSL', true);	// secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '.thecustomconnectiononline.com');
 define('HTTPS_COOKIE_DOMAIN', '.thecustomconnectiononline.ipower.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');

"Kick the tires" on those settings and let me know what you think.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Thanks so much I have everything working now. That was deff a easier way to fix it!!!! Thanks, your a life saver!!!!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...