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
Finally got the WP site accessible

Finally got the WP site accessible

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

After lots of searching, and a few failed attempts (including messing up access to the login files), I succeeded!  So you’re able to see this!

Short version:  you 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).  The contents of each file vary in a small but critical manner.

public_htmlwp
.htaccess filesRewriteBase /
RewriteRule ./index.php [L]
RewriteBase /wp
RewriteRule ./wp/index.php
index.php filesrequire ('wp/wp-blog-header.php')require ('./wp-blog-header.php')

And then it kept pointing the Blog link to the old site!  WordPress is generally easy to use, but when you have to dive under the hood, the instructions leave a bit to be desired.

1 Comments on “Finally got the WP site accessible