justdferguson
Member
Posted 4 months ago #
Hello!
I installed wordpress into a subdirectory and would like my main site(www.caliperwake.com) to be the main website, not (www.caliperwake.com/wordpress), like it is now. I followed the wordpress codex on the issue but it is still not working. I get a 403 error when accessing just caliperwake.com. I have set the permissions for .htaccess and index.php at 644. I have changed the index.php line to
require('./web/content/wordpress/wp-blog-header.php');
I have also tried
require('./wordpress/wp-blog-header.php');
Both of these return the same 403 error. Any help would be appreciated.
I followed the wordpress codex on the issue
What instructions? Giving_WordPress_Its_Own_Directory?
justdferguson
Member
Posted 4 months ago #
Get rid of require('./wordpress/wp-blog-header.php'); and try using require('./wordpress/wp-blog-header.php');
justdferguson
Member
Posted 4 months ago #
I think those are both the same thing but I tried it and still the same.
No - they are not the same at all. Which index.php file are you editing? And where did you move it from and to?
justdferguson
Member
Posted 4 months ago #
I copied the index.php from my WordPress sub-directory and put it in my root directory(www.caliperwake.com) using FileZilla. I am editing the copied version of index.php that is located in my root directory.
Did you move your .htaccess file and update your permalinks? I've used this method many times and I've never had any problems with it.
justdferguson
Member
Posted 4 months ago #
Yeah I copied the .htaccess file that was in the wordpress directory and moved it to the same directory as the index.php copy.
justdferguson
Member
Posted 4 months ago #
I figured it out. I had to put the index.php in a different folder(content) as opposed to the one I was putting it in. Thanks for your help.