admin管理员组文章数量:1326099
I have the following error in my apache2 error log(Ubuntu 18.04, local LAMP dev environment), that I believe is causing a The page isn’t redirecting properly
error:
[:error] [pid ] avahi_entry_group_add_service_strlst("localhost") failed: Invalid host name
I have been searching online for a few hours, but have not found anyway to resolve this error.
The contents of my /etc/hosts file is as follows:
127.0.0.1 localhost
127.0.0.1 localhost.example *.localhost.example
127.0.0.1 someothername www.someothername
127.0.0.1 blog.localhost.example
127.0.0.1 seminar.localhost.example
#The line below is for shared folder access. DP Edit.
127.0.0.1 machinename.local
To ensure that the error is NOT being caused by wordpress, I have tried the following:
- disabled all plugins = redirecting error still present NOTE: no new htaccess was generated by wp
- used db query to update siteurl value to match localhost
UPDATE wp_options SET option_value='' WHERE option_name='siteurl'
= redirecting error still present - updated wp-config to reflect define('WP_HOME',''); define('WP_SITEURL','');
- I also tried creating a simplified htaccess file according to these instructions = redirection error still present
Any ideas?
本文标签: localhostUnusual Apache2 Error Causing Wordpress Redirect Error
版权声明:本文标题:localhost - Unusual Apache2 Error Causing Wordpress Redirect Error? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742193412a2430633.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论