• Resolved javiersivack

    (@javiersivack)


    Hello,

    I have a question to understand what is happening here. Is like magic I can’t understand.

    I’m testing wordpress on my localhost. If I put all the files on /var/www/html/wordpress/ the file index.php shows always blank even if I write at the top echo ‘Hello’; exit; .

    More strange thing is that if I create an empty folder ‘wordpress’ with a index.php on it, it does not work neither.

    So what is the magic here?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @javiersivack,

    Ok, so just based on what you are saying, I’d guess there is something misconfigured with the actual localhost. If you create a folder, and create a simple index.php file, when you view that index page in a browser you should definitely see the contents. If this isn’t the case, then WordPress will certainly not work.

    Curious, how do you have this localhost setup?
    Can you confirm everything is setup correctly?

    Thread Starter javiersivack

    (@javiersivack)

    Hi @jordanwpcom,

    Thanks for answering to my issue.

    I was writing a response to your answer, and start to test again, and it happens to be the cache of the browser, and it is working now.

    I’m sorry for what a newbie error.

    Regards,
    Javier

    Hey Javier, haha, these things happen, no need to apologize! Browser cache get’s us all sometimes…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘localhost/wordpress/ does not work but localhost/wordpressTest works perfect’ is closed to new replies.