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.

Read Also:  jQuery Dynamically addClass and removeClass

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/

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/

Read Also:  Preview Image before Upload using vuejs

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

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.

Read Also:  Laravel Route Group Middleware Auth

Related FAQ

Here are some more FAQ related to this Article:

  1. Read Also:  open link in new tab react Example Tutorial
  2. Read Also:  Codeigniter how to set form action url using form_open helper function
  3. Read Also:  How to send email in php? | php code to send email on button click
  4. Read Also:  PHP Curl POST and GET Methods
  5. Read Also:  Learn Laravel (Best Laravel Tutorials for Beginners)
  6. Read Also:  VueJS conditionally Enable Disable button
  7. Read Also:  PHP Crop/Resize Image Function using GD Library
  8. Read Also:  How to send email in php? | php code to send email on button click
  9. Read Also:  PHP Crop/Resize Image Function using GD Library
  10. Read Also:  open link in new tab react Example Tutorial
CLOSEX