Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can I set up configure.php file?


Guest

Recommended Posts

Posted

I installed oscommerce 2.2rc2a and tested my store.

There is a problem that OSCommerce did not support both of http://www.mydomain.com and http://mydomain.com.

It could connect just one of them at same time.

I already registered both of them in a hosting server.

How can I do for supporting both of domains at same time?

Posted

Im not sure what you mean, you have one store in 2 different domains? is that what you are trying to do?

 

if yes, one you can simply duplicate your shop twice, or use one domain as the shop and redirect the other one to that shop.

Posted
Im not sure what you mean, you have one store in 2 different domains? is that what you are trying to do?

 

if yes, one you can simply duplicate your shop twice, or use one domain as the shop and redirect the other one to that shop.

 

Thanks for your information.

 

I mean I want to use both URLs on my store.

For example, I set up value of 'HTTP_SERVER' to 'http://www.mydomain.com' in configure.php file. Of course, it can connent to my store using 'http://www.mydomain.com'. But I need additional URL, 'http://mydomain.com', for my store even thought the value of 'HTTP_SERVER' is 'http://www.mydomain.com'.

I wanna use both URLs to my store without duplicating and redirecting. You can reference these sites ( http://nyclubwear.com & http://www.nyclubwear.com ), which were made on OSCommerce.

Posted

using both urls will just harm Your seo.

 

Spiders treat both different and Your site strength might be reduced into two parts.

 

I suggest use some .htaccess to handle both request and later let www.site.com do the work.

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
using both urls will just harm Your seo.

 

Spiders treat both different and Your site strength might be reduced into two parts.

 

I suggest use some .htaccess to handle both request and later let www.site.com do the work.

 

 

Satish

 

Thanks man.

Which .htaccess file can I change environment values?

How can I do for it?

Could you tell me more detail?

Posted

google How to redirect an http request.

 

or in application_top write a code that cheks if its site.com and not www.site.com and place a redirect to www.site.com.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

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

×
×
  • Create New...