• Resolved naderi9

    (@naderi9)


    Hi..
    I design a wordpress site , after migration site in another host , the wordpress site show the page code!
    how can i fix this problem?

    this is part of codes:
    /** * Core Post API * * @package WordPress * @subpackage Post */ // // Post Type Registration // /** * Creates the initial post types when ‘init’ action is fired. * * See {@see ‘init’}. * * @since 2.9.0 */ function create_initial_post_types() { register_post_type( ‘post’, array( ‘labels’ => array( ‘name_admin_bar’ => _x( ‘Post’, ‘add new from admin bar’ ), ), ‘public’ => true, ‘_builtin’ => true, /* internal use only. don’t use this when registering your own post type. */ ‘_edit_link’ => ‘post.php?post=%d’, /* internal use only. don’t use this when registering your own post type. */ ‘capability_type’ => ‘post’, ‘map_meta_cap’ => true, ‘menu_position’ => 5, ‘hierarchical’ => false,

Viewing 8 replies - 1 through 8 (of 8 total)
  • Felipe Velzani

    (@felipevelzani)

    Hi there,

    How have you done the migration process?

    Would you mind sharing your website link?

    Thread Starter naderi9

    (@naderi9)

    first I upload a full backup of wordpress site then Import the database backup ! I do this process every day and this is the first time that face this problem
    http://gandoclothing.com/
    this is website link! when u go to wp-admin you can see this codes!
    http://n-debugger.ir/gandoclothing/
    this is the site link before migration

    Felipe Velzani

    (@felipevelzani)

    Ok, well, maybe you could try using a plugin like “Duplicator” as well as it does the migration, database updates and you can check if it shows you any notice while creating the package.

    https://wordpress.org/plugins/duplicator/

    Thread Starter naderi9

    (@naderi9)

    when i want to upload the backup file I face an error for WP-VCD malware!
    I try to find the codes and remove them
    can this process cause the problem?

    Felipe Velzani

    (@felipevelzani)

    Ok. So it looks like is not a migration problem, but something you have some before on your website.

    Please check if some of those reasons apply to you:

    – The most common reason of the hack is the use of a nulled theme – the wp-vcd malware in many cases comes pre-installed with every downloaded theme from nulled theme websites
    – If you are using outdated WordPress plugins & themes for your site.
    – No Web Application Firewall (WAF) installed to block hacking attempts made by hackers

    Astra has created full information about it and how to fix it, so please check this out: https://www.getastra.com/blog/911/how-to-fix-wp-vcd-backdoor-hack-in-wordpress-functions-php/

    Felipe Velzani

    (@felipevelzani)

    Hi @naderi9, I just checked with some other volunteers, and he said that your host is not processing PHP and showing it as text, so please contact your hosting provider.

    Thread Starter naderi9

    (@naderi9)

    thank you @felipeloureirosantos .. I check this with my hosting provider..

    Felipe Velzani

    (@felipevelzani)

    You’re welcome! 🙂

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘WordPress show page codes after migration’ is closed to new replies.