WordPress is a free and open-source content management system (CMS) based on PHP and MySQL for creating websites and blogs. Features include a plugin architecture, a template system and strong management, customization and search systems; through its dynamic presentation of content, webmasters have the flexibility to create websites easily.

Share tech news, updates, or what's on your mind.

Sign up to Post

Next steps with AWS. Ubunto, MariaDB, MySql and WordPress

I have installed the latest version of Ubuntu, MariaDB, with the following:

# Setup latest stable LAMP related PPAs
LC_ALL=C.UTF-8 add-apt-repository ppa:mamarley/updates </dev/null
LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/apache2 </dev/null
LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php </dev/null
LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/nginx-mainline </dev/null
LC_ALL=C.UTF-8 add-apt-repository ppa:isc/bind-dev </dev/null

Open in new window

# Setup latest stable MariaDB PPA
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --skip-maxscale

Open in new window

# Verify MariaDB-10.4.X installable
apt-cache show mariadb-server-10.4

Open in new window

# Install MariaDB-10.4.X latest + MySQL compatibility tools/libraries/headers
apt-get install mariadb-server-10.4 mariadb-client-10.4 libmariadb-dev-compat

Open in new window

Now, when I typed mysql, I got MariaDB

root@ip- mysql

MariaDB [(none)]> exit

So, in order that I do not mesa up this clean installation, I need to
- create the database
- assign user permissions
- install WordPress

Please provide me those steps, and I will be ready to start digging into WordPress.

I made a clone of my currently running Wordpress Server (in AWS) and upgraded PHP by using this command:

sudo yum install -y php72

Open in new window

This worked, but munged up MySQL in the process.

When I hit the Wordpress site the error I get is:

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

I made the PHP.info page (e.g. /phpinfo.php) and on the CLONE there is no MySQL listed, but on the original server (the one which I have NOT upgraded PHP on) there are a ton of MySQL.

I will admit that this look pretty old (mysqlnd 5.0.12-dev - 20150407).

That said, how can I update MySQL so that it matches the version of PHP that I upgraded to? Is this an easy fix or should I go about this a different way.

Thanks for your help.
I am using Wordpress 5.2 and I am wanting to make my content narrow like this example:


Can anyone tell me how to do this?  Meaning not take up the whole screen  on a desktop.

Updating Wordpress I also had to update the php version from 5.2.9-1 to 5.6.40.

I had problems accessing the MySQL DB with the error:
"Deprecated: mysql_query (): The mysql extension is deprecated and will be removed ..."
but I have solved it.

But I have problems passing variables from one php page to another page.
In particular by doing the:

<FORM name = "XXX" method = "post" action = "first_page.php" onSubmit = "yyy">
<INPUT type = "text" name = "a0" value = "" maxlength = "150">

When the second_page.php is loaded, the code starts like this:

<? Php

if ($a0! = '')

the variable $a0 is always empty!

But the code with the php version 5.2.9-1 works great.
Can someone help me?

Sorry for my english.
Should I use AWS.EC2.Ubuntu.WordPress w/  Dynamodb over MariaDB?

I am having trouble installing MariaDB at the moment and also just learned MariaDB may cost me $$$ on the free tier, since MariaDB costs hours. I only have 750/month free. And Maria may cut that 750 in half. True?

So, I am considering


I see a WP plug-in for Dynamodb, so that should be quite simple.

Is this a Good idea?

a Bad idea?

Will I be locked into Amazon with this decision? Or, does WordPress enable me to port data from Dynamodb to MySql, at a later time?

I am trying to use onclick="document.location in functions.php but the url is missing the slashes on the frontend. It's probably something simple but I can't get it to work.

echo '<div class="box center" style="background-image: url(' .$bgImage['url']. ');background-position: 50% 0%; background-repeat:no-repeat;" onclick="document.location="'.$url.'""><img src="' . $profilePic['url'] .'" width="104" class="photo">';

Open in new window

Originally I thought this would be a Wordpress question but now I want to approach this from a different perspective.

I am running a LAMP Stack in AWS using Amazon Linux. I have a company website that is a Wordpress site.

I have six domains that I want to (1) force from HTTP to HTTPS and (2) forward to "https://CompanysSite.com".

The other domains are variants, so, for example I want "http://CompanySite-inc.com" to forward to "https://CompanySite.com". And it's totally okay to have the domain name be changed to "https://CompanysSite.com" from whatever domain it came in on.

Is there a way to do this globally at the Apache level, perhaps using Mod-ReWrite? I just don't know enough about Apache to add that to the script in order to have all traffic sent to "https://CompanySite.com".

Thanks for your help!
Installing WordPress and configuring Maria on AWS.Ubuntu

On AWS, I have an instance running:
VERSION="18.04.2 LTS (Bionic Beaver)"

and have successfully run:

with the following:

and finished with Maria:
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --skip-maxscale

Now, I need to install WordPress and configure access to the database.

How do I do this?

Dear Experts,

I have inherited a virtual server running Devian Linux 7 and with Webmin v. 1.630.  It is used as an on-prem Wordpress server.
Today, the website which this server hosts broke, and even though I can log into PHP Myadmin page and see all of the database, I am not able to log into /wp-admin page.
I think Wordpress environment is broken.  We can spin up another VM and set it up exactly the same and hope to transfer the database from the exports I made.
My issue is, I have never done this myself, what is the correct way to set up a local Wordpress server and migrate the database from another site?
Please advise.
I have a Company website that I want to have similar URL's resolve to. The Company website is a Wordpress site and the typical method (e.g. a CNAME in DNS) isn't working.

How can I get my Company Wordpress Site (e.g. https://Company.com) allow other sites to resolve to it (e.g. https://Company-Varient1.com, https://Company-Varient2.com)?

Is there a plugin for this or can I use the HTAccess file? I don't know very much about Wordpress, so I'm limited to what I can read about online.

Thanks for your help.
Need to install LAMP on AWS.EC2.Ubuntu.t2.micro

I can now successfully SSH into my Ubuntu server and find my folder,


is totally empty.

I consider this a good thing.


I need to install LAMP and then WordPress. (I want MySQL since I have no experience with Maria.)

Please explain the sequence of installations and the commands I need to issue.  Also, if I need to download a file, please provide me the URL.

I already have PHPMyAdmin on my MacBook, but let's worry later about reconfiguring my Mac. Instead, please tell me how to verify each element was installed properly.

Then, once we are all convinced my little AWS Ubuntu host is hosting WordPress, the fun begins and the question on EE will start flying.

Which AWS FREE Tier is most advisable (for WordPress)?

I will not choose either of the Windows Server options due to exposure to viruses.

There are 4 LINUX options:

Amazon Linux
Red Hat
SUSE Linux

(Is Ubuntu an instance of LINUX?)

But I m a .NET developer and may be interested in the following option:
NET Core 2.1 with Amazon Linux 2 - Version 1.0 - ami-0bed74d89326c46bc
.NET Core 2.1 and the PowerShell 6.0 pre-installed to run your .NET Core applications on Amazon Linux 2 with Long Term Support (LTS).

Which platform is safest against hacking and viruses?

Our company's website is very outdated...  it was designed in 2007 when the importance of a responsive design was not as prevalent.  However, I did load it with SEO and surprisingly it still generates leads for us.  Because our business is not IT related, I do not want to take the time to rebuild the site myself with a custom responsive design.  My thought was to move to WordPress as long as I have complete control over the SEO.  From my research, my thought was to use WPSEO WP theme with Yoast.  My question is does anyone have experience with this combination and does it give you the full control (titling links, etc.) that I want.
We have inherited a wordpress site that does not have ssl, so login credentials are sent plain text (the site doesnt collect any other personal data). Are there any recommendations on who to use and any other dos and donts regarding selecting a certificate and approx costs. Are the costs 'one off' or annual?
I have a wordpress site hosted on ngnix.  

We have a need to store  4 jpg images in the site so our sharepoint online page can pull these images into an email.  Ultimately we wanted  a storage place that outlook could get this and build this prescripted email.

The issue though is we some concerned that if someone got the url they could access this.

Is there a way to prevent this folder from being accessed by the outside world, crawled etc...or prevent if someone in theory could get this url?
I need a sanity check as I'm not an expert at Wordpress. I am running a Wordpress site using a traditional LAMP stack in Amazon Web Services.

When I attempt to hit the HTTPS version of the site I get the error "Error Establishing Database Connection".

When I hit the site using HTTP it resolves fine.

What is going on here? How can I fix this so that HTTPS doesn't show this error?


I have some code that was for updating a Wordpress uses profile page. It worked fine on my old server, but now I have a new site with php 7.2 and users cannot change their email address. This code worked for many years on php 5 and old server.

elseif(email_exists(esc_attr( $_POST['email'] )) != $current_user->id )
            $error[] = __('This email is already used by another user.  try a different one.', 'profile');

whenever user try to change their email, they get the error

How do I fix this?
G'day guys,

Need some help understanding why Firefox is showing up a clients website differently then Chrome/IE/Edge. Plus how I can fix it.
Website is - https://develop.adventure4x4.com.au
Section is the yellow jimny (small 4x4) displaying over top the wording.

Just in case people are going to use the standard replies this is what I've done already:
- Used incognito (or private browsing in the Firefox)
- Cleared cache
- Tried different device
- Tried multiple of other web browsers
- Search google (but hey without knowing why it is happening I don't know what to search for)

There seems to be some sort of mysterious redirection going on when i try to access the site at

A static file, such as http://fostamells.technojeeves.com/license.txt comes out fine but the attempt to access the homepage seems to land on a page of the company that hosts technojeeves.com. I really can't see why. Is it Wordpress doing this or what (after all it does say X-Redirect-By: WordPress)? I've attached a wget debug log of the attempt to get the homepage
I need to transition to OHV for WordPress

I expect to have some controversial topics on my podcast and hope to use OHV, a provisioning company, instead of a hosting company. But I am not ready to invest $70/month to do this.


Right now, I am pulling things together using MAMP, but have no plans to purchase the Pro version when it expires. Instead, I hope to host it at a less expensive place when I launch it and get a a solid backup with something like BlogVault, Duplicator or BackupBuddy. I want to move to OHV when I feel the investment pays off.

And, if I get cut off by a hosting provider due to my content, the investment would be worth it immediately.

So, please suggest an inexpensive provider I can start with which has good reliability. I expect to pull thing together on MAMP.

When I buy a plug-in to test on MAMP, is it easy to use it at a hosting provider? I assume there is no licensing issue that would me to purchase a second copy, right?

Need help choosing a WP Podcast theme for PowerPress

I am unsure what particular details should govern my decision.


I think any special requirements will be covered by PowerPress. So, as far as the theme, I just need a simple way to show a snippet of text and potentially a unique photo, for each episode.

I need a header image where I can have a 60 second audio where I SELL the podcast.

As far as audio players, and outreach to listeners, PowerPress covers that.

So, can you suggest a Theme that works well with PowerPress?

Do I choose a Theme for PowerPress? Or WordPress?

This is the first WP site I will create myself and have install PowerPress, since I intend to make this a podcast.

So, is the concept of a Theme totally independent of the fact I'll be using PowerPress? Or, are there Themes which are best suited for PowerPress?

MAMP Expires in one week?

I got a message that the full-working demo will expire...

What does that mean?

I really do not want to pay $69 for an installation I made as a simple test-bed for WordPress and PowerPress. I plan to host the podcast in a few weeks.

What will I not be able to do once this demo has expired?

Can I simply register?

WordPress.  Is there a way to "Lazy Load" Plugins in WordPress without using another plugin?  I have one plugin that takes up a lot of resources and am interested in defering it.
This regards WordPress plugin Contact Form 7.

I have this code in a form:

<p style="padding-top:1em">Estimate Type  <span class="asterik">*</span><br />
[select* EstimateType include_blank "Drainage Installation|rain1g4@rkassoc.org" "Drainage Repairs|rain1g4@rkassoc.org" "Installation - Residential Sprinkler System|rain1g1@rkassoc.org" "Installation - Commercial Sprinkler System|rain1g2@rkassoc.org" "Service - Residential Sprinkler System|customerservice@rain1.com" "Service - Commercial Sprinkler System|customerservice@rain1.com"  "Sump Pumps & Backups|dave@rain1.com"]</p>

Open in new window

The question is, can I include more than one email address for a specific selection by using multiple "|" after the list item?

In this example, some of these are group emails on a server & some are individual emails.




WordPress is a free and open-source content management system (CMS) based on PHP and MySQL for creating websites and blogs. Features include a plugin architecture, a template system and strong management, customization and search systems; through its dynamic presentation of content, webmasters have the flexibility to create websites easily.