amazon ec2 - WordPress Admin Redirects to Previous EC2 Public DNS -
i installed wordpress 3.5.2 on amazon ec2 amazon linux ami micro instance. able log admin backend, , view front end blog post.
however, after stopping , restarting micro instance (in effort minimize charges), given new public dns address. restarted httpd , mysqld services. when tried access admin backend new url, kept getting redirected previous public dns no longer exists
http://ec2-xx-xxx-x-xxx.compute-1.amazonaws.com/mysite/wp-admin
i cleared chrome's cache. not find site url among configuration files. i'm not sure do. assistance appreciated. in advance.
wp-admin redirect siteurl
option set in wp_options
table. row id 1
, can with:
select * wp_options option_name = "siteurl";
you can update with:
update wp_options set option_value = "http://your-new-site-name.com" option_name = "siteurl";
Comments
Post a Comment