Reputation: 21
I am having an issue where I have a Domain name from Go Daddy, and I am hosting a WP site on Amazon Web Services EC2. I have already changed the A record to so the site pulls up anytime i go to www.bemoremarketing.com. Everything works fine until I hit the home bottom on the website. At that point the IP comes up in in the address bar. Any pages i access after that will have the IPaddress/page
From what I have gathered, I may need to change something in the wp-config.php, but I am unable to find where this is. Any help is appreciated.
Upvotes: 1
Views: 4982
Reputation: 877
I have fixed the same issue. My domain name is purchased from GoDaddy too. I use a raspberry pi and wordpress to build a website.
For GoDaddy.com, following this explain,
I didn't modify WordPress Address (URL) and Site Address (URL)
Upvotes: 0
Reputation: 1
I do not know if this is still of interest but make sure you have all your pages linking to the actual www.yoursite.com
Also, make sure that your HOME link on the menu links to the www.yoursite.com instead of IP.
Changes made in the WP Settings > General are also needed.
Upvotes: 0
Reputation: 629
Go to settings of wordpress. Then, change the URL as given below.
Upvotes: 0
Reputation: 31
You need to change the Site URL.
You can do this through the Wordpress Settings at Settings > General > Wordpress Address/Site Address, or in the wp-config.php file
define( 'WP_SITEURL', 'http://example.com/wordpress' );
For more details see https://codex.wordpress.org/Changing_The_Site_URL.
Upvotes: 2