0

I'm struggling to get my WP domains to display correctly. I'm using ec2 apache with a domain from namecheap.

In namecheap, I've done the "pointing," putting my elastic IP for both the @ and www, and selected "A (Address) for both.

Right now, www.mysite.com directs to the homepage of my WP. But as soon as I click links in my WP, the url goes back to xxx.ElasticIP.xx/sub-page instead of www.mysite.com/sub-page

The General settings in my WP still have the xxx.elasticIP.xx for both the site URL and WP URL.

Any help greatly appreciated!

2
  • "The General settings in my WP still have the xxx.elasticIP.xx for both the site URL and WP URL." aaaand you can't figure out that that's what needs to change?
    – Sammitch
    Aug 29, 2013 at 19:01
  • Hmm thought that that had broken the page earlier when I tried, but that was indeed the simple fix.. thanks!
    – user187759
    Aug 30, 2013 at 4:56

1 Answer 1

1

All the links in a wordpress database are relational, and based on the URL structure that was used when the database was created. What you need to do is follow the steps to change the URL of the Wordpress instance and that should resolve your problem.

This is common when changing from a dev platform to a live site. FWIW I think that manually changing it in the database it the easiest way to accomplish what you're looking to do.

1
  • Turned out the answer was even simpler, but this was helpful, thanks!
    – user187759
    Aug 30, 2013 at 4:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.