Thread: wrong url

Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default wrong url

    my home url is showing http://www.boydsilverworks.com/~mpbsw/
    instead of http://www.boydsilverworks.com/

    is there something I must change in configure.php

    thank you
    Ivanna

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: wrong url

    Yes. Your HTTP_SERVER and HTTPS_SERVER and DIR_WS_CATALOG and DIR_WS_HTTPS_CATALOG settings need to reflect the correct URL and path to your store.

    If you don't know how to do that, post what you've got presently for those.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: wrong url

    Thank you DrByte.
    In /public_html/Admin-Folder/includes/

    define('HTTP_SERVER', 'http://www.boydsilverworks.com');
    define('HTTPS_SERVER', 'https://www.boydsilverworks.com');
    define('HTTP_CATALOG_SERVER', 'http://www.boydsilverworks.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.boydsilverworks.com');

    and I must have this also?

    define('DIR_WS_ADMIN', 'http://www.boydsilverworks.com/Admin-Folder/');
    define('DIR_WS_CATALOG', 'http://www.boydsilverworks.com');
    define('DIR_WS_HTTPS_ADMIN', 'http://www.boydsilverworks.com/Admin-Folder/');
    define('DIR_WS_HTTPS_CATALOG', 'http://www.boydsilverworks.com');


    In /public_html/includes I have

    define('HTTP_SERVER', 'http://www.boydsilverworks.com');
    define('HTTPS_SERVER', 'https://www.boydsilverworks.com');

    define('HTTP_CATALOG_SERVER', 'http://www.boydsilverworks.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.boydsilverworks.com');

    define('DIR_WS_CATALOG', '/~mpbsw/');
    define('DIR_WS_HTTPS_CATALOG', '/~mpbsw/');

    So all reference to '/~mpbsw/' should be 'http://www.boydsilverworks.com'
    is this correct?

    thank you
    Ivanna

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: wrong url

    Not quite.

    All the DIR_WS_CATALOG and DIR_WS_HTTPS_CATALOG settings should be '/'
    and the DIR_WS_ADMIN and DIR_WS_HTTPS_ADMIN should be '/Admin-Folder-Name/'

    You don't want any mention of http://anything in your DIR_WS_xxxx settings
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: wrong url

    Thank you DrByte. This is working perfectly for me now.

    I think perhaps I try to use ceon uri mapping. Do you know this?

    thank you
    Ivanna

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: wrong url

    Don't bother with rewriting the URLs until you've got your shop running well. See how the search engines treat it, and then after 6 months you can consider whether you really need to change the URLs at all. Most good stores don't need to change the URLs.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: wrong url

    Ok, thank you DrByte

    Ivanna

 

 

Similar Threads

  1. v151 Wrong URL...
    By micro007 in forum Basic Configuration
    Replies: 16
    Last Post: 1 Aug 2014, 10:54 AM
  2. v138a Wrong URL after transfer
    By John1983 in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 21 Mar 2012, 10:32 PM
  3. Wrong Url coming up
    By autoace in forum Installing on a Linux/Unix Server
    Replies: 13
    Last Post: 10 Oct 2010, 03:41 AM
  4. Category URL is wrong
    By lord_k3y in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 10 May 2010, 03:46 PM
  5. Wrong Admin URL
    By KTNaturals in forum Basic Configuration
    Replies: 3
    Last Post: 11 Nov 2007, 10:44 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