Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5060

Wp-admin after migrating still redirects to the old domain (without slash)

$
0
0

I recently migrated a site to a new domain, everything worked fine, until I found out if I went to the domain https://example.com/wp-admin (without a slash on the end) it redirects to it's old domain, and when I add a slash on the end it goes to the corresponding page.

I don't know what the issue is, I've added

define('WP_HOME', 'https://example.nl/');define('WP_SITEURL', 'https://example.nl/');define('RELOCATE', true);`

In wp-config, and also in the in the backend and the wp_options table.

I don't know what has caused this, and hope someone has a fix for this.


Viewing all articles
Browse latest Browse all 5060


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>