• I have my website running on a hosting server. Now i am planning to do some changes by downloading it on the local server. I followed every step mentioned in
    https://www.wpbeginner.com/wp-tutorials/how-to-move-live-wordpress-site-to-local-server/
    But after running the localhost website, i am getting errors regarding the header missing like,

    1 0.0005 237376 {main}( ) …\index.php:0
    2 0.0008 240448 require( ‘C:\wamp64\www\mysite\wp-blog-header.php’ ) …\index.php:17
    3 0.3159 21140712 require_once( ‘C:\wamp64\www\mysite\wp-includes\template-loader.php’ ) …\wp-blog-header.php:19
    4 0.3839 21158200 include( ‘C:\wamp64\www\mysite\wp-content\themes\boardwalk\index.php’ ) …\template-loader.php:75
    5 2.5121 21621536 get_footer( ) …\index.php:46
    6 2.5121 21622176 locate_template( ) …\general-template.php:84
    7 2.5124 21622352 load_template( ) …\template.php:531
    8 2.5134 21643312 require_once( ‘C:\wamp64\www\mysite\wp-content\themes\boardwalk\footer.php’ ) …\template.php:572
    9 2.5519 21688048 fopen ( ) …\footer.php:38

    I have checked the paths and they are correct. Can anyone please tell me what i am doing wrong?

    [Moderator’s note: moved to How-To and Troubleshooting]

Viewing 1 replies (of 1 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi sachendrapal!

    Let’s see if we can sort this out yeah?

    I do want to ask the question of how comfortable are you with code in general? Since you are working locally you will be breaking things a lot more. ?? I’ve done it many times on my local setup as well.

    I’d try installing clean first by making sure that WAMP is running properly. Then making sure WordPress is installed and running as well. Once those steps are taken care of you should be able to migrate your live site much easier.

    Do let us know if that somehow helps. ??

Viewing 1 replies (of 1 total)
  • The topic ‘Getting error in Index.php file while moving site from server to localhost’ is closed to new replies.