WordPress on a local machine redirecting to online url

i’ve downloaded a wordpress web to my local machine and tried setting it up. the problem: when trying to login, wordpress will always redirect to the online url. the only way i found was changing the siteurl manually in phpmyadmin to my local machine’s ip address. is there a better solution? the problem about doing that is that permalinks won’t work anymore locally.

Answer

try adding the following to it:

Leave a Comment

Powered by InteliSoft Solutions | Deadline Theme : An Awesem design by Orman