admin管理员组文章数量:1122846
The website works perfect on my localhost. I used duplicator plugin to upload it on my web-host. Database connections are established since mywebsite/wp-admin works perfect. I can login the wordpress wp-admin panel and all the plugins, pages, posts are there and are editable. Also the permalink on the homepage shows as
But when I open my website I see an absolutely blank page. There is no code in inspect element or no errors in console log.
Website can be viewed at: www.maajees.pk
Things I've tried:
- Reupload the files from duplicator.
- Disabled all the plugins, no result.
- Wp-Admin > Settings > Permalinks selected another format and then selected the same format as localhost and clicked save settings, didn't work.
- I created a php file called index.php, renamed the wordpress file index.php to index2.php temporarily and placed an h1 tag "Testing" in index.php, I can view testing when I opened the domain www.maajees.pk which means the domain is properly configured. Changed back the wordpress index2.php file back to index.php.
Nothing worked. All suggestions are welcome. Thank You
Summary
Only localhost everything works perfect but when I upload it on webhost no page is displayed. website/wp-admin and all wordpress backend works perfect but still nothing is being displayed on the www.mywebsite
The website works perfect on my localhost. I used duplicator plugin to upload it on my web-host. Database connections are established since mywebsite.com/wp-admin works perfect. I can login the wordpress wp-admin panel and all the plugins, pages, posts are there and are editable. Also the permalink on the homepage shows as http://mywebsite.com
But when I open my website I see an absolutely blank page. There is no code in inspect element or no errors in console log.
Website can be viewed at: www.maajees.com.pk
Things I've tried:
- Reupload the files from duplicator.
- Disabled all the plugins, no result.
- Wp-Admin > Settings > Permalinks selected another format and then selected the same format as localhost and clicked save settings, didn't work.
- I created a php file called index.php, renamed the wordpress file index.php to index2.php temporarily and placed an h1 tag "Testing" in index.php, I can view testing when I opened the domain www.maajees.com.pk which means the domain is properly configured. Changed back the wordpress index2.php file back to index.php.
Nothing worked. All suggestions are welcome. Thank You
Summary
Only localhost everything works perfect but when I upload it on webhost no page is displayed. website.com/wp-admin and all wordpress backend works perfect but still nothing is being displayed on the www.mywebsite.com
Share Improve this question asked Oct 8, 2019 at 15:58 Moiz NadeemMoiz Nadeem 211 gold badge1 silver badge4 bronze badges 1 |1 Answer
Reset to default 0May be the active theme is overridden. Check the 'option_name' => 'current_theme'
value in wp_options . Is the option_value
the same as your active theme name?
Try activating your theme also
hope it helps..
本文标签: pluginsWordpress website working fine on localhost but not displaying front pages on webhost
版权声明:本文标题:plugins - Wordpress website working fine on localhost but not displaying front pages on webhost 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736294207a1929306.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
wp-config.php
file to make sure it's pointing to the correct (live) database with a valid user? – WebElaine Commented Oct 8, 2019 at 20:49