mkam Posted August 11, 2008 Posted August 11, 2008 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
FIMBLE Posted August 11, 2008 Posted August 11, 2008 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
mkam Posted August 11, 2008 Author Posted August 11, 2008 thanks for your help. I will try these steps
mkam Posted August 11, 2008 Author Posted August 11, 2008 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
FIMBLE Posted August 11, 2008 Posted August 11, 2008 The top level directory Where your index file is for www.mysite.gr not the catalog one in www.mysite.gr/oscommerce/ Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
mkam Posted August 11, 2008 Author Posted August 11, 2008 I put the file on .../httpdocs/. There is also a file called index.html. But nothing changed
spooks Posted August 11, 2008 Posted August 11, 2008 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.
mkam Posted August 11, 2008 Author Posted August 11, 2008 you must also remove index.html yes I did this and worked. Thanks a lot for your help :rolleyes:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.