简体   繁体   中英

Wordpress running on Amazon EC2 Domain Mapping Issue

Have setup an EC2 instance and finished installing wordpress and domain mapping. Everything works fine when I enter the domain http://domain.com . But when I click on any link to inner pages on the homepage, it redirects to 54.80.186.212/contact-us. How do I solve this problem.

I've an A record pointed to the Elastic IP of AWS for non-www version and another A record pointed to the same IP for WWW version. Both works fine but the inner pages don't. Please advice.

You should go to your wordpress general setting and change your website cononical address. just this!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM