admin管理员组文章数量:1130349
I have an existing HTML website on domain name Tarkarlinext. In cpanel file manager, I have html files in public_html folder and site continues to run.
One day, I installed WordPress script through softaculous app installer in a folder in public_html. I named that folder WP. so my new website's url became Tarkarlinext/wp. I did my work through tarkarlinext/wp/admin and decided to move my new WordPress website to main domain for testing purpose. Intention was to move my WordPress site from Tarkarlinext/wp to Tarkarlinext.
For that, I moved files inside WP folder to Public_html folder (one level up).
I made two mistakes. 1. I did not backup in wordpress app. 2. Instead of copying files I moved them.
Expected result was not achieved and I tried putting files back in WP folder. But WordPress site did not run and gave me error message error establishing connection to database.
Please help me with this.
I have an existing HTML website on domain name Tarkarlinext. In cpanel file manager, I have html files in public_html folder and site continues to run.
One day, I installed WordPress script through softaculous app installer in a folder in public_html. I named that folder WP. so my new website's url became Tarkarlinext/wp. I did my work through tarkarlinext/wp/admin and decided to move my new WordPress website to main domain for testing purpose. Intention was to move my WordPress site from Tarkarlinext/wp to Tarkarlinext.
For that, I moved files inside WP folder to Public_html folder (one level up).
I made two mistakes. 1. I did not backup in wordpress app. 2. Instead of copying files I moved them.
Expected result was not achieved and I tried putting files back in WP folder. But WordPress site did not run and gave me error message error establishing connection to database.
Please help me with this.
Share Improve this question edited Dec 9, 2018 at 23:52 butlerblog 5,1413 gold badges28 silver badges44 bronze badges asked Dec 9, 2018 at 12:17 rohan rohan 1 1- Hey, Just copy pasting the content will not work. wordpress information are linked to database..so you have to make changes to database as well ( update the url etc)...best solution will be install a fresh wordpress copy in the main domain and use plugin like All-in-One WP Migration for migration ..yes you have messed up :) – user145078 Commented Dec 9, 2018 at 16:03
1 Answer
Reset to default 0Wordpress Migration will not work just my moving the WordPress files.
More info in this link
If you have removed the database then it's not possible to bring back tarkarlinext/wp/
- Create a folder named
wpinside public_html folder - Move every thing inside public_html folder to
wpfolder
This should make tarkarlinext/wp/ to work
For migration you may go for plugin like All-in-One.
I have an existing HTML website on domain name Tarkarlinext. In cpanel file manager, I have html files in public_html folder and site continues to run.
One day, I installed WordPress script through softaculous app installer in a folder in public_html. I named that folder WP. so my new website's url became Tarkarlinext/wp. I did my work through tarkarlinext/wp/admin and decided to move my new WordPress website to main domain for testing purpose. Intention was to move my WordPress site from Tarkarlinext/wp to Tarkarlinext.
For that, I moved files inside WP folder to Public_html folder (one level up).
I made two mistakes. 1. I did not backup in wordpress app. 2. Instead of copying files I moved them.
Expected result was not achieved and I tried putting files back in WP folder. But WordPress site did not run and gave me error message error establishing connection to database.
Please help me with this.
I have an existing HTML website on domain name Tarkarlinext. In cpanel file manager, I have html files in public_html folder and site continues to run.
One day, I installed WordPress script through softaculous app installer in a folder in public_html. I named that folder WP. so my new website's url became Tarkarlinext/wp. I did my work through tarkarlinext/wp/admin and decided to move my new WordPress website to main domain for testing purpose. Intention was to move my WordPress site from Tarkarlinext/wp to Tarkarlinext.
For that, I moved files inside WP folder to Public_html folder (one level up).
I made two mistakes. 1. I did not backup in wordpress app. 2. Instead of copying files I moved them.
Expected result was not achieved and I tried putting files back in WP folder. But WordPress site did not run and gave me error message error establishing connection to database.
Please help me with this.
Share Improve this question edited Dec 9, 2018 at 23:52 butlerblog 5,1413 gold badges28 silver badges44 bronze badges asked Dec 9, 2018 at 12:17 rohan rohan 1 1- Hey, Just copy pasting the content will not work. wordpress information are linked to database..so you have to make changes to database as well ( update the url etc)...best solution will be install a fresh wordpress copy in the main domain and use plugin like All-in-One WP Migration for migration ..yes you have messed up :) – user145078 Commented Dec 9, 2018 at 16:03
1 Answer
Reset to default 0Wordpress Migration will not work just my moving the WordPress files.
More info in this link
If you have removed the database then it's not possible to bring back tarkarlinext/wp/
- Create a folder named
wpinside public_html folder - Move every thing inside public_html folder to
wpfolder
This should make tarkarlinext/wp/ to work
For migration you may go for plugin like All-in-One.
版权声明:本文标题:plugins - My WordPress site made using softaculous stopped working after moving files out to root folder 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749112774a2317679.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论