Hi I have created a wordpress.org website with phpmyadmin where it is located locally on my computer. I went to transfer my domain purchased through namecheap.com and I put my recently purchased domain address in both url address spots in the settings now I cant access my files to change it back.enter image description here I have attached screen shots of what I'm getting.enter image description here

migrated from webmasters.stackexchange.com Apr 18 at 0:02

This question came from our site for pro webmasters.

  • 1
    To access and change back, reference the options table in the database. Check your local configuration to ensure everything is correct before changing to new domain ie adjust your hosts file so the dns points to local ip. – Jarmerson Apr 18 at 1:50

As you configure the domain name in local WordPress setup, it will not be able to resolve the content from DNS/Domain.

You have 2 ways,

  1. Change the setting from backend. i.e. config file and DB.


  1. As a simple hack, you can create a host entries on your local system to your local web server. Simply, add a single line like below to your hosts file, yourdomain.com

Assuming, your local server is in your local PC only. You can use google to find how you can change your hosts file if you are not aware of the same. Please, backup the hosts file before any performing any changes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy