最近,我将一个站点移到AWS EC2实例上,大约99%的问题免费结果,并且性能得到了极大的提升。 将我的任何网站内容发布到Facebook时,有一个问题。 它现在读取分配给我的EC2实例的AWS公共域名,而不是我的.com地址。
因此,我现在看到ec2-55-555-555-555.compute-1.amazonaws.com,而不是在每个帖子的基础上看到www.mysite.com。 当您点击链接时,它会返回到www.mysite.com信息,但是,从视觉上来说,我的Facebook页面是不可取的。
我周末一直在做一些研究,但到目前为止还没有一项决议的结果。 有没有其他人事先遇到过这个问题?
先谢谢你。
Recently I moved a site over onto an AWS EC2 instance with about 99% issue free results and a seriously nice boost in performance. There has been one issue though when posting any of my site content over to Facebook. It now reads my AWS public domain name assigned to my EC2 instance rather than my .com address.
So instead of seeing www.mysite.com at the base of each post, I now see ec2-55-555-555-555.compute-1.amazonaws.com. When you click through the link it does go back to the www.mysite.com information, however, visually it's not desirable for my Facebook page.
I've been doing some research over the weekend, but so far no results on a resolutions. Has anyone else come across this issue prior?
Thank you in advance.
最满意答案
这个问题存在于settings.php中的$ base_url。 我已经更新了它,但直到几天后才完全生效。
The issue resided with the $base_url living inside of settings.php. I'd updated it but it'd not gone into effect fully until a few days later.
更多推荐
com,Facebook,AWS,mysite,EC,电脑培训,计算机培训,IT培训"/> <meta name="de
发布评论