Thread: Changing URL

Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2008
    Posts
    35
    Plugin Contributions
    0

    Default Changing URL

    Hi,

    I searched the forums but I can't find a suitable answer, though this may be enitrely due to the fuzzy head I seem to have on today.

    Our site is located at:
    http://84.51.237.128/index.php?main_page=index

    However, our domain name is set up through 1and1 and called www.1to1music.co.uk

    I'm provided two options for forwarding the www.1to1music.co.uk domain in the interface, either through Frame Redirect or HTTP Redirect. Frame Redirect obviously places the shop in a frame and removes any extensions, such as the 'index.php?main_page=index' above. HTTP Redirect forwards all users whop enter www.1to1music.co.uk to http://84.51.237.128/index.php?main_page=index.

    Neither of these options are perfect, ideally we want the user to see the extension after the www.1to1music.co.uk, i.e. www.1to1music.co.uk/index.php?main_page=index etc.

    Do you guys have any idea how to do that?

    I hope I have been clear,

    Thanks

    Ciaran

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

    Default Re: Changing URL

    Look at includes/configure.php and see what you have for the fields I've highlighted in red (the content is nonsense).

    Code:
    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
      define('HTTP_SERVER', 'url);
      define('HTTPS_SERVER', 'url');
    Do the same for admin/includes/configure.php

    Code:
      
    define('HTTP_SERVER', 'url);  
    define('HTTPS_SERVER', 'url);
    define('HTTP_CATALOG_SERVER', 'url);  
    define('HTTPS_CATALOG_SERVER', 'url);
    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
    Sep 2008
    Posts
    35
    Plugin Contributions
    0

    Default Re: Changing URL

    Thanks for replying AFO,

    they read as:

    includes/configure.php

    Code:
    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
      // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
      define('HTTP_SERVER', 'http://84.51.237.128');
      define('HTTPS_SERVER', 'https://84.51.237.128');
    admin/includes/configure.php

    Code:
      define('HTTP_SERVER', 'http://84.51.237.128');
      define('HTTPS_SERVER', 'https://84.51.237.128');
      define('HTTP_CATALOG_SERVER', 'http://84.51.237.128');
      define('HTTPS_CATALOG_SERVER', 'https://84.51.237.128');
    Thanks

    Ciaran

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

    Default Re: Changing URL

    Change all instances of 84.51.237.128 to www.1to1music.co.uk. That should do it.
    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
    Sep 2008
    Posts
    35
    Plugin Contributions
    0

    Default Re: Changing URL

    AFO,

    Thanks for your help. Sadly, once i hanged this over the whole site wiped! I think i'll have to go back to JSWEB, our hosts, to sort the problem out.

    Many Thanks

    Ciaran

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

    Default Re: Changing URL

    What do you mean "whole site wiped"? Is the domain name pointed to the site?
    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

  7. #7
    Join Date
    Sep 2008
    Posts
    35
    Plugin Contributions
    0

    Default Re: Changing URL

    The domain name is pointed to the site, however, all the content (bar any absolute references to images that we have placed, e.g. linking to a picture from ebay) disappear. Much panic then ensues!

    Any ideas what the matter could be?

    Thanks again for your time?

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

    Default Re: Changing URL

    I'm not sure. There could be references to the IP in the Zen Cart database, but I don't know why that would cause the problem you reported.

    Your host might be able to give you a clearer idea of what's going on.
    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

  9. #9
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Changing URL

    Do a search for your hosting - they are known for some quirky things.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  10. #10
    Join Date
    Sep 2008
    Posts
    35
    Plugin Contributions
    0

    Default Re: Changing URL

    As a follow up, the following steps must be completed before the name can be swapped over with 1and1:

    http://faq.1and1.com/domains/dns_settings/4.html


    Then change yor configure.php files.


    Ciaran

 

 

Similar Threads

  1. v150 changing url
    By jascoaut in forum General Questions
    Replies: 1
    Last Post: 12 Jul 2012, 10:25 AM
  2. changing url
    By christianstogether in forum Installing on a Linux/Unix Server
    Replies: 23
    Last Post: 25 May 2011, 10:49 AM
  3. url changing
    By antdikens in forum General Questions
    Replies: 1
    Last Post: 27 Oct 2008, 10:05 PM
  4. Changing URL
    By GSIS in forum General Questions
    Replies: 1
    Last Post: 14 Aug 2007, 02:26 AM

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