Actually, this method did not work. I found a similar set of directions on wpbeginner.com and those didn’t work either.
Simple instructions…
-changed the site address (url) to example.com in Settings:General
-Downloaded a copy of the .htaccess (wasn’t hidden) and index.php to my desktop
-edited the index.php to reflect /wp/wp-blog-header.php (my subdir is “wp”)
-moved both the .htaccess and edited index.php to the root directory.
The only part of the instructions I didn’t understand was:
If you have set up Permalinks, go to the Permalinks panel and update your Permalink structure. WordPress will automatically update your .htaccess file if it has the appropriate file permissions. If WordPress can’t write to your .htaccess file, it will display the new rewrite rules to you, which you should manually copy into your .htaccess file (in the same directory as the main index.php file.)
Permalinks seem to be fine… was still set to “Post Name” option.
“If WordPress can’t write to your .htaccessfile….” I didn’t see a display so I assume it was able to write to the file.
No clue.