IT/Software/Web Applications/WordPress: Difference between revisions
Access restrictions were established for this page. If you see this message, you have no access to this page.
Walttheboss (talk | contribs) (Added Detail) |
Walttheboss (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
It is not the best but it is the industry standard. There is always someone who has had your issue and can help fix it. | It is not the best but it is the industry standard. There is always someone who has had your issue and can help fix it. | ||
=== Install === | ===Install=== | ||
There are a hundred ways to do this. | There are a hundred ways to do this. | ||
Here is what I recommend(incomplete/draft) | Here is what I recommend(incomplete/draft) | ||
# Put an entry in the vhosts file. | #Put an entry in the vhosts file. | ||
## Only the port 80 one for now. | ##Only the port 80 one for now. | ||
## You can do the 443 one also | ##You can do the 443 one also | ||
# Setup dns to hit your site. | #Setup dns to hit your site. | ||
## Test with a ping or traceroute | ##Test with a ping or traceroute | ||
# Use LetsEncrypt via certbot to get a cert and redirect all traffic to https | #Use LetsEncrypt via certbot to get a cert and redirect all traffic to https | ||
# Use phpMyAdmin to make a user with associated database. | #Use phpMyAdmin to make a user with associated database. | ||
# Download the software and unzip in the folder where you will run it. | #Download the software and unzip in the folder where you will run it. | ||
# Hit the site and run the installation. | #Hit the site and run the installation. | ||
# Test | #Test | ||
=== Upgrade === | ===Upgrade=== | ||
It auto upgrades as long as you set it up. | It auto upgrades as long as you set it up. | ||
Line 27: | Line 27: | ||
#Turn off all comments | #Turn off all comments | ||
##Disable anyone from adding a comment. | ##Disable anyone from adding a comment. | ||
##We do not use the website as a blog but only as a basic information portal. | ##We do not use the website as a blog but only as a basic information portal. | ||
#Add plugins | #Add plugins | ||
Line 39: | Line 39: | ||
##This gives us DiVi builder and a few other security goodies | ##This gives us DiVi builder and a few other security goodies | ||
=== Other Config === | ===Other Config=== | ||
=== Problems === | === Moving a Site === | ||
===Problems=== | |||
# | #Usually a permissions issue. | ||
## Set all files to 644 | ##Set all files to 644 | ||
## Set all folders to | ##Set all folders to 755 | ||
##Here is how. [[IT/Software/Command Line|find chmod and exec]] | |||
#Or a nasty plugin | |||
#Or a messed up entry in wp-config | |||
#Or a messed up entry in vhost or ssl-vhost | |||
=== Troubleshooting === | |||
==== Stuck in Maintenance Mode ==== | |||
This can happen for a variety of reasons. One easy fix is to remove the .maintenance file | |||
sudo rm /var/www/html/wordpressSite/.maintenance | |||
Then refresh the page. | |||
==== WSOD (White Screen of Death) ==== | |||
This is just a passive unpassable screen that seems to appear at random. | |||
(possible evidence of quantum entanglement or spiritual warfare) | |||
No I have never found a solution but eventually you get there. |
Latest revision as of 07:49, 8 November 2024
It is not the best but it is the industry standard. There is always someone who has had your issue and can help fix it.
Install
There are a hundred ways to do this.
Here is what I recommend(incomplete/draft)
- Put an entry in the vhosts file.
- Only the port 80 one for now.
- You can do the 443 one also
- Setup dns to hit your site.
- Test with a ping or traceroute
- Use LetsEncrypt via certbot to get a cert and redirect all traffic to https
- Use phpMyAdmin to make a user with associated database.
- Download the software and unzip in the folder where you will run it.
- Hit the site and run the installation.
- Test
Upgrade
It auto upgrades as long as you set it up.
We do encourage daily, weekly, monthly backups of the database, web files and files.
You most likely will not need it.
Basic Config after Install
- Turn off all comments
- Disable anyone from adding a comment.
- We do not use the website as a blog but only as a basic information portal.
- Add plugins
- Ninja Forms
- Ultimate FAQ
- WP Mail SMTP
- SSL 465
- use the global email server sl-507-7.slc.westdc.net
- Test email when done.
- Ask Isaac to add the goodies
- This gives us DiVi builder and a few other security goodies
Other Config
Moving a Site
Problems
- Usually a permissions issue.
- Set all files to 644
- Set all folders to 755
- Here is how. find chmod and exec
- Or a nasty plugin
- Or a messed up entry in wp-config
- Or a messed up entry in vhost or ssl-vhost
Troubleshooting
Stuck in Maintenance Mode
This can happen for a variety of reasons. One easy fix is to remove the .maintenance file
sudo rm /var/www/html/wordpressSite/.maintenance
Then refresh the page.
WSOD (White Screen of Death)
This is just a passive unpassable screen that seems to appear at random.
(possible evidence of quantum entanglement or spiritual warfare)
No I have never found a solution but eventually you get there.