• I migrated my site between urls, i changed the site url (i’ve tried this before) but the site seems broken in backend. Frontend is fine – but i see only links in the admin page (no images, no admin panels).

    Please view this screenshot at https://ibb.co/mPk0az

    • This topic was modified 6 years, 7 months ago by markido.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Did you change both values in the database to the new URL? Check to make sure that you changed siteurl and home to the new URL under the wp_options table.

    Thread Starter markido

    (@markido)

    Yea i checked, its shown correctly in the database – no issues there.

    Have you tried to debug?

    To turn on debug open wp-config.php and add the following lines:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    

    The last line is if you don’t want debug messages to display publicly on your site.

    The second line will have the debug errors stored in /wp-content/debug.log.

    Please reply back if you notice any errors.

    Thread Starter markido

    (@markido)

    Thank you Wurpe Hosting – i added the lined right before the “No more editing” comment, made sure it was AFTER “define( ‘WP_DEBUG’, false );” so no issues there.

    I didn’t see any errors at all, just saw it like its shown in the screenshot from my original post.

    The wp-login appears un-styled too, btw.

    No log file appeared in wp-content/ so i don’t think there are any real errors for it to track.

    Hi, let’s try disabling all plugins. Can you rename your plugins directory to something like _plugins? This will force disable all plugins since WordPress won’t be able to read the plugins directory.

    Do you still have the old URL pointed to your WordPress instance? If so, see if the same issue happens on the old URL.

    Thread Starter markido

    (@markido)

    The same problem doesn’t happen on my old url. Its a copy i’m running.

    I already renamed the plugins folder to plugins_disable ??

    Okay, can you verify that your wp-config.php doesn’t have the site URL set there?

    Look for something like this:

    define('WP_HOME','https://example.com');
    define('WP_SITEURL','https://example.com');

    If you find that then delete it.

    If you don’t find it in the wp-config.php file then please add the following to it:

    define('WP_HOME','https://sunemandrup.dk');
    define('WP_SITEURL','https://sunemandrup.dk');

    Also, can you make sure that all WordPress core files were copied over when you changed your site along with the correct file permissions?

    Let me know what the outcome is, thanks.

    Thread Starter markido

    (@markido)

    The lines were not in there, so i added them with the correct URL.

    It seems that all the core files were copied correctly, the permession is fully granted.

    My backend /wp-admin seems to be redirecting me to https:// might this be whats breaking the site? if yes, any idea how to stop it?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Backend shows only links’ is closed to new replies.