admin管理员组文章数量:1026380
I'm very new to WordPress development so forgive me if this question has already been covered.
I recently installed WordPress on my localhost. I wanted to access this website folder from a remote computer on a different network, however, I was facing an issue as the url automatically gets changed to localhost. For this, I found this link which gave me an idea of the problem I was facing ().
However, once I changed the URL in wp-config file, a different issue arose, the localhost URL keeps on changing even from my computer to a random IP (http://117.217.93.139/foldername/) and the home page does not open (other pages open fine!). Even after I restored my original file the issue keeps on persisting.
What should I do so that my problem gets resolved? I will be able to access the website from a remote network as well as work on it on my computer.
I'm very new to WordPress development so forgive me if this question has already been covered.
I recently installed WordPress on my localhost. I wanted to access this website folder from a remote computer on a different network, however, I was facing an issue as the url automatically gets changed to localhost. For this, I found this link which gave me an idea of the problem I was facing (https://stackoverflow/questions/32816005/access-wordpress-site-from-another-machine).
However, once I changed the URL in wp-config file, a different issue arose, the localhost URL keeps on changing even from my computer to a random IP (http://117.217.93.139/foldername/) and the home page does not open (other pages open fine!). Even after I restored my original file the issue keeps on persisting.
What should I do so that my problem gets resolved? I will be able to access the website from a remote network as well as work on it on my computer.
Share Improve this question asked Jun 3, 2018 at 9:29 HimanshuHimanshu 531 silver badge12 bronze badges1 Answer
Reset to default 0Hi please check first your wp-config file and see is there is set any homepage url? if there then change if not then go to website database and edit table 'wp-options' where you find siteurl and homepage url then make them same.
You can also check the .htaccess (hidden file in root) also for redirection.
I hope check in wp-config and wp-option(table) will solve your website url issue
Thanks
I'm very new to WordPress development so forgive me if this question has already been covered.
I recently installed WordPress on my localhost. I wanted to access this website folder from a remote computer on a different network, however, I was facing an issue as the url automatically gets changed to localhost. For this, I found this link which gave me an idea of the problem I was facing ().
However, once I changed the URL in wp-config file, a different issue arose, the localhost URL keeps on changing even from my computer to a random IP (http://117.217.93.139/foldername/) and the home page does not open (other pages open fine!). Even after I restored my original file the issue keeps on persisting.
What should I do so that my problem gets resolved? I will be able to access the website from a remote network as well as work on it on my computer.
I'm very new to WordPress development so forgive me if this question has already been covered.
I recently installed WordPress on my localhost. I wanted to access this website folder from a remote computer on a different network, however, I was facing an issue as the url automatically gets changed to localhost. For this, I found this link which gave me an idea of the problem I was facing (https://stackoverflow/questions/32816005/access-wordpress-site-from-another-machine).
However, once I changed the URL in wp-config file, a different issue arose, the localhost URL keeps on changing even from my computer to a random IP (http://117.217.93.139/foldername/) and the home page does not open (other pages open fine!). Even after I restored my original file the issue keeps on persisting.
What should I do so that my problem gets resolved? I will be able to access the website from a remote network as well as work on it on my computer.
Share Improve this question asked Jun 3, 2018 at 9:29 HimanshuHimanshu 531 silver badge12 bronze badges1 Answer
Reset to default 0Hi please check first your wp-config file and see is there is set any homepage url? if there then change if not then go to website database and edit table 'wp-options' where you find siteurl and homepage url then make them same.
You can also check the .htaccess (hidden file in root) also for redirection.
I hope check in wp-config and wp-option(table) will solve your website url issue
Thanks
本文标签: domainWordPress on localhost redirecting to unknown ip
版权声明:本文标题:domain - WordPress on localhost redirecting to unknown ip 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745640177a2160697.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论