Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to set home page


mkam

Recommended Posts

Posted

I would like to ask which file should I change so that my site will start from www.mysite.gr/oscommerce/ ?

 

When I click www.mysite.gr I get the Domain Default page from Plesk

Posted

Create an index.php file with the code below

 

 

<?

Header( "HTTP/1.1 301 Moved Permanently" );

Header( "Location: www.mysite.gr/oscommerce/" );

?>

 

Put it in your root directory

call your web site www.mysite.gr

it should send you to www.mysite.gr/oscommerce/

 

Regards

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
Create an index.php file with the code below

 

 

<?

Header( "HTTP/1.1 301 Moved Permanently" );

Header( "Location: www.mysite.gr/oscommerce/" );

?>

 

Put it in your root directory

call your web site www.mysite.gr

it should send you to www.mysite.gr/oscommerce/

 

Regards

Nic

 

 

What do you mean by root directory?... /httpdocs/oscommerce/ ? Or ... /httpdocs/ ?

I create index.php with the code above but nothing changed. On the first directory there is already a file index.php. Where do I have to copy the file?

On the second one there is a file called index.html

Posted

I put the file on .../httpdocs/. There is also a file called index.html. But nothing changed

Posted
I put the file on .../httpdocs/. There is also a file called index.html. But nothing changed

 

you must also remove index.html

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted
you must also remove index.html

 

 

yes I did this and worked. Thanks a lot for your help :rolleyes:

Archived

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

×
×
  • Create New...