WordPress.org

Ready to get started?Download WordPress

Forums

WordPress index.php doesn't open locally (4 posts)

  1. yrstyre
    Member
    Posted 5 months ago #

    I using WAMP to start creating wordpress themes. WAMP, WP and DB created are fine.

    I have got my index.php and style.css already in my theme folder and I can see the new theme created in there. But when I try to preview my code using localhost I am not getting any result.

    When i try to open my wordpress theme on a localhost (WAMP) the site doesn't open. What opens is a list of what's in the directory, clicking on the index.php does the same. Admin site works fine. Not sure what the problem is.

    Every other local site (not wordpress) works fine

    Any clue?

  2. Rod Whiteley
    Member
    Posted 5 months ago #

    I don't understand what you mean by "preview my code" and "open my wordpress theme". To see what a theme looks like, activate the theme on the Appearance – Themes admin screen, then visit the site.

  3. yrstyre
    Member
    Posted 5 months ago #

    When I go to my project on localhost I only see the list of files in the project. When I click the index.php it directs me just to the list again, not to my project. This means I can't watch my site. All other non WordPress sites works fine though.

  4. Rod Whiteley
    Member
    Posted 5 months ago #

    If that happened to me I would activate the TwentyThirteen theme supplied with WordPress, to check that WordPress is installed correctly and working properly.

Reply

You must log in to post.

About this Topic