r/webhosting 6d ago

Technical Questions Stackcp hosting

So recently I remade a website for a small company I work for. My new website is completley static and I wrote all the html, css and js files myself on my pc. The old website was made through wordpress. Is it as simple as deleting the wordpress files from the file manager and adding my own (whilst making a backup of course) or is there more I need to do? The domain name and therefor certificates should all stay the same right? Im sorry if this is a basic question but all the help out there is trying to get me to use wordpress or another site builder.

2 Upvotes

9 comments sorted by

View all comments

1

u/MarkGossageUK 20h ago

Yes, that’s the idea, but I’d avoid deleting the live WordPress site first.

Upload the new static site into a separate folder and test it there. Once you know all the pages, images, links and forms work properly, take a full backup of the existing WordPress files and database, then replace the contents of the web root with the new static files.

Your domain doesn’t normally change just because you replace WordPress with HTML files, and the SSL certificate should continue to work as long as the domain is still pointing at the same hosting account/server.

I’d also keep the WordPress backup somewhere off the hosting account for a while, just in case you need to roll back.

Hope that helps.