WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Running a Development Copy of WordPress on localhost - theme not working (3 posts)

  1. holbri
    Member
    Posted 1 year ago #

    Trying to run a dev copy of live wordpress site on localhost. I exported database from live site and changed the following.

    I have update mySQL settings in config.php with the local settings (wp database name,root,root,localhost) and the WP_OPTIONS for option_name siteurl (line 1) and home (line 37) to be "http://localhost/local_folder_name".

    My site and links are working on localhost but with no styling. My theme is not recognized by localhost.

    I am using MAMP and my apache port is 80.

    How do I get my theme to work on localhost?

    Thank you,
    Brian

  2. holbri
    Member
    Posted 1 year ago #

    Update: I attempted to login to wp-admin locally to make sure my theme was activated and I received a page not found response with my unstyled homepage.

  3. holbri
    Member
    Posted 1 year ago #

    Missing a backslash in wp_options on home (line 37). Theme works.

Topic Closed

This topic has been closed to new replies.

About this Topic