Results 1 to 8 of 8
  1. #1
    Join Date
    May 2005
    Posts
    49
    Plugin Contributions
    0

    Default Question about ReDirecting link...

    Okay I have www.thaddkrick.com .. which says "coming soon" default by godaddy...

    I've loaded zencart and you have to type www.thaddkrick.com/catalog to get to the zencart store.

    Now.. how do I set it up to when someone enters www.thaddkrick.com it goes directly to the zencart store???

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Question about ReDirecting link...

    Yopu need to move all the cart files from the folder to the root and then edit the 2 configure.php files to reflect this change in location.

    Good Luck with SlowDaddy
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2006
    Posts
    18
    Plugin Contributions
    0

    Default Re: Question about ReDirecting link...

    if you don't want to move all your file into the root directory you can possibly do somethins like the example below

    I you want to completely get rid of the old site you can create a index.php in your old store root directory and place the the following code on top of the index.php file before any html code.
    <?PHP
    header('Location: http://www.xyz.com/shop');

    ?>

    so whenever your customer visit the old link www.xyz.com/store, it will redirect them to the new store www.xyz.com/shop.

  4. #4
    Join Date
    Jul 2006
    Location
    Louisiana
    Posts
    144
    Plugin Contributions
    0

    Default Re: Question about ReDirecting link...

    Quote Originally Posted by rapid564 View Post
    if you don't want to move all your file into the root directory you can possibly do somethins like the example below

    I you want to completely get rid of the old site you can create a index.php in your old store root directory and place the the following code on top of the index.php file before any html code.
    <?PHP
    header('Location: http://www.xyz.com/shop');

    ?>

    so whenever your customer visit the old link www.xyz.com/store, it will redirect them to the new store www.xyz.com/shop.
    One other possibility:
    I know this is a rather old thread but the answer may be of help to someone else.

    Put a new index.html at the root. In the header place this redirect:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="REFRESH" content="0;url=http://www.xyz.com/shop/">
    <title>XYZ Index Page</title>

    The "REFRESH" will cause the new URL to be called. The 'Content="0;" is the timer. zero is now, 5 = 5 seconds, etc.

  5. #5
    Join Date
    May 2006
    Location
    Texas
    Posts
    565
    Plugin Contributions
    4

    Default Re: Question about ReDirecting link...

    Forum5,

    Though your way is a valid way of doing it, it breaks the back button. http://www.w3.org/QA/Tips/reback

    with the PHP location setup.. you can still click back and go to the page you were previously viewing. With yours, it would go back to the page that refreshes.. and the user would be redirected to the store. Eventually they'll just get annoyed and leave.. you never know where the customer was previously at.. maybe they were at a page that said "you can buy this product here: yourstoreURL.com"

  6. #6
    Join Date
    Jul 2006
    Location
    Louisiana
    Posts
    144
    Plugin Contributions
    0

    Default Re: Question about ReDirecting link...

    Quote Originally Posted by getyourgameshere.com View Post
    Forum5,

    Though your way is a valid way of doing it, it breaks the back button. http://www.w3.org/QA/Tips/reback

    with the PHP location setup.. you can still click back and go to the page you were previously viewing. With yours, it would go back to the page that refreshes.. and the user would be redirected to the store. Eventually they'll just get annoyed and leave.. you never know where the customer was previously at.. maybe they were at a page that said "you can buy this product here: yourstoreURL.com"
    You are absolutely correct. There is no go-back.

    Quote Originally Posted by LyttonFinds
    Okay I have www.thaddkrick.com .. which says "coming soon" default by godaddy...

    I've loaded zencart and you have to type www.thaddkrick.com/catalog to get to the zencart store.

    Now.. how do I set it up to when someone enters www.thaddkrick.com it goes directly to the zencart store???
    I read the question as to avoid the "Coming Soon" page which was default by GoDaddy and go directly to the catalog. Going back to "Coming Soon" didn't seem to be an issue.

    I've seen many root pages with a store or forum on one of the links where the user may want to go-back to root. Oh, well. It was just a thought I had.

  7. #7
    Join Date
    May 2006
    Location
    Texas
    Posts
    565
    Plugin Contributions
    4

    Default Re: Question about ReDirecting link...

    well, with the php version it wouldn't go back to the coming soon page :).

    For example, if you're on google.com and visit my website (http://www.getyourgameshere.com) ... it will forward you to the /store/ directory. When you click back.. it'll take you right back to google.com.. not to getyourgameshere.com/ .

    The meta-refresh method would take you back to getyourgameshere.com/ , which in turn would lead you right back to /store/

    I understand where you're coming from though.. and believe me if I hadn't started using php I would have stuck with the HTTP refresh until someone else pointed me elsewhere :)

  8. #8
    Join Date
    May 2005
    Posts
    49
    Plugin Contributions
    0

    Default Re: Question about ReDirecting link...

    I went the redirect link way on the index.html with it set to "0" and that worked great! Thank you all for your help. I'm sure i'll be posting more questions. LOL

 

 

Similar Threads

  1. Question about adding link
    By tim2255 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Nov 2008, 01:16 AM
  2. Question about changing logo and link
    By dothanbydesign in forum General Questions
    Replies: 7
    Last Post: 3 Apr 2008, 09:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg