Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Setting your homepage url


ronan

Recommended Posts

Posted

My sites home page url is set to www.gkdesigns.ie/oscommerce. How do i get it to load up the homepage just using the main url of www.gkdesigns.ie? I've tried moving the oscommerce/index.php outside the oscommerce main folder but that just gave me error messages.

Posted

Modify your web domain address in your webhost control panel to forward to www.gkdesigns.ie/oscommerce

Posted
My sites home page url is set to www.gkdesigns.ie/oscommerce.  How do i get it to load up the homepage just using the main url of www.gkdesigns.ie?  I've tried moving the oscommerce/index.php outside the oscommerce main folder but that just gave me error messages.

 

Put this line between the <head> and </head> on your first page *indexpage that is.

 

<meta http-equiv="Refresh"
content="1;url=www.gkdesigns.ie/oscommerce/">

 

 

This will automatically foreard all visitors to the page where your shop lies in.

Posted
Modify your web domain address in your webhost control panel to forward to www.gkdesigns.ie/oscommerce

 

 

Well that isn?t to smart if the nameserver takes a dive...

or just if he changes directory ;)

Posted
Put this line between the <head>  and </head> on your first page *indexpage that is.

 

<meta http-equiv="Refresh"
content="1;url=www.gkdesigns.ie/oscommerce/">

This will automatically foreard all visitors to the page where your shop lies in.

 

 

Thanks, will this be search engine friendly though?

Posted

Hey,

 

I am doing 2 sites at the moment so i added the following code to the index page of my www.ijumbleonline.com website:

 

<meta http-equiv="Refresh" content="1;url=www.gkdesigns.ie/oscommerce/">

 

You can have a look yourself, it is giving me this error message now

 

Warning: main(includes/configure.php): failed to open stream: No such file or directory in D:\webworld\ijumbleonline\ijumbleonline.com\www\oscommerce\includes\application_top.php on line 29

 

Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.;c:\php4\pear') in D:\webworld\ijumbleonline\ijumbleonline.com\www\oscommerce\includes\application_top.php on line 29

 

Any ideas?

 

Thanks

Posted

I would just move the entire install to the root folder, then go into includes/configure.php in the catalog and the admin and remove the oscommerce from the path.

Posted
Thanks, will this be search engine friendly though?

 

 

No, that would be just about the worst possible thing you could do, in regards to search engines.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Posted

Just modify your includes/configure.php and admin/includes/configure to point to you main domain. Just remove any 'catalog' from your configure. Both in includes and admin.

 

Thanks

Posted
Thanks, will this be search engine friendly though?

 

 

Yupp, 100% if you know how to trig the search engine?s

 

I always run shops in subfolders and forward to the mainpage of the shop.

and all products i add end up in googles search list

Posted
Yupp, 100% if you know how to trig the search engine?s

 

Completly false.

 

A meta refresh is absolutly the worst thing you can possibly do. Use as 301, or a php include. If you use a meta refresh, odds are your site won't be listed.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Posted
Completly false.

 

A meta refresh is absolutly the worst thing you can possibly do. Use as 301, or a php include. If you use a meta refresh, odds are your site won't be listed.

 

 

Well that?s strange then that ive set up shops and all items you add to them will be searcheble in google on the first page of the Top Ten...

 

Very Very strange indeed :D

 

Or is it that ive done it properly ?

 

Nevertheless it works gr8 for me and all my friends ive helped to set up shops for.

Archived

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

×
×
  • Create New...