How to delete a php website contents?

5 replies
I have a php site which is already ranking, but I find so many issues working with the site. So I thought to delete all the contents of the website and create the site in wordpress. How to delete the website content and how to add wordpress? Kindly help me
#contents #delete #php #website
  • Profile picture of the author Techalo
    Sounds like you might want to outsource if you're not familiar with this unfortunately, but you may be able to do it.

    I imagine since your website is ranking you want to keep it up until you have the Wordpress site mirrored with the content from your old website, correct?

    If that's the case, you'll want to research subdomain installation for your dev environment to setup the Wordpress system(new site), and then once the Wordpress site is finished you would then delete your files in the root directory and transfer from the sub domain directory via FTP. Then naturally do the things involved in a migration; update wp-config.php;query database to replace sub domain url with live url.

    Good place to start:
    http://youtu.be/QihvpQYOJ04
    {{ DiscussionBoard.errors[10081767].message }}
  • Profile picture of the author emptee
    Originally Posted by jenudsouza View Post

    I have a php site which is already ranking, but I find so many issues working with the site. So I thought to delete all the contents of the website and create the site in wordpress. How to delete the website content and how to add wordpress? Kindly help me
    Hi Mate,

    In my opinion, here's the safest way to tackle this:

    1) Get a new hosting account somewhere for the same domain name
    2) Install WP
    3) Edit your hosts file (on your computer) to point youdomain.com at your new hosting IP address
    4) Develop your new site make sure your structure/linking is as similar as possible to your old site
    5) When you're happy with the result, flick over the A record(s) (or NS records if you host your DNS with the hosting company) to your new site IP address
    6) Cancel old hosting account

    This allows you to develop your new site exactly as it will appear, while keeping your old site in tact until you're ready to make the move. No risk, no downtime.. just a flip of a switch at the end

    Cheers,
    Michael
    {{ DiscussionBoard.errors[10081801].message }}
  • Profile picture of the author Member8200
    First, deactivate your hosting account and get a new one. Then, Install WordPress and Develop your New site with the same structure like the old site.
    {{ DiscussionBoard.errors[10085916].message }}
  • Profile picture of the author KevinOBrien
    Don't delete your data directly firstly create a backup file then make a sub-domain and implement wordpress and start working on it, when its complete than you can delete your file or data from the root. At the last redirect your URL with relevant urls. If you follow these few steps you will not lose your ranking.
    {{ DiscussionBoard.errors[10086066].message }}
  • Profile picture of the author jenudsouza
    Thank you for your replies. But I researched a lot and finally got solution.

    First I took the backup of my files.
    Then downloaded wordpress file its a zip folder, which i extracted.
    Then I deleted all my contents from root folder from ftp.
    Once deleted all the contents I uploaded the extracted wordpress file.
    Then open the domain in a browser, it will ask you to create the admin details.
    Follow the instructions and you are done.
    {{ DiscussionBoard.errors[10090651].message }}

Trending Topics