Here's my situation. I have followed the exact instructions on wordpress codex page about moving a site to another server. Here are the step's i have taken.
And then when I try to open my site on the new location it just directs me to wp-admin/install.php Now just to make the scenario clearer: The destination folder(on live server) is a sub directori in a public_html folder which already has another wordpress install inside it(I'm saying this just in case it should matter)
My .htaccess looks like this
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /subDirectoryName/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /subDirectoryName/index.php [L]
</IfModule>
# END WordPress
I have tried checking and repairing my tables via phpMyadmin but everything seems to be ok there and has no effect on the problem.
I also tried emptying the database on the live server and go through with the install. And it installs with no problems and everything works fine but, well I have no use for another clean install. But I think this at least rules out any trouble with wp-config file. I'm using Wordpress Version 3.3.1
So I guess the big question I'm left with is: Why isn't wordpress recognizing my Install after migration?
Any help much appreciated!
In this case, the easiest way to fix this problem is to edit the wp-config. php file and make sure that the prefix matches what you are using in the database. You will now be able to fix the database issues that cause the WordPress installation to continually re-start when you go to your WordPress page.
Typically, this occurs when one or more of the database tables are corrupt — wp_options in particular. Try issuing check table and repair table statements accordingly.
WordPress Redirecting to Install Again This type of issue is most frequently caused by the use of an incorrect WordPress database table prefix. What you need to do to correct this is to ensure that the $table_prefix variable within your wp-config. php file matches your actual database table prefix.
Well finally I have solved the problem. And surprise, surprise It was the freaking UPPERCASE letter in my table prefix. I had it this way in my wp-config file wp_C5n but for some reason most of the tables got a prefix wp_c5n. But not all. So what id did was I changed my table prefix in wp_config file to all lowercase and then went through all the tables by hand via phpMyadmin to see If there's any uppercase tables left. There where about 3. They were inside usermeta table and inside options table. Now finally everything is working. Did a quick search through wordpress codex but did not find anything mentioning not to use uppercase characters.
Resolved: wp-config.php setting
I had a similar problem. I got the install.php after moving files and creating a new database. It seems the install screen shows up it there is problem finding the correct database tables.
I fixed the problem by changing the following settings to be correct:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'HikeforLife_dev11');
/** MySQL database username */
define('DB_USER', 'HikeforLife_dev11');
$table_prefix = 'wphk_';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With