how to open wordpress dashboard in localhost xampp?

Today, We want to share with you xampp localhost redirects to dashboard.In this post we will show you localhost/dashboard htdocs, hear for wordpress http localhost dashboard we will give you demo and example for implement.In this post, we will learn about How To Fix The Error Establishing A Database Connection In WordPress with localhost/demo/index.php an example.

All inside pages are redirecting to http://localhost/dashboard/ in WordPress xampp localhost

When i install new or fresh WordPress in localhost on my system may face an issue, All inside some pages are redirecting to http://localhost/dashboard/ in WordPress localhost system.

suppose i installed a working WordPress web site inside demo or test(WordPress) folder in htdocs root directory and maybe changed the wp_option table siteurl as well as home option value to http://localhost/demo/

Read Also:  PHP - Save base64 Encoded string - Convert base64 to Image

Here is my current Active .htaccess files as well as localhost/xampp/ or http://localhost/index.php can’t be accessed

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php?$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

here this URL http://localhost/demo/contact_us it is redirecting to http://localhost/dashboard/

To fix this issue you have to change .htaccess files like this

added below code in .htaccess files

RewriteBase /demo/
RewriteRule . /demo/index.php [L]

Here is the .htaccess files

Read Also:  PHP LinkedIn OAuth Login Integration Tutorial From Scratch

RewriteEngine On
RewriteBase /demo/
RewriteRule ^index\.php?$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /demo/index.php [L]


I hope you get an idea about localhost displays index.php or index.html.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.