Ruhanika
Ruhanika

Reputation: 29

Page not found in wordpress localhost

I have installed Wordpress on my localhost, no links are working. I get page not found.

What can I do ?

Using .htaccess like:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /akclinics/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /akclinics/ [L]
</IfModule>

# END WordPress

Upvotes: 1

Views: 982

Answers (1)

naveenkumar.s
naveenkumar.s

Reputation: 1001

If you not able to go /wp-admin just open your database then

Your database-> wp-options table->wp-options->site-url->check and change it.

After Follow this steps once:

This may be caused by the permalink or .htaccess

  • Go to settings-> permalink-> set it as default ->Reload or refresh
  • Then again now Go to settings-> permalink->postname
  • Your .htaccess will get update with the permalink.

Upvotes: 2

Related Questions