{"id":757,"date":"2020-01-10T05:44:40","date_gmt":"2020-01-10T11:44:40","guid":{"rendered":"https:\/\/Aldersoft.CA\/prod\/wordpress\/?page_id=757"},"modified":"2021-04-10T03:30:06","modified_gmt":"2021-04-10T08:30:06","slug":"wordpress-faq","status":"publish","type":"page","link":"https:\/\/Aldersoft.CA\/prod\/wordpress\/resources\/tools-and-tips\/wordpress-faq\/","title":{"rendered":"WordPress FAQ"},"content":{"rendered":"<h2><span style=\"color: #ff0000;\"><strong> WordPress Frequently Asked Questions<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\"><strong><div class=\"hrf-faq-list\"><article class=\"hrf-entry\" id=\"hrf-entry-746\">\n                      <h3 class=\"hrf-title close-faq\" data-content-id=\"hrf-content-746\"><span><\/span>What is a Child Theme ?<\/h3>\n                     <div class=\"hrf-content\" id=\"hrf-content-746\"><p><span style=\"color: #000000;\"><strong>Child Themes are &#8220;extensions&#8221; of an already existing WordPress template. In object terms, Creating a child theme, allows you to edit or add functionality to your template without having to overwrite any of the parent theme files, risking making mistakes or losing your job when you make updates. Otherwise, if you make changes directly to the Theme, the next Theme update will wipe out all of your changes. <\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>I like to use the <a title=\"Child Theme Generator\" href=\"https:\/\/wordpress.org\/plugins\/child-theme-generator\/\" target=\"_blank\" rel=\"noopener noreferrer\">Child Theme Generator<\/a> plug-in to accomplish this. It allows you to create multiple children, although just one is generally enough. To create a child theme, follow these steps:<br \/>\n<\/strong> <\/span><\/p>\n<ol>\n<li><span style=\"color: #000000;\"><strong>Make a backup of your website !!!<\/strong><\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>Install the <a title=\"Child Theme Generator\" href=\"https:\/\/wordpress.org\/plugins\/child-theme-generator\/\" target=\"_blank\" rel=\"noopener noreferrer\">Child Theme Generator<\/a> plug-in and Activate it.<\/strong><\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>You will find Child Theme Generator in the DashBoard tab under Settings as Child-Theme-Gen. Click it.<\/strong><\/span><\/li>\n<li><strong><span style=\"color: #000000;\">Select your parent theme, fill out the form fields and the plugin will create a child theme for you.<\/span><\/strong><\/li>\n<li><span style=\"color: #000000;\"><strong>It is recommended that you name your Child Theme &#8220;Original-Theme-name-Child&#8221;, so for Theme Twenty-Twenty, you would name your child theme Twenty-Twenty-Child.<\/strong><\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>Now you will need to make some edits to the new child theme directory. Use whatever tool you normally use to work with files, be it: cPanel, FTP, WEBDEV, ssh, etc.<\/strong><\/span><\/li>\n<li><strong><span style=\"color: #000000;\">You must now create the following files under your wp-content\/themes\/your-theme-child directory (<a title=\"Child-Theme-Generator\" href=\"https:\/\/wordpress.org\/plugins\/child-theme-generator\/\" target=\"_blank\" rel=\"noopener noreferrer\">Child-Theme-Generator<\/a> will have created this directory.)<\/span><\/strong><\/li>\n<li><strong><span style=\"color: #000000;\">You will notice that Child Theme Generator has put a file, screenshot.png, in the directory. This is the picture used for the Appearance Themes page.<\/span><\/strong><\/li>\n<li><span style=\"color: #000000;\"><strong>Create a file called style.css with the following code in it to inherit all of the parent theme&#8217;s CSS:<\/strong><\/span>\n<ol>\n<li><span style=\"color: #0000ff;\"><strong>&lt;?php<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>add_action( &#8216;wp_enqueue_scripts&#8217;, &#8216;my_theme_enqueue_styles&#8217; );<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>function my_theme_enqueue_styles() {<br \/>\n<\/strong><strong> $parent_style = &#8216;parent-style&#8217;;<br \/>\n<\/strong><strong> wp_enqueue_style( $parent_style, get_template_directory_uri() . &#8216;\/style.css&#8217; );<br \/>\n<\/strong><strong> wp_enqueue_style( &#8216;child-style&#8217;, <\/strong><strong>get_stylesheet_directory_uri() . &#8216;\/style.css&#8217;,<br \/>\n<\/strong><strong> array( $parent_style ), <\/strong><strong>wp_get_theme()-&amp;amp;gt;get(&#8216;Version&#8217;)<\/strong><strong>;<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>}<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>?&gt;<\/strong> <\/span><\/li>\n<\/ol>\n<\/li>\n<li><strong><span style=\"color: #000000;\"> If you have any other CSS that you need to add,, put it after the code above.<\/span><\/strong><\/li>\n<li><strong><span style=\"color: #000000;\">Lastly, file functions.php to the child-theme directory. Child-Theme-Generator will add the following PHP code:<\/span> <\/strong>\n<ol>\n<li><strong><span style=\"color: #0000ff;\">&lt;?php<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">\/*This file is part of twenty-twenty-child, twenty-twenty base child theme.<br \/>\n<\/span><\/strong><strong><span style=\"color: #0000ff;\">All functions of this file will be loaded before of parent theme functions.<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">Learn more at https:\/\/codex.wordpress.org\/Child_Themes.<br \/>\n<\/span><\/strong><strong><span style=\"color: #0000ff;\">Note: this function loads the parent stylesheet before, then child theme stylesheet<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">(leave it in place unless you know what you are doing.)<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">*\/<\/span><\/strong><strong><span style=\"color: #0000ff;\">function education_base_child_enqueue_child_styles() {<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> $parent_style = &#8216;parent-style&#8217;; <\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> wp_enqueue_style($parent_style, get_template_directory_uri() . &#8216;\/style.css&#8217; );<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> wp_enqueue_style( <\/span><\/strong><strong><span style=\"color: #0000ff;\">&#8216;child-style&#8217;, <\/span><\/strong><strong><span style=\"color: #0000ff;\">get_stylesheet_directory_uri() . &#8216;\/style.css&#8217;,<br \/>\n<\/span><\/strong><strong><span style=\"color: #0000ff;\">array( $parent_style ),<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> wp_get_theme()-&gt;get(&#8216;Version&#8217;) );<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">}<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">add_action( &#8216;wp_enqueue_scripts&#8217;, &#8216;education_base_child_enqueue_child_styles&#8217; );<\/span><\/strong><\/li>\n<\/ol>\n<\/li>\n<li><span style=\"color: #000000;\"><strong>You can add your own functions to functions.php after the above code. For example:<\/strong><\/span>\n<ol>\n<li><span style=\"color: #0000ff;\"><strong> if ( ! function_exists( &#8216;disable_admin_bar&#8217; ) ) :<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>function disable_admin_bar() {<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong> if (is_user_logged_in() &amp;&amp; (! current_user_can(&#8216;subscriber&#8217;))) {<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong> show_admin_bar(true);<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong> } else {<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong> show_admin_bar(false);<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong> }<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>}<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>endif;<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>add_action(&#8216;init&#8217;, &#8216;disable_admin_bar&#8217;);<\/strong><\/span><\/li>\n<\/ol>\n<\/li>\n<li><span style=\"color: #000000;\"><strong>Now select your child theme as your active theme in Appearance &gt; Themes<\/strong><\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>And you are done.<\/strong><\/span><\/li>\n<\/ol>\n<pre style=\"padding-left: 120px;\"><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n                  <\/article><article class=\"hrf-entry\" id=\"hrf-entry-747\">\n                      <h3 class=\"hrf-title close-faq\" data-content-id=\"hrf-content-747\"><span><\/span>How can I make external links open in a new tab or window ?<\/h3>\n                     <div class=\"hrf-content\" id=\"hrf-content-747\"><p><span style=\"color: #000000;\"><strong>There are two ways to force external links to open in a new tab or window:<\/strong><\/span><\/p>\n<h3><span style=\"color: #ff0000;\"><strong>The hard way.<\/strong><\/span><\/h3>\n<p><strong><span style=\"color: #000000;\">The &#8220;Open in New Window&#8221; checkbox in &#8220;Open link in a new tab&#8221; (the chain link in the editor), does not always work. Therefore in order to sure that the link appears in a new window or tab, you must code the link in the following JavaScript.<\/span><\/strong><\/p>\n<p style=\"padding-left: 40px;\"><strong><span style=\"color: #0000ff;\">&lt;a onclick=&#8221;window.open (&#8216;<span style=\"color: #339966;\">YourLinkURL<\/span>&#8216;, &#8216;_blank&#8217;);&#8221; href=&#8221;javascript:void(0);&#8221;&gt;<span style=\"color: #339966;\">Text for MyLink<\/span>&lt;\/a&gt;<\/span><\/strong><\/p>\n<h3><strong><span style=\"color: #ff0000;\">The Easy Way<\/span><\/strong><\/h3>\n<p><strong><span style=\"color: #000000;\">There is a very nice WordPress plug-in &#8220;<a title=\"Open in New Window Plugin\" href=\"https:\/\/wordpress.org\/plugins\/open-in-new-window-plugin\/\" target=\"_blank\" rel=\"noopener noreferrer\">Open in New Window Plugin<\/a>&#8220;. Any link that is not pointed to your website, will automatically open in a new tab or window. And that is all there is to it.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<\/div>\n                  <\/article><article class=\"hrf-entry\" id=\"hrf-entry-748\">\n                      <h3 class=\"hrf-title close-faq\" data-content-id=\"hrf-content-748\"><span><\/span>What is a good WordPress backup ?<\/h3>\n                     <div class=\"hrf-content\" id=\"hrf-content-748\"><p><span style=\"color: #000000;\"><strong>After doing an extensive review, I really like, use and recommend <a title=\"UpdraftPlus Backup\/Restore\" href=\"https:\/\/updraftplus.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">UpdraftPlus Backup\/Restore<\/a>. It schedules itself to run automatically, it does a complete backup of your database, themes, plug-ins, media, etc.<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>UpdarftPlus will also move your backups to remote cloud storage such as DropBox, Google Drive, an FTP server of your choice, multiple storage sites, etc. It also will clean up after itself by deleting old backups beyond the limit you set. You can do all of the above with the free version. <\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Restores are very simple to perform and UpdraftPlus checks thoroughly before the restore is done. With the addition of either the UNIX sed command or better, the <a title=\"Better Search and Replace\" href=\"https:\/\/bettersearchreplace.com\/\" target=\"_blank\" rel=\"noopener\">Better Search and Replace<\/a> plug-in.<\/strong><\/span><\/p>\n<\/div>\n                  <\/article><article class=\"hrf-entry\" id=\"hrf-entry-787\">\n                      <h3 class=\"hrf-title close-faq\" data-content-id=\"hrf-content-787\"><span><\/span>SEO tells you that you are missing an H1 or H2, but your theme won&#8217;t let you ?<\/h3>\n                     <div class=\"hrf-content\" id=\"hrf-content-787\"><p><span style=\"color: #000000;\"><strong>Recently, I ran into a template related issue. It took over control of &lt;h1&gt; and &lt;h2&gt;. Essentially the home page was suppressed. SEO will penalize you for having more than 1 &lt;h1&gt;, but you can have several &lt;h2&gt;s. Using the HTML Widget, I managed to insert them into the homepage. The result works very well, inspect my site&#8217;s home page, and see if you can find them.<br \/>\n<\/strong><\/span><\/p>\n<pre id=\"line1\" style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\"><strong>&lt;<span class=\"start-tag\">h1<\/span> <span class=\"attribute-name\">style<\/span>=\"<a class=\"attribute-value\" style=\"color: #0000ff;\">color:transparent;font-size:0px;<\/a>\"&gt;Aldersoft - We can help with all of your computing needs&lt;\/<span class=\"end-tag\">h1<\/span>&gt;\r\n<span id=\"line523\"><\/span>&lt;<span class=\"start-tag\">h2<\/span> <span class=\"attribute-name\">style<\/span>=\"<a class=\"attribute-value\" style=\"color: #0000ff;\">color:transparent;font-size:0px;<\/a>\"&gt;Serving the computing needs of the Winnipeg, East St Paul and Selkirk areas.&lt;\/<span class=\"end-tag\">h2<\/span>&gt;\r\n<\/strong><\/span><\/pre>\n<\/div>\n                  <\/article><article class=\"hrf-entry\" id=\"hrf-entry-749\">\n                      <h3 class=\"hrf-title close-faq\" data-content-id=\"hrf-content-749\"><span><\/span>What is the best SEO Tool ?<\/h3>\n                     <div class=\"hrf-content\" id=\"hrf-content-749\"><p><strong><span style=\"color: #000000;\">For all practical purposes, you can never just use one SEO tool. On the WordPress side of the equation, I use either<\/span> <a title=\"RankMath\" href=\"https:\/\/RankMath.com\" target=\"_blank\" rel=\"noopener noreferrer\">RankMath<\/a> or <a title=\"All-in-One-SEO\" href=\"https:\/\/semperplugins.com\/all-in-one-seo-pack-pro-version\/?loc=sp_navmenu\" target=\"_blank\" rel=\"noopener noreferrer\">All-in-One-SEO<\/a> <span style=\"color: #000000;\">plugins to gather the SEO information and to generate my sitemap.xml. From a usage perspective, <\/span><\/strong><\/p>\n<p><strong><span style=\"color: #000000;\">Personally I like using<\/span> <a title=\"RankMath\" href=\"https:\/\/RankMath.com\" target=\"_blank\" rel=\"noopener noreferrer\">RankMath<\/a> <span style=\"color: #000000;\">as it immediate feedback inside the editing process helps tune your site with &#8220;on-the-spot&#8221; visual feedback. Also, it is relatively new, thus it avoids carrying all the baggage of old SEO tools.<\/span><\/strong><\/p>\n<p><strong><a title=\"All-in-One-SEO\" href=\"https:\/\/semperplugins.com\/all-in-one-seo-pack-pro-version\/?loc=sp_navmenu\" target=\"_blank\" rel=\"noopener noreferrer\">All-in-One-SEO<\/a> <span style=\"color: #000000;\">pack does an excellent job and is quite comprehensive and well supported. It, however, lacks the visual feedback features of RabkMath<\/span>.<\/strong><\/p>\n<p><strong><span style=\"color: #000000;\">From an analysis standpoint,<\/span> <a title=\"RankMath SEO Analyzer\" href=\"https:\/\/rankmath.com\/tools\/seo-analyzer\/\" target=\"_blank\" rel=\"noopener noreferrer\">RankMath SEO Analyzer<\/a> <span style=\"color: #000000;\">does a nice job of ranking your website and also has a good diagnostics report that you can use to follow up on SEO issues.<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #000000;\">Another good analysis product is<\/span> <a title=\"SiteChecker Pro\" href=\"https:\/\/sitechecker.pro\/\" target=\"_blank\" rel=\"noopener noreferrer\">SiteChecker Pro. <\/a><span style=\"color: #000000;\">SiteChecker Pro free version will generate a very thorough report about SEO issues to be addressed.<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #000000;\">A great tool for watching how your webpages are working and for diagnosing tricky SEO problems is<\/span> <a title=\"Screaming Frog Spider\" href=\"https:\/\/www.screamingfrog.co.uk\/seo-spider\/\" target=\"_blank\" rel=\"noopener noreferrer\">Screaming Frog Spider<\/a>. <span style=\"color: #000000;\">It is invaluable in tracking down bad links, redirects, and HTTP errors.<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #000000;\">I received a recommendation recently about a great set of tools from <a href=\"https:\/\/www.websiteplanet.com\/webtools\/down-or-not\/\" target=\"_blank\" rel=\"noopener\">WebsitePlanet.com <\/a>. <\/span><span class=\"_2fQ3Xj8U _2QBU0YsX\" style=\"color: #000000;\">Gracias Diana Gonzales-Ester por su recomendaci\u00f3n. Their collection of free tools is impressive and handy. Of note are: <a href=\"https:\/\/www.websiteplanet.com\/webtools\/redirected\/\" target=\"_blank\" rel=\"noopener\">Redirect Tracking<\/a> (to make sure things are going where you think they are), <a href=\"https:\/\/www.websiteplanet.com\/webtools\/sitemap-validator\/\" target=\"_blank\" rel=\"noopener\">XML Sitemap Checker<\/a> (validates your sitemaps), <a href=\"https:\/\/www.websiteplanet.com\/webtools\/robots-txt\/\" target=\"_blank\" rel=\"noopener\">Robots.txt Tester<\/a> (validates your robots.txt),\u00a0 <a href=\"https:\/\/www.websiteplanet.com\/webtools\/responsive-checker\/\" target=\"_blank\" rel=\"noopener\">Responsive Design Check<\/a> which I really liked, as it will render your site on several different cell phones, tablets, and laptops eg. iPhone X, 8, iPad, Samsung Galaxy S7, ASUS Nexus 7, Kindle Fire, etc. <a href=\"https:\/\/www.websiteplanet.com\/webtools\/ssl-checker\/\" target=\"_blank\" rel=\"noopener\">SSL Checker<\/a> does a good job verifying your certificate and its proper installation. And much more. Give it a try, it is a great selection of tools.<\/span><\/strong><\/p>\n<\/div>\n                  <\/article><article class=\"hrf-entry\" id=\"hrf-entry-751\">\n                      <h3 class=\"hrf-title close-faq\" data-content-id=\"hrf-content-751\"><span><\/span>Why do I keep getting &#8220;too many redirects&#8221; when I retrieve the Home Page, but not any other page ?<\/h3>\n                     <div class=\"hrf-content\" id=\"hrf-content-751\"><p><span style=\"color: #000000;\"><strong>This can be caused by a number of things, however, if you use more than one &#8220;environment&#8221; under your registered website name, this solution should fix this for you. <\/strong><\/span><span style=\"color: #000000;\"><strong>Also, if you have recently switched from Plain PermaLinks to %postname% PermaLinks or others, you may run into this problem as well.<br \/>\n<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>By &#8220;environments&#8221;, I mean things like test, devl, next (stage), prod, etc. These are normally called sub-domains. They could also be different language translations. EG. en, fr, es, ru, etc. Regardless, the situation results in too many redirects as WordPress does not automatically redirect to index.php when the URL ends with a directory name with or without a trailing \/, resulting in an infinite loop.<br \/>\n<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>For example: If you have registered MySite.com, the internet will direct your request to where your main site is located. EG. https:\/\/MySite.com. You may have two environments, stage and prod, which is quite common and strongly recommended. Stage is where you make your changes and test them, prod is your environment that the world sees.<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\"><strong><br \/>\nHence you have two WordPress installations: https:\/\/MySite.com\/stage and https:\/\/MySite\/prod. You normally want prod to be your &#8220;goto&#8221; WordPress site, so you put a redirect into the MySite.com &#8220;home&#8221; directory to send people automatically to prod. For example, you would create an index.php file in your home directory which contains the following redirect. (Note. The home directory is usually public_html in your cPanel File Manager.)<br \/>\n<\/strong><\/span><\/p>\n<p style=\"padding-left: 80px;\"><span style=\"color: #0000ff;\"><strong>&lt;?php<\/strong><br \/>\n<strong>\/* Redirect to MySite.com\/prod with a permanent redirect *\/<\/strong><br \/>\n<strong>header( &#8216;Location: https:\/\/MySite.com\/prod\/&#8217;, TRUE, 301 );<\/strong><br \/>\n<strong>?&gt;<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>You can access the other directories using the URL request. EG. https:\/\/MySite.com\/stage. Generally, this will partially work if you include a page name. EG. https:\/\/MySite.com\/stage\/about_us, however, the directives that WordPress inserts by default, break when no page name is specified. EG. https:\/\/MySite.com\/stage or https:\/\/MySite\/stage\/ and https:\/\/MySite.com\/prod or https:\/\/MySite.com\/prod and s<\/strong><\/span><span style=\"color: #000000;\"><strong>ince you have the redirect in the home directory, https:\/\/MySite.com<\/strong><strong> or https:\/\/MySite.com\/.<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\"><strong><br \/>\nUsing our example, you need to add the following to the beginning of the .htaccess file in public_html\/stage.<\/strong><\/span><\/p>\n<p style=\"padding-left: 80px;\"><strong><span style=\"color: #0000ff;\"># BEGIN Aldersoft Permalink fix<br \/>\n<\/span><\/strong><strong><span style=\"color: #0000ff;\"># Fix WordPress Permalink bug for URLS, not including index.php<br \/>\n&lt;IfModule mod_rewrite.c&gt;<br \/>\nRewriteEngine On<br \/>\nRewriteBase \/<br \/>\nRewriteRule .* &#8211; [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]<br \/>\n<\/span><\/strong><strong><span style=\"color: #0000ff;\">RewriteRule ^$ https:\/\/%{HTTP_HOST}\/stage\/index.php [R,L]<br \/>\nRewriteRule ^(.*)%{HTTP_HOST}$ $1%{HTTP_HOST}\/stage\/index.php [R,L]<br \/>\nRewriteRule ^(.*)%{HTTP_HOST}\/$ $1%{HTTP_HOST}\/stage\/index.php [R,L]<br \/>\n&lt;\/IfModule&gt;<br \/>\n#END Aldersoft Permalink Fix<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #000000;\">and also the following needs to be added to the beginning of your .htaccess in public_html\/prod.<\/span><\/strong><\/p>\n<p style=\"padding-left: 80px;\"><strong><span style=\"color: #0000ff;\"># BEGIN Aldersoft Permalink fix<br \/>\n# Fix WordPress Permalink bug for URLS, not including index.php<br \/>\n&lt;IfModule mod_rewrite.c&gt;<br \/>\nRewriteEngine On<br \/>\nRewriteBase \/<br \/>\nRewriteRule .* &#8211; [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]<br \/>\nRewriteRule ^$ https:\/\/%{HTTP_HOST}\/prod\/index.php [R,L]<br \/>\nRewriteRule ^(.*)%{HTTP_HOST}$ $1%{HTTP_HOST}\/prod\/index.php [R,L]<br \/>\nRewriteRule ^(.*)%{HTTP_HOST}\/$ $1%{HTTP_HOST}\/prod\/index.php [R,L]<br \/>\n&lt;\/IfModule&gt;<br \/>\n#END Aldersoft Permalink Fix<\/span><\/strong><\/p>\n<p style=\"padding-left: 40px;\"><strong><span style=\"color: #000000;\">This essentially says: <\/span><\/strong><\/p>\n<ul>\n<li><strong><span style=\"color: #000000;\">Is the Apache rewrite module loaded?<\/span><\/strong><\/li>\n<li><strong><span style=\"color: #000000;\">If so, then start the Rewrite Engine<\/span><\/strong><\/li>\n<li><span style=\"color: #000000;\"><strong>Set the URL pointer to the end of the start of the<br \/>\n<\/strong><\/span><\/li>\n<li><strong><span style=\"color: #000000;\">If there was no data passed following the home directory,<br \/>\nThen rebuild the URL to point to https:\/\/MySite.com\/prod\/index.php<br \/>\nEG. https:\/\/MySite.com\/prod will have %{HTTP_HOST} of &#8220;MySite.com&#8221;<br \/>\nThis will be rebuilt as https:\/\/MySite.com\/prod\/index.php<br \/>\nLastly [R,L], says redirect (302) to the new URL, leave .htaccess, and start again.<\/span><\/strong><\/li>\n<li><strong><span style=\"color: #000000;\">If the URL ends immediately after the %{HTTP_HOST} EG. https:\/\/MySite.com or https:\/\/MySite.com\/prod<br \/>\nThen rebuild the URL to point to https:\/\/mysite.com\/prod\/index.php<br \/>\n<\/span><\/strong><span style=\"color: #000000;\"><strong>Lastly [R,L], says redirect (302) to the new URL, leave .htaccess, and start again.<\/strong><\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>If the URL ends with a \/ immediately after the %{HTTP_HOST}\/ EG. https:\/\/mysite.com\/prod\/<br \/>\nThen rebuild the URL to point to https:\/\/MySite.com\/prod\/index.php<br \/>\n<\/strong><strong>Lastly [R,L], says redirect (302) to the new URL, leave .htaccess, and start again.<\/strong><\/span><\/li>\n<\/ul>\n<p style=\"padding-left: 40px;\"><span style=\"color: #000000;\"><strong>Note. Thank you Jacob Buller of <a href=\"https:\/\/EcoVillages.CA\/\" target=\"_blank\" rel=\"noopener\">EcoVillages.CA<\/a> for your help in debugging this.<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n                  <\/article><article style = \"display:block;text-align:right; font-size:11px\">Powered by <a href=\"https:\/\/websitebuilderguide.com\/wp-plugins\/html5-responsive-faq-plugin-for-wordpress\/\" target=\"_blank\" rel=\"noopener\">HTML5 Responsive FAQ<\/a><\/article><\/div><!-- HRF v 2.8.4 --><\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress Frequently Asked Questions<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":104,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"footnotes":"","_tec_slr_enabled":"","_tec_slr_layout":""},"class_list":["post-757","page","type-page","status-publish","hentry"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"post-thumbnail":false},"uagb_author_info":{"display_name":"Gary Alderson","author_link":"https:\/\/Aldersoft.CA\/prod\/wordpress\/author\/aldersoft\/"},"uagb_comment_info":0,"uagb_excerpt":"WordPress Frequently Asked Questions","ticketed":false,"_links":{"self":[{"href":"https:\/\/Aldersoft.CA\/prod\/wordpress\/wp-json\/wp\/v2\/pages\/757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/Aldersoft.CA\/prod\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/Aldersoft.CA\/prod\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/Aldersoft.CA\/prod\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/Aldersoft.CA\/prod\/wordpress\/wp-json\/wp\/v2\/comments?post=757"}],"version-history":[{"count":0,"href":"https:\/\/Aldersoft.CA\/prod\/wordpress\/wp-json\/wp\/v2\/pages\/757\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/Aldersoft.CA\/prod\/wordpress\/wp-json\/wp\/v2\/pages\/104"}],"wp:attachment":[{"href":"https:\/\/Aldersoft.CA\/prod\/wordpress\/wp-json\/wp\/v2\/media?parent=757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}