Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2009
    Posts
    24
    Plugin Contributions
    0

    link problem How do I add "www." to "http://mydomain.com/..." for each link on my website pages?

    When I click on any link in the sideboxes or other places that are predefined on my page, I get to the address of "http://mydomain.com/..." without "www" in it. So I'm wondering whether there is any method to add www to those addresses. Maybe change the code in some php file??

    I really need your help!! Thank you.

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,178
    Plugin Contributions
    0

    Default Re: How do I add "www." to "http://mydomain.com/..." for each link on my website page

    Why do you feel you need to do that? mydomain.com is just as valid as www.mydomain.com.

    Check what you have in admin/includes/configuration.php and includes/configuration.php.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,186
    Plugin Contributions
    7

    Default Re: How do I add "www." to "http://mydomain.com/..." for each link on my website page

    Quote Originally Posted by afo View Post
    Why do you feel you need to do that? mydomain.com is just as valid as www.mydomain.com.
    .
    True, but how else are we going to get people to wear out their 'w' key unless we force them?

    I liken this one to "PIN numbers" and "ATM machines" .... the "http://" isn't enough to convince people they are visiting a web page, it simply HAS to be "http://www." just to be doubly sure.

    Sheesh, don't you know nuffing.

    Cheers
    Rod

    ps. I've actually had people tell me that it isn't a "real" web address unless it has a "www" in it. After many years I've finally relented, and all of our domains have the 'www' host CNAME'd to our main domain names. <sigh>
    Last edited by RodG; 5 Aug 2009 at 03:01 PM.

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,178
    Plugin Contributions
    0

    Default Re: How do I add "www." to "http://mydomain.com/..." for each link on my website page

    Quote Originally Posted by RodG View Post
    ps. I've actually had people tell me that it isn't a "real" web address unless it has a "www" in it. After many years I've finally relented, and all of our domains have the 'www' host CNAME'd to our main domain names. <sigh>
    I believe it. We are creatures of habit, aren't we?
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5
    Join Date
    Mar 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: How do I add "www." to "http://mydomain.com/..." for each link on my website page

    There are those of us, who are less tech savvy than the super genius techies out there, so it was and is a valid question. I stumbled upon this thread while looking for the answer to the question myself, hence my reply to it.

    My site does not include the "www" either, though I can pull it up with or without the www. Googlebot has taken up residence collecting data on the site, so I'd have to agree that either way is valid, meaning with or without the www part.

    It did get confusing when I was trying to log in to admin the first time or three because I was using the "www" in the url and login failed time and time again.

    I went back and checked my printed documents and entered the url without the www and was able to login just fine from then on.

    I guess if I change this setting as described above in the config files I'd have to start adding the www. part again to login to admin from then on too wouldn't I?

    I'll stick with the shortened version for now. Less typing!

  6. #6
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    551
    Plugin Contributions
    0

    Default Re: How do I add "www." to "http://mydomain.com/..." for each link on my website page

    If you would like to forward people to www.mydomain.com when they enter myDomain.com, add this to you .htaccess on the root level

    Code:
    RewriteCond %{HTTP_HOST} ^myDomain.com\.
    RewriteRule (.*) http://www.myDomain.com/$1 [R=301,L]
    And make sure your store address in the configuration files is www.myDomain.com

 

 

Similar Threads

  1. v150 how to remove "www.picaflor-azul.com" link from slider?
    By fatimazboutique in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Nov 2012, 09:19 AM
  2. SSL Certificate for domain with "www" OR without "www" ?
    By Semenek in forum General Questions
    Replies: 8
    Last Post: 9 Jun 2011, 12:14 AM
  3. How to add additional link beside the "home" and "Login" page above logo?
    By corditreasures in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Apr 2010, 03:54 PM
  4. Comment out "Check for Updates" Button, "Support Site" Link, & "Version" Link?
    By g00glethis1 in forum Customization from the Admin
    Replies: 4
    Last Post: 15 Mar 2010, 06:32 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR