Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home2/montydoy/public_html/wp-content/plugins/exactmetrics-dimensions/exactmetrics-dimensions.php on line 204

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home2/montydoy/public_html/wp-content/plugins/exactmetrics-page-insights/exactmetrics-page-insights.php on line 239

Deprecated: Creation of dynamic property EDD_Theme_Updater_Admin::$item_name is deprecated in /home2/montydoy/public_html/wp-content/themes/organic-connect/updater/theme-updater-admin.php on line 44

Warning: Cannot modify header information - headers already sent by (output started at /home2/montydoy/public_html/wp-content/plugins/exactmetrics-dimensions/exactmetrics-dimensions.php:204) in /home2/montydoy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/montydoy/public_html/wp-content/plugins/exactmetrics-dimensions/exactmetrics-dimensions.php:204) in /home2/montydoy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/montydoy/public_html/wp-content/plugins/exactmetrics-dimensions/exactmetrics-dimensions.php:204) in /home2/montydoy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/montydoy/public_html/wp-content/plugins/exactmetrics-dimensions/exactmetrics-dimensions.php:204) in /home2/montydoy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/montydoy/public_html/wp-content/plugins/exactmetrics-dimensions/exactmetrics-dimensions.php:204) in /home2/montydoy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/montydoy/public_html/wp-content/plugins/exactmetrics-dimensions/exactmetrics-dimensions.php:204) in /home2/montydoy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/montydoy/public_html/wp-content/plugins/exactmetrics-dimensions/exactmetrics-dimensions.php:204) in /home2/montydoy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/montydoy/public_html/wp-content/plugins/exactmetrics-dimensions/exactmetrics-dimensions.php:204) in /home2/montydoy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":1004,"date":"2015-08-30T20:26:16","date_gmt":"2015-08-31T04:26:16","guid":{"rendered":"http:\/\/www.monty-doyle.com\/?p=1004"},"modified":"2019-08-20T01:30:07","modified_gmt":"2019-08-20T09:30:07","slug":"finally-got-the-wp-site-accessible","status":"publish","type":"post","link":"https:\/\/www.monty-doyle.com\/?p=1004","title":{"rendered":"Finally got the WP site accessible"},"content":{"rendered":"

After spending lots of time reworking the site, I stalled at the point of getting the main domain name pointing to the new pages. \u00a0The WP Codex was not that helpful, as it does not show what the final .htaccess and index.php files are supposed to look like.<\/p>\n

After lots of searching, and a few failed attempts (including messing up access to the login files), I succeeded! \u00a0So you’re able to see this!<\/p>\n

Short version: \u00a0you need to have a copy of the hidden file .htaccess and the visible file index.php in BOTH the top-level directory (public_html or www) and in the WordPress subdirectory (wp, etc). \u00a0The contents of each file vary in a small but critical manner.<\/p>\n\n\n\n\n\t\n\n\t\n\t
<\/th>public_html<\/th>wp
\n<\/th>\n<\/tr>\n<\/thead>\n
.htaccess files<\/td>RewriteBase \/
\nRewriteRule .\/index.php [L]<\/td>
RewriteBase \/wp
\nRewriteRule .\/wp\/index.php<\/td>\n<\/tr>\n
index.php files<\/td>require ('wp\/wp-blog-header.php')<\/td>require ('.\/wp-blog-header.php')<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n

And then it kept pointing the Blog link to the old site! \u00a0WordPress is generally easy to use, but when you have to dive under the hood, the instructions leave a bit to be desired.<\/p>\n","protected":false},"excerpt":{"rendered":"

After spending lots of time reworking the site, I stalled at the point of getting the main domain name pointing to the new pages. \u00a0The WP Codex was not that helpful, as it does not show what the… Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[],"_links":{"self":[{"href":"https:\/\/www.monty-doyle.com\/index.php?rest_route=\/wp\/v2\/posts\/1004"}],"collection":[{"href":"https:\/\/www.monty-doyle.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.monty-doyle.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.monty-doyle.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.monty-doyle.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1004"}],"version-history":[{"count":3,"href":"https:\/\/www.monty-doyle.com\/index.php?rest_route=\/wp\/v2\/posts\/1004\/revisions"}],"predecessor-version":[{"id":1010,"href":"https:\/\/www.monty-doyle.com\/index.php?rest_route=\/wp\/v2\/posts\/1004\/revisions\/1010"}],"wp:attachment":[{"href":"https:\/\/www.monty-doyle.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.monty-doyle.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.monty-doyle.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}