Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Top Url Problem


Guest

Recommended Posts

Posted

I have just installed the program (have used and installed it before numerous times) and I just have one small question that I've not run into before and it's causing a headache. I have a domain that is actually forwarding to a folder under another domain. I want the "Top" link to go to that folder rather than the main url (which would be incorrect). How can I easily change this?

 

Thank you.

 

SR Bullo

Posted

I think this is what you want to do.

 

In catalog/includes/appliction_top.php on line 466

 

change

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

to

  $breadcrumb->add(HEADER_TITLE_TOP, 'http://www.yourotherdomain.com');

while (!succeed) {try()};

 

GMT -6:00

Posted
I think this is what you want to do.

 

In catalog/includes/appliction_top.php on line 466

 

change

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

to

  $breadcrumb->add(HEADER_TITLE_TOP, 'http://www.yourotherdomain.com');

 

Fantastic! That did the trick - thanks!

 

SR Bullo

Posted
why would you want to do this?

Maybe he's working on a project for a charity, club or organiation that hosts their "main" site on a different server.

 

Main site: www.club-name.com

osC site: www.club-name-supply.com

 

Just my 2 cents,

Robert

Posted
why would you want to do this?

 

I have a domain that isn't hosted outright. Instead, I have it parked at my registrar and then it points to a folder under a main domain that I do have hosted. It makes my life easier - I own a lot of domains and do a lot of web development work so to ease my level of confusion, any working domains are done that way. Just a preference.

 

SR Bullo

(who's a she but then you can't tell by initials LOL)

Posted

takes away rankings from the search engines, is why you want to avoid doing any of this. i see u r in nyc, i was just there visiting clients from sat - mon . . .

Archived

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

×
×
  • Create New...