https://wiki.swkls.org/index.php?title=Wordpress&feed=atom&action=history
Wordpress - Revision history
2024-03-29T10:04:32Z
Revision history for this page on the wiki
MediaWiki 1.39.3
https://wiki.swkls.org/index.php?title=Wordpress&diff=284&oldid=prev
Unknown user at 16:49, 3 April 2020
2020-04-03T16:49:39Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 16:49, 3 April 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l5">Line 5:</td>
<td colspan="2" class="diff-lineno">Line 5:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>ls -la /var/www/html/</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>ls -la /var/www/html/</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><blockquote <del style="font-weight: bold; text-decoration: none;">style</del>="<del style="font-weight: bold; text-decoration: none;">color:#428bca;background:#ebf3f9;border-left:5px solid #428bca;padding:12px;margin:0px;</del>>(should be ec2-user:apache)</blockquote></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><blockquote <ins style="font-weight: bold; text-decoration: none;">class</ins>="<ins style="font-weight: bold; text-decoration: none;">inform"</ins>>(should be ec2-user:apache)</blockquote></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If not, change it:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If not, change it:</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l16">Line 16:</td>
<td colspan="2" class="diff-lineno">Line 16:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===MySQL Replace HTTP with HTTPS===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===MySQL Replace HTTP with HTTPS===</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><blockquote <del style="font-weight: bold; text-decoration: none;">style</del>="<del style="font-weight: bold; text-decoration: none;">color:#428bca;background:#ebf3f9;border-left:5px solid #428bca;padding:12px;margin:0px;</del>>Reference: https://www.bram.us/2014/12/06/migrating-your-wordpress-website-from-http-to-https/</blockquote></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><blockquote <ins style="font-weight: bold; text-decoration: none;">class</ins>="<ins style="font-weight: bold; text-decoration: none;">inform"</ins>>Reference: https://www.bram.us/2014/12/06/migrating-your-wordpress-website-from-http-to-https/</blockquote></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To modify all posts to reflect https for a given domain:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To modify all posts to reflect https for a given domain:</div></td></tr>
</table>
Unknown user
https://wiki.swkls.org/index.php?title=Wordpress&diff=255&oldid=prev
Unknown user: Created page with "==Server Side== ===Common Error Fixes=== Ensure that the folder owner & group for the website is correct <syntaxhighlight lang="Bash" line start="1"> ls -la /var/www/html/ </s..."
2020-03-30T21:13:17Z
<p>Created page with "==Server Side== ===Common Error Fixes=== Ensure that the folder owner & group for the website is correct <syntaxhighlight lang="Bash" line start="1"> ls -la /var/www/html/ </s..."</p>
<p><b>New page</b></p><div>==Server Side==<br />
===Common Error Fixes===<br />
Ensure that the folder owner & group for the website is correct<br />
<syntaxhighlight lang="Bash" line start="1"><br />
ls -la /var/www/html/<br />
</syntaxhighlight><br />
<blockquote style="color:#428bca;background:#ebf3f9;border-left:5px solid #428bca;padding:12px;margin:0px;>(should be ec2-user:apache)</blockquote><br />
<br />
If not, change it:<br />
<syntaxhighlight lang="Bash" line start="1"><br />
chown -R /var/www/html/<site_name><br />
</syntaxhighlight><br />
Edit wp-config file to include:<br />
<syntaxhighlight lang="Bash" line start="1"><br />
define('FS_METHOD', 'direct');<br />
</syntaxhighlight><br />
===MySQL Replace HTTP with HTTPS===<br />
<blockquote style="color:#428bca;background:#ebf3f9;border-left:5px solid #428bca;padding:12px;margin:0px;>Reference: https://www.bram.us/2014/12/06/migrating-your-wordpress-website-from-http-to-https/</blockquote><br />
<br />
To modify all posts to reflect https for a given domain:<br />
<syntaxhighlight lang="Bash" line start="1"><br />
mysql -u <user> -p<br />
show databases;<br />
use <database_name>;<br />
UPDATE wp_posts SET post_content = REPLACE(post_content, 'http://kinsleylibrary.info', 'https://kinsleylibrary.info');<br />
UPDATE wp_options SET option_value = REPLACE(option_value, 'http://', 'https://');<br />
<br />
<br />
Other commands for reference:<br />
show tables;<br />
show columns from <table_name>;<br />
</syntaxhighlight><br />
<br />
[[Category:Meta]]</div>
Unknown user