Jump to content

Migrating from subdirectory from main directory - didn't work


Recommended Posts

I moved all the files from my subdirectory "newsite" out to my main directory (public_html), and changed the directory to "/" in "SEO & URLs." But then when I went to follow this instruction:

  • After that, go to /config folder and open settings.inc.php using code editor or text editor on your hosting control panel.

Find the following line :

 

define('__PS_BASE_URI__', '/shop/');

 

and change it to

 

define('__PS_BASE_URI__', '/');

 

there was no such line in my settings.inc.php file, nor any mention anywhere of my old subfolder (newsite).

 

 

As of right now, none of my links work, and - curiously - only the slider images are visible.

 

 

Here is the entire text of my settings.inc.php file:

 

 

<?php

define('_DB_SERVER_', 'localhost');

define('_DB_NAME_', 'sunspotd_pre1');

define('_DB_USER_', 'sunspotd_pre1');

define('_DB_PASSWD_', 'U4MfK712k9ZrmWs');

define('_DB_PREFIX_', 'prs_');

define('_MYSQL_ENGINE_', 'InnoDB');

define('_PS_CACHING_SYSTEM_', 'CacheMemcache');

define('_PS_CACHE_ENABLED_', '0');

define('_MEDIA_SERVER_1_', '');

define('_MEDIA_SERVER_2_', '');

define('_MEDIA_SERVER_3_', '');

define('_COOKIE_KEY_', 'jCZ6z3fGRHSY1Md21aUz2rRqTKSZ3PGImZ4CVa4mcnaP4jiWze0nhr34');

define('_COOKIE_IV_', 'RdLr1aTg');

define('_PS_CREATION_DATE_', '2012-11-05');

define('_PS_VERSION_', '1.5.2.0');

define('_RIJNDAEL_KEY_', 'UMyL2J8KA8f4ewvx0w9FrM9ZSKxqxH2k');

define('_RIJNDAEL_IV_', 'aCPkaPOfuonPiQlCe/71bw==');</p>

 

 

 

How do I get my site working?

Edited by columbine (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...