Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    May 2008
    Location
    san francsico
    Posts
    134
    Plugin Contributions
    0

    Default Problems pointing old URL to new site

    SO........I made www.toomuchfunclub.net my primary domain for my website...

    but the links still point to www.2muchfunclub/store
    (I don't want the links to point to 2muchfunclub.net/store ...only toomuchfunclub.net)
    (I moved all the files from public_html/store/ ......... to public_html/)

    I changed the admin/configure.php

    what else do I change?

    the other public_html/store/configure.php didn't seem to have any references to 2muchfunclub.net


    thanks!

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Problems pointing old URL to new site

    It would be includes/configure.php.

  3. #3
    Join Date
    Jun 2007
    Posts
    70
    Plugin Contributions
    1

    Default Re: Problems pointing old URL to new site

    You need to change your includes/configure.php file to reflect new location.

    PHP Code:
    define('HTTP_SERVER''http://www.toomuchfunclub.net');
    define('HTTPS_SERVER''https://www.toomuchfunclub.net'); 
    PHP Code:
    define('DIR_WS_CATALOG''/');
    define('DIR_WS_HTTPS_CATALOG''/'); 
    Also, do not forget to change DIR_FS_CATALOG and DIR_FS_SQL_CACHE constants.

    Then, to redirect all your current links, put the following code to your public_html/.htaccess file:

    Code:
    <IfModule rewrite_module>
    
    RewriteEngine On
    RewriteBase /
    
    RewriteCond %{HTTP_HOST} ^www.2muchfunclub.net$ [OR,NC]
    RewriteCond %{HTTP_HOST} ^2muchfunclub.net$ [NC]
    RewriteRule ^store/(.*)$ http://www.toomuchfunclub.net/$1 [L,QSA,R=301,NE]
    
    </IfModule>

  4. #4
    Join Date
    May 2008
    Location
    san francsico
    Posts
    134
    Plugin Contributions
    0

    Default Re: Problems pointing old URL to new site

    Thanks very much...!
    except the images are not linking up correctly...

    www.toomuchfunclub.net
    Last edited by lrfowler; 2 Jul 2013 at 03:15 AM.

  5. #5
    Join Date
    May 2008
    Location
    san francsico
    Posts
    134
    Plugin Contributions
    0

    Default Re: Problems pointing old URL to new site

    Quote Originally Posted by lrfowler View Post
    Thanks very much...!
    except the images are not linking up correctly...

    www.toomuchfunclub.net
    I can't get into my 'admin' section...
    larry_admin

  6. #6
    Join Date
    Jun 2007
    Posts
    70
    Plugin Contributions
    1

    Default Re: Problems pointing old URL to new site

    Also re-configure admin/includes/configure.php file.

  7. #7
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Problems pointing old URL to new site

    Quote Originally Posted by lrfowler View Post
    I can't get into my 'admin' section...
    larry_admin
    I suggest you immediately change your admin folder name or if not then request that forum mods remove or edit your post...you have just given a hacker your back door!

  8. #8
    Join Date
    May 2008
    Location
    san francsico
    Posts
    134
    Plugin Contributions
    0

    Default Re: Problems pointing old URL to new site

    Quote Originally Posted by picandnix View Post
    I suggest you immediately change your admin folder name or if not then request that forum mods remove or edit your post...you have just given a hacker your back door!
    What do I have to do to rename my admin folder?
    I tried just renaming the folder...that didn't work too good...

  9. #9
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Problems pointing old URL to new site

    Quote Originally Posted by lrfowler View Post
    What do I have to do to rename my admin folder?
    I tried just renaming the folder...that didn't work too good...
    http://www.zen-cart.com/content.php?...horized-access
    you will have to edit your configure.php to match though as this guide is for the first time you renamed during original installation.

  10. #10
    Join Date
    May 2008
    Location
    san francsico
    Posts
    134
    Plugin Contributions
    0

    Default Re: Problems pointing old URL to new site

    i edited admin/configure .....it doesn't open my admin page...
    is there another file to edit?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 htaccess redirect from old subdirectory site to new subdomain site
    By Millie63 in forum General Questions
    Replies: 5
    Last Post: 29 May 2014, 10:31 PM
  2. v151 Admin Folder problems after moving site to new URL
    By Forum5 in forum General Questions
    Replies: 2
    Last Post: 20 Feb 2014, 08:20 PM
  3. ad links to product in old site--how to link to new zen site?
    By robinraraavis in forum General Questions
    Replies: 30
    Last Post: 21 Oct 2008, 04:51 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