Web hosting · WordPress · Canada

How We Run a 1,000-Article WordPress Site on WHC Shared Hosting

The hosting features we use every day, and the setup steps you can copy

Last checked: November 2026. This site runs on a Web Hosting Canada (WHC) shared hosting plan. We’re a WHC affiliate, so we earn a commission if you sign up through our links. It doesn’t change your price.

Top Trusted Products has more than 1,000 published articles, prices that update every hour and 16 scheduled jobs that run on the server around the clock. All of it runs on shared hosting. Ours is with WHC, a Canadian host based in Montreal, and it has handled everything we’ve asked of it. After running this site on WHC, we’d choose it again.

Below are the features we use and the setup steps, so you can run your site the same way.

Web Hosting Canada

WHC Pro web hosting: C$3.92/mo for the first year (regular price C$14.99/mo)

See WHC plans

Price checked Dec 3, 2026 on whc.ca. The Pro plan is the one with SSH and cron jobs.

Why WHC works well for us

It’s Canadian, and so are the servers. WHC has been in business since 2003 and keeps all of its servers in Canada, with data centres in Montreal, Toronto and Vancouver. You pick the region when you sign up. For a Canadian business, that keeps site data in the country.

Shared hosting with real developer tools. From the Pro plan up, you get SSH access, and with it WP-CLI, plus cron jobs. That means you can manage WordPress from the command line and schedule your own jobs, which is what makes our automation possible.

Support in English and French. WHC answers by phone and live chat 24 hours a day, seven days a week, in both official languages. Its help centre is also good, and several steps below follow its guides.

Several sites on one account. Plans from Pro up allow more than one website. We run our other company sites on the same account as add-on domains, each with its own domain name.

What we use every day

  • SSH and WP-CLI. Most changes to this site, from publishing to clearing the cache, happen from the command line on our office Mac.
  • Cron jobs. Sixteen scheduled jobs refresh Amazon prices every hour, check product listings each morning, back up our data and write a daily health report.
  • LiteSpeed web server and LiteSpeed Cache. Pages are served from a saved copy, so they load fast even when a job is busy in the background.
  • PHP version selector. Our site runs on PHP 8.3, and switching versions takes a few clicks in cPanel.
  • Free SSL. The certificate installs and renews itself.
  • Daily backups. WHC keeps automatic off-server backups that you can restore from cPanel, and we add our own nightly copy on top (step 6).
Web Hosting Canada: Choose Canadian hosting

Step 1: Log in over SSH with a key

SSH is on by default on plans that include it, so there is nothing to request. A key is safer than a password and lets scripts log in on their own. On your computer, make a key:

Terminal
ssh-keygen -t ed25519 -f ~/.ssh/myhost_ed25519

In cPanel, open SSH Access, choose Manage SSH Keys, then Import Key. Give the key a name, paste the contents of ~/.ssh/myhost_ed25519.pub (the public half) into the Public Key box and click Import. Back on Manage SSH Keys, click Manage next to the key, then Authorize.

Then give the server a short name in ~/.ssh/config. WHC’s SSH help page says to connect to your domain name on port 27.

~/.ssh/config
Host myhost
  HostName yourdomain.ca
  Port 27
  User your-cpanel-username
  IdentityFile ~/.ssh/myhost_ed25519

Now ssh myhost logs you straight in, and scp file.php myhost:public_html/ uploads a file.

Step 2: Run WP-CLI, including long jobs

WP-CLI lets you do almost anything in WordPress from the command line. Some of our jobs take a long time, such as checking prices for every product we cover, so we keep our own copy of WP-CLI and a small script that runs it on the site’s PHP with no PHP time or memory limit. Download WP-CLI once:

SSH
mkdir -p ~/bin && curl -o ~/bin/wp-cli.phar https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

Then save this as ~/bin/wp-long.sh:

~/bin/wp-long.sh
#!/bin/bash
# Run WP-CLI with no time or memory limit, from the site folder.
cd ~/public_html || exit 1
exec /opt/cpanel/ea-php83/root/usr/bin/php -d memory_limit=-1 -d max_execution_time=0 -d display_errors=stderr ~/bin/wp-cli.phar --path="$HOME/public_html" "$@"
SSH
chmod +x ~/bin/wp-long.sh && ~/bin/wp-long.sh cli info

The script names PHP 8.3 by its full path, so it runs the same version every time, from cron too. If your site uses another version, change 83 to match (for example 84 for PHP 8.4). cli info shows the version WP-CLI is using. Then try a real command:

SSH
~/bin/wp-long.sh plugin list

Everything our cron jobs run goes through one script like this, so a change only ever needs one edit.

Step 3: Pick your PHP version

In cPanel, open Select PHP Version, choose the version you want and click Apply. WHC’s guide walks through it, and its plans support PHP 8.2 through 8.5. Check the site afterwards, then run ~/bin/wp-long.sh cli info again so WP-CLI uses the same version.

Step 4: Schedule jobs in your own time zone

You can add cron jobs in cPanel, or over SSH. We keep ours in a file so the schedule is saved with the rest of our work. A CRON_TZ line at the top makes the times follow your own clock rather than the server’s. Save these lines as ~/crontab.txt:

~/crontab.txt
CRON_TZ=America/Edmonton
# WordPress scheduled tasks, every 15 minutes
*/15 * * * * $HOME/bin/wp-long.sh cron event run --due-now >> $HOME/logs/wp-cron.log 2>&1
# Database export every day at 2:30 a.m. Alberta time
30 2 * * * $HOME/bin/wp-long.sh db export $HOME/db-latest.sql >> $HOME/logs/daily.log 2>&1

Then load it. This replaces any cron jobs you added in cPanel, so copy those into the file first:

SSH
mkdir -p ~/logs && crontab ~/crontab.txt && crontab -l

Running WordPress’s own scheduled tasks from cron makes them run on time, even when nobody is visiting. Once it works, you can add define( 'DISABLE_WP_CRON', true ); to wp-config.php so page visits no longer trigger them. WHC’s cron guide notes that jobs running more often than every 10 minutes may be limited on shared hosting, so 15 minutes is a good choice. Writing each job’s output to a log file means you can always see what ran and when.

Step 5: Clear the page cache from the command line

WHC servers run LiteSpeed, and the free LiteSpeed Cache plugin turns that into fast, cached pages. It comes on by default with WHC’s Managed WordPress plans, and on shared hosting you add it from the Plugins page like any other plugin. After you change your theme or a lot of content at once, clear the whole cache:

SSH
~/bin/wp-long.sh litespeed-purge all

Normal edits clear their own pages, so you only need this for bigger changes. To see a fresh copy of a page in your browser, add ?nc= and a new random number to the address each time.

Step 6: Keep a nightly copy on your own computer

WHC already backs up your account every day. We also like a copy at the office, so each night our Mac pulls the database and our own code down over SSH. Two commands do it:

Terminal (your computer)
ssh myhost "~/bin/wp-long.sh db export - | gzip" > ~/site-backups/db-$(date +%F).sql.gz
Terminal (your computer)
ssh myhost "tar -czf - -C ~/public_html wp-content/themes wp-content/mu-plugins .htaccess" > ~/site-backups/files-$(date +%F).tar.gz

Leave out wp-content/mu-plugins if your site doesn’t have that folder. A third line keeps the last 14 days and removes older copies:

Terminal (your computer)
find ~/site-backups -name "*.gz" -mtime +13 -delete

Make the ~/site-backups folder first. Put the three lines in a small shell script and run it each night, with a LaunchAgent on a Mac or cron on Linux. Uploads (your images) are large and rarely change, so we leave those to WHC’s backups.

Step 7: Check file permissions after an upload

The web server needs to be able to read your theme files. Files should be 644 and folders 755. After uploading theme files, this puts them right:

SSH
cd ~/public_html/wp-content/themes/your-theme && find . -type d -exec chmod 755 {} + && find . -type f -exec chmod 644 {} +

Getting started

If you want SSH and cron like we use, choose the Pro plan or higher. WHC will also move an existing site over for free, and every plan comes with a 30-day money-back guarantee.

Web Hosting Canada

WHC Pro web hosting: C$3.92/mo for the first year (regular price C$14.99/mo)

See WHC plans

Price checked Dec 3, 2026 on whc.ca. The Pro plan is the one with SSH and cron jobs.

Web Hosting Canada: Choose Canadian web hosting

FAQ

Do WHC shared hosting plans include SSH?

Yes, from the Pro plan up. SSH is on by default, so you can connect as soon as your account is set up. The entry-level Go plan doesn’t include it.

Is my website data kept in Canada?

Yes. WHC keeps all of its servers in Canada, in Montreal, Toronto and Vancouver, and you choose the region when you sign up.

Does the sale price apply when my plan renews?

Sale prices apply to the first billing term of a new order. After that, the plan renews at its regular price. The deal box on this page shows both when a sale is on.

Can WHC move my existing website?

Yes. Site transfers are free with WHC’s web hosting plans.

Can I host more than one website?

Yes, on the Pro plan and up. Each site gets its own domain name on the same account, which is how we run our other company sites.

Marcus Webb
Marcus WebbSenior Editor

Marcus has been hunting for the best tech and gear for over 40 years — as a coder, gamer, and lifelong outdoors enthusiast, he knows the gap between a good spec sheet and something that actually holds up.

Similar Posts