File tree 2 files changed +49
-0
lines changed
2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 5
5
[ open4us ] : https://open4us.org/
6
6
7
7
8
+ ## Migration from WordPress to static files
9
+
10
+ See [ ` migration/README.md ` ] ( migration/README.md )
11
+
12
+
8
13
## License
9
14
10
15
[ ![ CC BY 4.0 license button] [ cc-by-png ]] [ cc-by ]
Original file line number Diff line number Diff line change
1
+ # Migration
2
+
3
+ This site was migrated from WordPress hosted on Pantheon to static files hosted
4
+ on GitHub Pages.
5
+
6
+ Pantheon was dropped as a vendor due to their enabling of hate: [ WebOps
7
+ platform Pantheon defends hosting “hate groups” as developers quit | Ars
8
+ Technica] [ ars ] .
9
+
10
+ [ ars ] : https://arstechnica.com/tech-policy/2023/04/webops-platform-pantheon-defends-hosting-hate-groups-as-developers-quit/
11
+
12
+
13
+ ## WordPress repository
14
+
15
+ The old WordPress repository was archived:
16
+ [ cc-archive/open4us-wordpress] [ ccarchive ] .
17
+
18
+ [ ccarchive ] : https://github.com/cc-archive/open4us-wordpress
19
+
20
+
21
+ ## Migration process
22
+
23
+ Process to migrate from WordPress to static files:
24
+
25
+ 1 . Ran site locally using [ lando] [ lando ]
26
+ 2 . Installed [ Simply Static] [ simplystatic ] WordPress plugin
27
+ - Add additional ** URLs to Exclude** :
28
+ ```
29
+ https://open4us.lndo.site/xmlrpc.php
30
+ https://open4us.lndo.site/wp-includes/wlwmanifest.xml
31
+ https://open4us.lndo.site/comments/feed/
32
+ ```
33
+ 3. Downloaded generated Simply Static zip file and moved contents into `docs/`
34
+ 4. Corrected permissions:
35
+ ```shell
36
+ find docs -type f -exec chmod -x {} +
37
+ ```
38
+ 5. Added `docs/.nojekyll` (empty file)
39
+ 6. Ran `./migration/migration/cleanup_html.sh`
40
+ - Remove deprected links and meta from HTML files
41
+ - Clean-up whitespace in plaintext files
42
+
43
+ [land]: https://lando.dev/
44
+ [simplystatic]: https://wordpress.org/plugins/simply-static/
You can’t perform that action at this time.
0 commit comments