home page redirect

General ShopSite user discussion

home page redirect

Postby debkans » Thu Sep 20, 2007 7:29 am

:shock: ok. next major issue i am having...(major to me, i'm sure minor to the rest of you)

my domain name is www.jetmuffler.com how do I get this domain to bring up the default home page of www.jetmuffler.com/store/index.html I

thanks!
debkans
 
Posts: 3
Joined: Sat Sep 15, 2007 8:15 pm

use php, javascript or modrewrite

Postby mltsy » Thu Sep 20, 2007 1:17 pm

Assuming you have PHP installed, the easiest thing is to save this as index.php and it will redirect the user to that page:


Code: Select all
<?php
header("Location: http://www.jetmuffler.com/store/index.html");
?>
mltsy
 
Posts: 23
Joined: Fri May 04, 2007 9:06 am

Postby loren_d_c » Thu Sep 20, 2007 1:42 pm

You could do the same with an HTML page containing a meta refresh like this:

Code: Select all
<html>
<head>
<meta HTTP-EQUIV="REFRESH" CONTENT="0;URL=http://www.jetmuffler.com/store/index.html">
</head>
<body>
</body>
</html>


or you could do it with a redirect in a .htaccess file as well (if you webserver supports .htaccess file directives).

-Loren[/code]
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Change the config file

Postby MgmtSpec » Sat Sep 22, 2007 9:48 pm

Hi,

The above ideas work and there are other ways but since you are not "adding" a store to a site with other content, why not have your SS provider update the config file so ShopSite resolves to your domain root (home page)?

Pages in sub-directories rank lower in search engines than pages in your main directory. There is no reason you have to put SS in /store.

Best,
Mike
MgmtSpec
 
Posts: 204
Joined: Mon Apr 30, 2007 8:25 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 102 guests