WordPress.org

Forums

Localhost installation (4 posts)

  1. azizultex
    Member
    Posted 1 year ago #

    Hello!
    I just downloaded a wordpress site to customize it on my localhost. Unfortunately, after setting up on my localhost, the site isn't getting stylesheet. And I can't signin to my admin panel.

    The site looks like: http://www.webpagescreenshot.info/i3/52dd2ae75e8434-73295249
    When singing to admin panel: http://www.webpagescreenshot.info/i3/52dd2b23c5f187-56010797

    Please help me

    Thanks

  2. Tom Sketch
    Member
    Posted 1 year ago #

    Sounds like you haven't changed all of the relevant URL's? - http://codex.wordpress.org/Changing_The_Site_URL

  3. azizultex
    Member
    Posted 1 year ago #

    Hello Tom!
    Thanks for your help. I used below code in my config.php file. Now everything is working fine.

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

    But do I need to delete this code when I am on Admin panel?

    Thanks

  4. Jesin A
    Member
    Posted 1 year ago #

    Go to Settings > General and fill in the WordPress Address & Site Address fields. Then you can delete these two lines from wp-config.php

Topic Closed

This topic has been closed to new replies.

About this Topic