I am attempting to move my Wordpress website from the subdomain where it is installed: chicagokaraokenight[dot]com/wordpress
to the root directory: chicagokaraokenight[dot]com
I've been following the instructions provided by this website.
So, I've: 1) backed up the site 2) I didn't have a site in the root directory but I deleted any redirects I was using 3) turned permalinks to default 4) changed the site address (left the first as /wordpress and changed the second) 5) Downloaded the index.php and .htaccess files, and changed the index.php file to
contains require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php' );
Finished up by uploading, changed back permalinks to the previous settings, and now it's not working. I am assuming I took a misstep when downloading/editing/uploading the files, since the other parts were so self explanatory. After tinkering with it, I'm a little confused what it looked like before and what it should look like now, and it's still not working. Hoping someone can point me in the right direction!
At the moment, when I go to either URL (root or sub), I am getting the following error:
Parse error: syntax error, unexpected '' );' (T_ENCAPSED_AND_WHITESPACE) in /home2/lsaewitz/public_html/index.php on line 17
Currently, both directories (public_html AND wordpress) have both an index.php file and an .htaccess file, and both index.php files have the edits made in step #5 above.
Any ideas as to what I'm doing wrong?
One thing I did notice, is that between a couple different tutorials, some index.php files had:
contains require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php' );
and others just had:
require('./wp-blog-header.php');
without the require('./wp-blog-header.php'); part