admin管理员组

文章数量:1022777

Hi I have created a wordpress website with phpmyadmin where it is located locally on my computer. I went to transfer my domain purchased through namecheap 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. I have attached screen shots of what I'm getting.

Hi I have created a wordpress website with phpmyadmin where it is located locally on my computer. I went to transfer my domain purchased through namecheap 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. I have attached screen shots of what I'm getting.

Share Improve this question asked Apr 17, 2019 at 21:11 Abby JuliAbby Juli 1
  • 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. – Jarod Thornton Commented Apr 18, 2019 at 1:50
Add a comment  | 

1 Answer 1

Reset to default 0

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.

OR

  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,

127.0.0.1 yourdomain

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.

Hi I have created a wordpress website with phpmyadmin where it is located locally on my computer. I went to transfer my domain purchased through namecheap 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. I have attached screen shots of what I'm getting.

Hi I have created a wordpress website with phpmyadmin where it is located locally on my computer. I went to transfer my domain purchased through namecheap 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. I have attached screen shots of what I'm getting.

Share Improve this question asked Apr 17, 2019 at 21:11 Abby JuliAbby Juli 1
  • 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. – Jarod Thornton Commented Apr 18, 2019 at 1:50
Add a comment  | 

1 Answer 1

Reset to default 0

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.

OR

  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,

127.0.0.1 yourdomain

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.

本文标签: urlsCant access my wordpressorg locally