<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=WordPress</id>
	<title>WordPress - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=WordPress"/>
	<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=WordPress&amp;action=history"/>
	<updated>2026-04-25T07:59:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://dikapediav2.com/wiki/index.php?title=WordPress&amp;diff=212&amp;oldid=prev</id>
		<title>Ardika Sulistija: Created page with &quot;  ==== Download and Configure WordPress (and mysql/mariadb) ==== ----   Download WordPress, extract, and change ownership of Files so Apache can access them:  wget -c http://wordpress.org/latest.tar.gz  tar -xzvf latest.tar.gz  chown -R apache:apache /var/www/html/wordpress   Assuming you have mysql/mariadb installed, login to mysql to configure it:  mysql -u root -p   Configure DB:  CREATE DATABASE wordpress_db;  GRANT ALL PRIVILEGES ON wordpress_db.* TO &#039;wordpress_user...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=WordPress&amp;diff=212&amp;oldid=prev"/>
		<updated>2024-09-11T14:38:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;  ==== Download and Configure WordPress (and mysql/mariadb) ==== ----   Download WordPress, extract, and change ownership of Files so Apache can access them:  wget -c http://wordpress.org/latest.tar.gz  tar -xzvf latest.tar.gz  chown -R apache:apache /var/www/html/wordpress   Assuming you have mysql/mariadb installed, login to mysql to configure it:  mysql -u root -p   Configure DB:  CREATE DATABASE wordpress_db;  GRANT ALL PRIVILEGES ON wordpress_db.* TO &amp;#039;wordpress_user...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==== Download and Configure WordPress (and mysql/mariadb) ====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Download WordPress, extract, and change ownership of Files so Apache can access them:&lt;br /&gt;
 wget -c http://wordpress.org/latest.tar.gz&lt;br /&gt;
 tar -xzvf latest.tar.gz&lt;br /&gt;
 chown -R apache:apache /var/www/html/wordpress&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming you have mysql/mariadb installed, login to mysql to configure it:&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Configure DB:&lt;br /&gt;
 CREATE DATABASE wordpress_db;&lt;br /&gt;
 GRANT ALL PRIVILEGES ON wordpress_db.* TO &amp;#039;wordpress_user&amp;#039;@&amp;#039;localhost&amp;#039; IDENTIFIED BY &amp;#039;PASSWORD&amp;#039;;&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 Exit;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; These configurations must be the ones you will input when you go to [localip]/wp-admin/configsetup OR in the ‘wp-config.php’ file:&lt;br /&gt;
 cp wp-config-sample.php wp-config.php&lt;br /&gt;
 vim wp-config.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And update the database settings, replacing database_name_here, username_here and password_here with what you entered in step 5 if necessary. Be sure to restart apache and mysql.&lt;br /&gt;
 systemctl restart httpd/mariadb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Install WordPress on Amazon Linux 2====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Install and configure WordPress on Amazon Linux 2: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hosting-wordpress.html&lt;br /&gt;
- it will show you how to configure Wordpress to use your Mariadb database&lt;br /&gt;
&lt;br /&gt;
(Be sure you have already configured a [[LAMP Stack|&amp;lt;b&amp;gt;LAMP stack&amp;lt;/b&amp;gt;]]! &amp;lt;/br&amp;gt;&lt;br /&gt;
Tutorial: Install a LAMP Web Server on Amazon Linux 2&lt;br /&gt;
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2.html )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====How to Migrate WordPress Site to a New Host====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Essentially, on the new server, you need to:&lt;br /&gt;
* Move the old website files under /var/www/html or whatever (could be public_html), into the instance&lt;br /&gt;
* Backup and restore the database (see [[MySQL_/_MariaDB#How_to_create_a_back_up_.28dump_file.29_and_restore_DB | &amp;lt;b&amp;gt;MySQL / MariaDB&amp;lt;/b&amp;gt;]])&lt;br /&gt;
* And then simply install the WordPress theme on your new host, and install and activate the required plugins for that theme: [[#How to download/install WordPress Themes|&amp;lt;b&amp;gt;Click here&amp;lt;/b&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Migrate using phpMyAdmin to export/import the sql file! EASY! TRIED AND TRUE&amp;lt;/b&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
https://www.wpexplorer.com/migrating-wordpress-website/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Migrate WordPress site by exporting XML and importing using WordPress Import tool (LIGHTSAIL)&amp;lt;/b&amp;gt;:&amp;lt;/br&amp;gt;&lt;br /&gt;
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/migrate-your-wordpress-blog-to-amazon-lightsail&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Updraftplus Plugin for wordpress is also another good way!&amp;lt;/b&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
https://updraftplus.com/faqs/restore-site-updraftplus/&amp;lt;/br&amp;gt;&lt;br /&gt;
https://updraftplus.com/faqs/how-do-i-migrate-to-a-new-site-location/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other ways to Migrate a WordPress Website and restore .sql file:&lt;br /&gt;
&amp;lt;/br&amp;gt;https://wpengine.com/resources/migrate-wordpress-site/&lt;br /&gt;
&amp;lt;/br&amp;gt;https://makeawebsitehub.com/migrating-wordpress-website-to-another-host/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====How to download/install WordPress Themes====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====&amp;lt;u&amp;gt;Theme is missing the style.css stylesheet error&amp;lt;/u&amp;gt;=====&lt;br /&gt;
&lt;br /&gt;
https://help.market.envato.com/hc/en-us/articles/202821510-Theme-is-missing-the-style-css-stylesheet-error&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
For a more complete guide:&amp;lt;/br&amp;gt;&lt;br /&gt;
[+] [https://www.rosehosting.com/blog/how-to-install-wordpress-with-lamp-stack-on-ubuntu-16-04/ How To Install WordPress with LAMP Stack on Ubuntu 16.04 (RoseHosting.com)]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====SSL content fixers====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
https://wordpress.org/plugins/really-simple-ssl/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://wordpress.org/plugins/ssl-insecure-content-fixer/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====WordPress Caching and Optimization====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Good if you have issues with TTFB (Time to first byte) taking too long:&lt;br /&gt;
&lt;br /&gt;
WP-Optimize – Cache, Clean, Compress.&amp;lt;/br&amp;gt;&lt;br /&gt;
https://wordpress.org/plugins/wp-optimize/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====How to Change WordPress Domain Name: A Step-by-Step Guide====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
https://www.hostinger.com/tutorials/change-wordpress-domain-name&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[MySQL_/_MariaDB#WordPress site gets &amp;quot;Error establishing database connection&amp;quot;|WordPress site gets &amp;quot;Error establishing database connection&amp;quot;]]====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
====[[MySQL_/_MariaDB#WordPress database error Table … is marked as crashed and should be repaired|WordPress database error Table … is marked as crashed and should be repaired]]====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====How to add a button in the footer of Ray&amp;#039;s site====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Previously it had the following block in a WIDGET (Footer - Main)&lt;br /&gt;
&lt;br /&gt;
 Physio is a premium WordPress theme designed &amp;amp; build for physical therapy and rehabilitation clinics. The theme is responsive, has a drag and drop page builder and is fully customizable. Only available on ThemeForest.&lt;br /&gt;
 &lt;br /&gt;
 [button href=&amp;quot;http://themeforest.net/item/physio-physical-therapy-rehabilitation-wp-theme/14747135?ref=QreativeThemes&amp;quot; target=&amp;quot;_blank&amp;quot;]More Theme Info[/button]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====How to add a expire headers in wordpress====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
https://www.wpbeginner.com/wp-tutorials/how-to-add-expires-headers-in-wordpress/&lt;br /&gt;
&lt;br /&gt;
For WordPress, you can do it via a plugin (WP rocket for example). &lt;br /&gt;
&lt;br /&gt;
Alternatively, you can do it via the .htaccess file in Apache. If you are using Nginx, you can do it via some file (not sure), but it&amp;#039;s possible. See the link above. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Update failed: the update cannot be installed because some files could not be copied. this is usually due to inconsistent file permissions====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
If you ever get the error &amp;lt;b&amp;gt;&amp;quot;update failed: the update cannot be installed because some files could not be copied. this is usually due to inconsistent file permissions&amp;lt;/b&amp;gt;&amp;quot;, then try this (this worked for me):&lt;br /&gt;
 # chown -R apache:apache /var/www/html/*&lt;br /&gt;
 # sudo systemctl restart httpd&lt;br /&gt;
&lt;br /&gt;
I think sometimes permissions get&amp;#039;s messed up somehow when doing stuff in WordPress&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====How to Update WordPress (via FTP)====&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Ardika Sulistija</name></author>
	</entry>
</feed>