• 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Thread Starter yrstyre

    (@yrstyre)

    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.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress index.php doesn't open locally’ is closed to new replies.