user5864689
user5864689

Reputation: 39

All the wordpress links points to localhost/dashboard

I have a wordpress install at localhost. I was working on my website when i suddenly notice that all the links on my website starts pointing at localhost/dashboard. Each time I visit my website and click on any link it sends me to localhost/dashboard. But the link which appears at the bottom left corner in google chrome appears to be right. Is there any way to fix this

Upvotes: 0

Views: 437

Answers (2)

HO LI Pin
HO LI Pin

Reputation: 1681

in reality , you will not want your WordPress permalinks configured as localhost because when other client request web site files from your WordPress Apache web server , WordPress will direct their traffic to load their own loacalhost which mean they will failed load css or js file from your web server and get broken image\style\web site .

enter image description here

configure this option inside your wordpress web site will make sure all received web request proper direct to a right wordpress server , use a valid public IP or DNS name or private static IP rather then localhost

enter image description here

Upvotes: 0

Bidzina Aivazashvili
Bidzina Aivazashvili

Reputation: 496

Try to update permalinks. Go wp-admin>settings>permalinks and press "Save changes" button

Upvotes: 1

Related Questions