Hi Alig301,
As far as I know it’s ‘unusual’ to have problems ‘because a site was originally created in linux’. Code = code, esp. HTML, PHP and CSS.
Create a backup of the old / original WP-site:
- FTP: Make a backup of the files of your old site, using FTP ‘Filezilla’ [free] or your own FTP-program.
(see: http://codex.wordpress.org/Using_FileZilla )
- !!VERY IMPORTANT!!
Make a backup of the CONTENT of the old site
- dashboard > tools > export > all content > download exportfile
- If required: confirm installation of export tool and run the export
You will need this to transfer your content, later on.
You now also have a fallback position, should things go wrong!
NOTE!!! Make these backups every time BEFORE you make changes!
Repairing problems becomes much easier!!
== == ==
- When using WAMP, all you need to do is install/ copy wordpress in the ‘www’ directory op wamp.
- Use PHPMyAdmin in WAMP to create a database
- In a browser: ‘http://localhost’ or ‘http://localhost/[your folder]‘, to start the WP-install.
- After the install, check if all is well.
- !!IMPORTANT!!Now make a backup of the
wp-config.php-file of the NEW install
== == ==
- Copy all files and folders [backup above]of your OLD site to your localhost site, OVERWRITING the new.
- Copy the backed-up NEW
wp-config.php to the localhost, overwriting the old one
- Now restore the content by restoring the database backup, made at the top of this list
- Dashboard > Tools > Import > wordpress > choose the exportfile from your computer, and ‘upload file and import
- If required: confirm installation of import tool and run the import
You should now have a localhost version of your old site.
Hi,
thanks for the reply. I have previously done as you have detailed but it is still not working.
I can get to the login page now but my login ‘Admin’ and password don’t work and the login page doesn’t look like it has rendered properly.
Arrrrrgh!!
You should be able to access the database with phpmyadmin.
Try and create a new user with admin-rights, and then login as this new user.
I have a user as root with global privileges and no password. So should I be trying to log in as root or Admin. I am sure when I initially installed WordPress I logged into wordpress as Admin with a password before overwriting the files.
I did change “siteurl” and “home” in the database table “wp_options” through phpMyAdmin.
Sorry about the double posting, I figured it was a separate issue I was now encountering.
In the Database I have a user as root with global privileges and no password. So should I be trying to log in as root or Admin. I am sure when I initially installed WordPress I logged into wordpress as Admin with a password before overwriting the files.
Regards
A
Have you tried adding a user yet, as suggested?
If so, with what result?
I have a user as root with global privileges and no password. So should I be trying to log in to wordpress as ‘root’ or ‘Admin’, or are you saying I should create another user with global privileges and if so what user name and where do I make the changes to allow it.
I am happy that I need to change the wp-config.php which should allow access to the database but I already have that set. See below
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘kimscake_wp431’);
/** MySQL database username */
define(‘DB_USER’, ‘root’);
/** MySQL database password */
define(‘DB_PASSWORD’, ”);
/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);
/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8’);
/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ”);
kimscake_wp431 is the name of the database created in myphpAdmin on localhost.