Support » Fixing WordPress » WordPress URL Migration – 302 Error redirects to old website

Viewing 1 replies (of 1 total)
  • Update: the following was done & the website is at least visible:

    Next, I updated two other places in your WordPress database since you are using the “WordPress MultiSite” functionality:

    MariaDB [XXXXXXX]> select * from wp**_site;
    +—-+——————+——+
    | id | domain | path |
    +—-+——————+——+
    | 1 | viabirthdays.com | / |
    +—-+——————+——+
    1 row in set (0.00 sec)

    MariaDB [XXXXXXX]> select * from wp**_site set domain = ‘viaportrotterdam.com’;
    Query OK, 1 row affected (0.01 sec)
    Rows matched: 1 Changed: 1 Warnings: 0

    MariaDB [XXXXXX]> select * from wp4n_blogs;
    +———+———+——————+——+———————+———————+——–+———-+——–+——+———+———+
    | blog_id | site_id | domain | path | registered | last_updated | public | archived | mature | spam | deleted | lang_id |
    +———+———+——————+——+———————+———————+——–+———-+——–+——+———+———+
    | 1 | 1 | viabirthdays.com | / | 2018-11-13 21:37:31 | 2018-11-30 00:21:05 | 0 | 0 | 0 | 0 | 0 | 0 |
    +———+———+——————+——+———————+———————+——–+———-+——–+——+———+———+
    1 row in set (0.00 sec)

    MariaDB [XXXXXXX]> update wp4n_blogs set domain = ‘viaportrotterdam.com’;
    Query OK, 1 row affected (0.00 sec)
    Rows matched: 1 Changed: 1 Warnings: 0

    • This reply was modified 1 year, 4 months ago by viaaqrobert.
Viewing 1 replies (of 1 total)
  • The topic ‘WordPress URL Migration – 302 Error redirects to old website’ is closed to new replies.