Showing posts with label wordpress. Show all posts
Showing posts with label wordpress. Show all posts

Tuesday, April 21, 2020

Embed RSS Feed Into Webpage / Embed anything

https://www.michaelhartzell.com/marketing-insights-ezine/how-to-embed-rss-feed-into-website-for-diy-entrepreneurs


Boiled down to this:
http://feed.informer.com/ - trying first... cuz it's free..
NEGATIVE... turned out not to work, plus it was like ANCIENT html code lol

https://feed.mikle.com/ - legit, cheap, and easy - works great, looks like it can be made to be sexy... basic is $9 / year... yeah, we got a winner

And here's how to embed anything else, lol:


https://www.labnol.org/internet/how-to-embed-in-html-webpages/6365/

Sunday, April 12, 2020

Creating a more permanent webserver

Started w/ research...


What is the best EC2 instance to use with a WordPress website?

4 Answers
Jon Green
Jon Green, AWS consultant; Cambridge AWS User Group organiser

OMG - it can't be this hard...

Followed by Cloudways!  It set it all up, free, no hassle, and works with AWS.  So, that's awesome - they do all the work for me!

...and then I found out I can't edit my own .php files properly in SSH.  Fuck.


...yeah, fuck that.  going back to Cloudways.

Figured it out!  VARNISH feature is what was fucking it up.  Turned that off and it works now.  Interesting.

DNS is setup.  @, www, and blog are all set.  DNS moved to GO DADDY.  AWS a

Now i have

Thursday, February 20, 2020

AMI backup created, PHP + Apache Updating

Well, it would appear that updating PHP has broken PHP for Wordpress.

"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."

Sweet

https://help.dreamhost.com/hc/en-us/articles/360004096331-Your-PHP-installation-appears-to-be-missing-the-MySQL-extension-which-is-required-by-WordPress


https://help.dreamhost.com/hc/en-us/articles/214893957-How-do-I-enable-PHP-extensions-and-loaders-


https://help.dreamhost.com/hc/en-us/articles/214200748-My-phprc-file-isn-t-updating


Annoying... I added it to my php.ini file... but it's still not working and I don't see it in the the phpinfo file (http://howtocureinsomnia.com/phpinfo.php).

And even if it does work, I'm not totally clear that mysql will be the right version for all of this...

Easier yet, command "php -v" seems to be telling me all I need to know:

This happens on mysqli, mysql.so, and obviously mysqli.so


I tried "sudo yum install php-mysql --skip-broken" and it installed something that didnt help and I'm guessing caused damage, lol... if so, you can reinstall php 7.3 via this guide: https://bobcares.com/blog/amazon-linux-php-5-6/2/

Just pick up with google search "unable to load dynamic library 'mysql.so' "

Sunday, August 18, 2019

Kartra vs. Wordpress

I am going to switch 100% to Kartra, with only a wordpress blog nestled howtocureinsomnia.com/blog

To try to make Kartra work with all of wordpress' features, it seems like it's going to be a lot of work.  You would practically want to be a web developer or you risk creating unknown variables that could lead to issues.

Since Kartra doesn't have a global header / footer, limit the kartra pages.  The weekly content will be on wordpress.  It will not have all of kartra's features, but it'll link to Kartra pages when it comes to anything I'd want to sell or have kartra pages promoting.  It'll also use Kartra forms and Kartra videos, which will of course have Kartra features.

So someone opts in, gets an email about something new, clicks to the wordpress page (which Kartra email tags them for doing), watches the video (which Kartra tags them for doing), and then buys off the Kartra page, I have basically all the data I would ever want.  I just don't have special kartra features on the blog post itself, other than any kartra forms or videos it contains.

So the majority of content produced will be on the wordpress blog, but that will all nestle inside a Kartra framework.  The minority of the site will be Kartra pages, but those will contain all the powerful sales stuff.

SEE ALL PRIOR CUSTOMER Q'S ANSWERED:
https://www.kartra.com/blog/q-a-tuesdays/

What if I want my page on WordPress?

You'll need a WordPress Plugin called Blank Slate and duct tape. 

Tuesday, July 16, 2019

Choosing a theme

I want to go with a header video over the main title.

That way it starts smooth with all the focus on the video, and the rest of the website starts from there.  This puts the main video as the focus.

Would like to use this one:
http://demo.theme.co/ethos-3/

Alternative:
http://demo.theme.co/icon-10/

So, to do this, it would seem I need the "Pro" version, since that's where all the header and footer features are, plus it has a lot of other handy features like HISTORY :)

Pro upgrade was FREE.  Siick.

It's a whole new theme, uploading to server now, then switch theme, hopefully ethos-3 demo will input as intended, and hopefully I can swap out the background video with an actual vimeo video.  We shall see.

Monday, July 15, 2019

Worpress Reset

So, first thing I come to is updating PHP so I can be compatible with the newest wordpress.  I quickly come to the conclusion that this is something i must do in linux.

https://code.tutsplus.com/tutorials/upgrading-your-linux-server-to-php-7--cms-27583

I start reading and first thing up: "Go ahead and purge all the current PHP"

and I'm like... "ahhh... yeah... about that..."

And now I am creating a copy AMI so if something goes wrong I have a 7/15/19 backup image to run from.  Only took about 2-5 minutes.

This guide is better actually:
https://fizzbuzzer.com/upgrading-php7-amazon-linux-ec2-instance/

And now I realize my server probably hasn't been updated since 2015.  Which is probably a PRETTY BIG DEAL.... ooo boy

step 1
"
Login to your Linux instance and perform the regular system updates first
"

lol... fack


....

Some things to note about SUDO / Service / Linux

1. You're using linux, not unix.  lol
2. service commands like restart for things like httpd and mysqld require SUDO
EX:
$ service mysqld restart
cat: /var/run/mysqld/mysqld.pid: Permission denied
$ sudo service mysqld restart
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]

:)

New FTP User Created

user: press
pass: std23

Seems to work!!

Setting up SSH on AMI Linux

Amazon: FAILED
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/SSL-on-amazon-linux-2.html

GoDaddy / Linux: FAILED
https://www.godaddy.com/help/manually-install-an-ssl-certificate-on-my-apache-server-centos-5238

GoDaddy / AWS Server: FAILED - DO NOT USE THIS STRAT... Will cost more money and not the legit way to go...
https://www.godaddy.com/help/manually-install-an-ssl-certificate-on-my-aws-server-32075


Well, after going 2.5 hours over the budget it's pretty clear this is going to take more work than I have time for to meet "live" deadline.  Will implement first thing after going live.

Warning  - Security




Wednesday, October 12, 2016

Q4 2016 PTC Day 10

5:15p - 6:45p

515 - 530 -- packet review and 5 min meditation

aaand back to web editing.

There's gotta be some kind of troubleshoot guide for demo's not working.

Oh hey, it worked!

Watched the training on cornerstone today... pretty evident this is all I will ever need.

Honestly the most amazing web editor ever.  X was an amazingly rewarding investment.

Cornerstone Intro:
https://community.theme.co/kb/cornerstone-introduction/

Notable:
@ 34:00 he gets into the page-CSS editor and by highlighting text and pressing command + D (presumably, CTRL + D on a PC) he can select all occurrences of it and edit all at once (multiple cursors).  Super cool.

TEMPLATES -- there's predesigned pages AND ***BLOCKS***
and one blog is perfect for my next objective TIO: "MENU 2: COLUMNS"

So the time it took to watch all this just paid for itself!!!