Endangered-Language-Alliance / ela-website

Endangered Language Alliance website
1 stars 0 forks source link

Pre-launch and launch tasks #22

Closed abettermap closed 3 years ago

abettermap commented 3 years ago

misc.

content

seo

google

dns

abettermap commented 3 years ago

For Future Somone Who Needs Notes...

Re: old revisions, i did this:

  1. installed WP-Optimize plugin.
  2. ran "optimize database tables", "remove expired transient options", "clean all post revisions"

in wp-config.php:

define( 'WP_POST_REVISIONS', 3 );
define( 'AUTOSAVE_INTERVAL', 300 );
abettermap commented 3 years ago

@rperlin-ela i probably went a little too far on the sitemap thing but i followed this article for guidance and wrote a script to set the priority and changefreq as such (you'll have to deal with the camelCase, sorry haha):

A key phrase in the article should be noted:

It’s important to point out that these settings are usually more important for larger websites. For smaller websites (let’s say, under 100 pages for the sake of the example), Google does a good job of figuring out relative content priorities and changes on its own.

So I don't want to go nuts on fine-tuning this if it's not going to affect much in the first place, but definitely give the article a read and let me know if I missed any obvious scenarios!

Here's a csv converted from the XML for reference:

ela-sitemap.csv

abettermap commented 3 years ago

consider less frequent ISR in Next builds. see deploy details for example. e.g. do blog posts really need to be revalidated every 30 seconds?

I went with 5 minutes for everything. I believe it results in this:

  1. if a user visits Home, for example, the page will hit your WP stuff (content, home settings, etc.) and render the page based on that.
  2. if return to Home within 5 minutes, the page won't have to hit WP again
  3. i'm not sure if you'd have to wait 5 minutes after editing in WP to see changes. i think if you opened up a new Incognito, it should start from #1 above?
and things, inc. fb/twitter/graph stuff

(aka Share stuff). this is less important than sharing for the NYC map since there are no Share btns on the website, but in a nutshell i went with these as defaults:

But if a custom excerpt is available for that page it will use that, and if it's a parent page with a child that has a featured image (e.g. /about has that) it will use the url of that image.

I don't want to go overboard on that stuff either, it's not really as important as SEO stuff. also note you won't be able to test the Share logo until we switch domains.

hmmm i wonder if using a featured image URL will actually work? it's coming from content.endangeredlanguagealliance.org but the site url is elalliance.org. Guess we'll find out later.