Skip to main content
45 votes

Can't log in: "ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress."

Add below line to your wp-config.php before /* That's all, stop editing!...*/ define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] ); /* That's all, stop editing! Happy blogging. */
wpdevramki's user avatar
33 votes

Site Redirecting to wp-signup.php

For me it was changing old domain entries in database tables wp_blogs and wp_site to the new domain of the multisite's main domain. I haven't done this after the migration to a new domain.
André Kelling's user avatar
19 votes

WordPress Migration: Getting 404 Errors: Only Home Page works

Go to settings->permalinks and click on save button to rewrite flush. And then empty your browser cache. It'll work hopefully.
Umer Shoukat's user avatar
9 votes
Accepted

WordPress Migration: Getting 404 Errors: Only Home Page works

I found the solution here: https://www.digitalocean.com/community/questions/wordpress-permalinks-not-working-on-ubuntu-14-04 The thing is that we need to allow the override all option in httpd.conf (...
Najeeb's user avatar
  • 353
9 votes

WordPress Migration: Getting 404 Errors: Only Home Page works

Sometimes on a new server it's just the rewrite module missing from Apache config. sudo a2enmod rewrite sudo service apache2 restart
GCL's user avatar
  • 91
7 votes

Fastest way (least amount of steps) to locally import a remote database using WP-CLI

Since WP-CLI 0.24.0 you can now use aliases which enable you to import a remote database quite easily. By using aliases, you can run WP-CLI commands against another WP-CLI install. That install could ...
davemac's user avatar
  • 648
7 votes

WordPress Migration: Getting 404 Errors: Only Home Page works

Solved this problem on Linux Mint 19 / PHP Version 7.2.19-0ubuntu0.18.04.1 by changing: <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted &...
Rajeev Shrestha's user avatar
7 votes
Accepted

How to migrate a HTTPS WordPress installation to localhost?

This is because the site_url and homeurl of your original installation are set to HTTPS in the database, so you can't access your website on localhost unless you: Change these values to non-ssl ...
Johansson's user avatar
  • 15.3k
6 votes

Programmatically get images by URL and save in uploads folder

John's answer is correct re: using media_sideload_image, just note that you may need to require these scripts before if you aren't doing this within the context of WP Admin: require_once(ABSPATH . '...
bryceadams's user avatar
6 votes

How to update media links in Wordpress after migration?

As mentioned in the comments under your question, some data in the WordPress database is serialized and therefore not possible to change with a simple find and replace. You should read through the ...
DaveLak's user avatar
  • 1,037
5 votes

Moved WordPress to New Server, Now Tries to Download a File

Simple steps 1 - Go to filemanager through cpanel or FTP 2 - Delete the .htaccess (make sure you have created a backup) 3 - Open your website and set the permalinks it will create a new .htaccess ...
Qaiser Ur Rehman's user avatar
5 votes
Accepted

Images in the post still pointing to older domain after domain change

Image URLs are just saved as HTML in the database. They're not going to change just by changing the site URL. You need to do some sort of search-replace. This is covered in the documentation on moving ...
Jacob Peattie's user avatar
4 votes

Solution for database version control and deployment?

I'm doing this on MYSQL. It puts all the tables schema and data into their own file so I can easily see what has changed. Unlike most of the other solutions in this thread this solution gets the ...
David Silva Smith's user avatar
4 votes
Accepted

Getting "Cookies are blocked or not supported by your browser" on login page

Wrangled up some things to check: @otto via comment on this post Look at the login page's HTML source. Is there anything at all before the initial DOCTYPE line? Even a blank line? If so, then ...
Dave Romsey's user avatar
  • 17.8k
4 votes
Accepted

Migration / convert an existing site to WordPress

Since it is a custom site and database structure, there is no easy way to import your data into WordPress. I would suggest you instead focus on how you would accomplish the same thing within ...
tmdesigned's user avatar
  • 1,675
3 votes

How to replace the domain name in a WordPress database?

Make sure you have the new database selected, then run some sql updates and replacement commands on the tables notably, wp_options, wp_posts, wp_postmeta. Use the code as below and swap in your old ...
user129645's user avatar
3 votes
Accepted

Stumped on migration

You need to turn WP_DEBUG on in your wp-config.php: define( 'WP_DEBUG', true ); That'll help a lot with working out where that 500 error is coming from. Based on the PHP versions you've mentioned, I'...
Tim Malone's user avatar
  • 4,754
3 votes

WordPress cannot upload data after migration

I have a similar problem, and the issue is resolved. Follow the steps: Login to database phpmyadmin. Click on your database and find a table with the name "wp_options" and click on it. Click on ...
user178606's user avatar
3 votes

I want to run different WordPress websites under the same database

I believe a multisite solution + WooCommerce plugin (which is multisite compatible) would answer to the specifications you have listed. About the multisite installation I strongly recommend you to ...
ClemC's user avatar
  • 1,965
3 votes

Avada resources still loading from localhost after database migration

Avada > Theme Options > Advanced > Dynamic CSS & JS, and clear fusion cache.
Kumaran's user avatar
  • 31
3 votes

Transfer Subdomain site to Multisite setup

Assuming sd1.mysite.com and sd2.mysite.com are single WordPress installs. You can create mysite.com as a WordPress Multisite, you can then export the posts, users, etc and reimport to the new ...
Liam Stewart's user avatar
3 votes

Migrating Multisite with WP-Cli and/or Search-Replace-DB

Accepting a little egg on my face. Dumb-dumb error. The above migration was 100% successful despite the error messages from WP-Cli and Search Replace DB. The reason that my theme appeared broken and ...
mjones's user avatar
  • 153
3 votes

Migrate a WP website from a single-server single-domain to a multi-server multi-domain installation

The simplest way to create identical websites on different domains is to use the plugin Multiple Domain. This allows you to have a single WP install with one database serving two domains. Next step is ...
KAGG Design's user avatar
  • 1,842
3 votes
Accepted

I changed my domain name and REST API stopped working

WordPress stores the domain of the installation in several places of the database. So you have to change them in numerous tables. In the case of working, look at the options table, entries siteurl and ...
bueltge's user avatar
  • 17.1k
2 votes

How can I make updates to a site, on a development copy, but then move updates back without overriding live site's evolving database?

Really no easy way to do what you are wanting to do, but what I would do is make a snapshot of your site, implement yoru changes and if anything brakes restore and try again. It might be down for an ...
user57081's user avatar
2 votes

Can't log in: "ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress."

This issue can also be caused by a site_url that doesn't match the exact URL. In my case, my site_url and home were //127.0.0.1, which I use to have the flexibility of using http or https, so I did: //...
Jesus Iniesta's user avatar
2 votes

Can't log in: "ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress."

I also had this issue recently, it turned out that although the domain name was pointed towards the website, the wordpress multisite didn't have a record in the database to map the domain name to the ...
Terry Kernan's user avatar
2 votes
Accepted

Consolidating two websites into one, but migrated images not appearing in Image Library

By default, when you upload an image via the admin, it's metadata is added to the database, and that's how you can search through them in the media library etc. If you upload images via ftp then they ...
Gareth Gillman's user avatar
2 votes

Migrating Asp.Net site to Wordpress site

Migrate site from ASP to WordPress Now a day WordPress is most popular blogging framework. many people are use WordPress for blogging as well as e-commerce application like online shop. using ...
Prashant Walke's user avatar
2 votes

Migrate different author's content to current author

This can be done easily via dashboard. Firstly check how many users you have in the database by going to Users --> All users and delete those users whom you don't in the database by clicking on ...
bravokeyl's user avatar
  • 3,369

Only top scored, non community-wiki answers of a minimum length are eligible