Month: December 2023

On-rev hosting

wingfinger.on-rev.com:2083 26/4/24: Deleted all sites in public_html. But haven’t emptied trash yet. Also associated domains on this server

Stopping spam registrations

https://wordpress.stackexchange.com/a/170233 Added this to .htaccess # force pdfs to be saved to disc ForceType application/octet-stream Header set Content-Disposition attachment RewriteEngine On #RewriteCond %{HTTP_HOST} ^(.*)rosevilleleeds\.org\.uk$ [NC] #RewriteRule ^(.*)$ https://www.chapeltowncohousing.org.uk/$1 [R=301,L] #RewriteCond %{HTTP_HOST} ^chapeltowncohousing\.org\.uk$ [NC] #RewriteRule ^(.*)$ https://www.chapeltowncohousing.org.uk/$1 [R=301,L] # Fix for move from old /2012/ folder to /live/ folder RewriteRule ^2012/(.*)$ https://www.chapeltowncohousing.org.uk/$1 [R=301,L] ### start of… Read more »

Switching to https//:

I’m assuming it’s worth getting VM working with https – otherwise all of the changes would have to be done on the live site and git would become useless… There’s three pages of vvv relevant vvv documentation at 8. TLS and HTTPS Billtest1 20/1/24: Switched this site by editing wp-config.php (live site) Also added this… Read more »

“Headers already sent” error on ChaCo servers

This is the error that’s clogging up the php-errors.log on both the local and live servers. [09-Dec-2023 17:00:55 Europe/London] PHP Warning: session_start(): Cannot start session when headers already sent in /home/chapelto/public_html/live/wp-content/themes/wfs2_child1/functions.php on line 62 [09-Dec-2023 17:00:55 Europe/London] Headers already sent in on line 0 There’s a good overview at How to fix “Headers already sent”… Read more »