IT/Software/Web Applications/WordPress: Difference between revisions

From msgwiki
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
(Added Detail)
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===


# Usuall a permissions issue.
#Usually a permissions issue.
## Set all files to 644
##Set all files to 644
## Set all folders to 775
##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)

  1. Put an entry in the vhosts file.
    1. Only the port 80 one for now.
    2. You can do the 443 one also
  2. Setup dns to hit your site.
    1. Test with a ping or traceroute
  3. Use LetsEncrypt via certbot to get a cert and redirect all traffic to https
  4. Use phpMyAdmin to make a user with associated database.
  5. Download the software and unzip in the folder where you will run it.
  6. Hit the site and run the installation.
  7. 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

  1. Turn off all comments
    1. Disable anyone from adding a comment.
    2. We do not use the website as a blog but only as a basic information portal.
  2. Add plugins
    1. Ninja Forms
    2. Ultimate FAQ
    3. WP Mail SMTP
      1. SSL 465
      2. use the global email server sl-507-7.slc.westdc.net
      3. Test email when done.
  3. Ask Isaac to add the goodies
    1. This gives us DiVi builder and a few other security goodies

Other Config

Moving a Site

Problems

  1. Usually a permissions issue.
    1. Set all files to 644
    2. Set all folders to 755
    3. Here is how. find chmod and exec
  2. Or a nasty plugin
  3. Or a messed up entry in wp-config
  4. 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.