php - Unable to access wordpress site on local host - err: This localhost page can’t be found

419

Hi All i am facing issue with wordpress installation.

I downloaded wordpress setup from wordpress.org and moved it in var/www/html but when i try to access it from localhost/wordpress. Iget the following error This localhost page can’t be found .

but when i try localhost/wordpress/wp-admin it redirects to my other project wp-admin like http://localhost/xyz/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%2Fwordpress%2Fwp-admin%2F&reauth=1

I have not started with installation as yet. and i am able to access my other localhost wordpress sites. But any fresh downloaded wordpress site i am unable to access.

I am working in ubuntu

Things that i have tried renaming my .htaccess to .htaccess_temp - to ensure if it is ht access issue and i still get the same error.

598

Answer

Solution:

Got it fixed. There was a hidden wp-config in my root folder which was interrupting the flow.. once deleted the link works fine

People are also looking for solutions to the problem: php - pivot table result join with another table

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.