Forums

[resolved] 403 error on main page (10 posts)

  1. 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.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    I followed the wordpress codex on the issue

    What instructions? Giving_WordPress_Its_Own_Directory?

  3. justdferguson
    Member
    Posted 4 months ago #

    Yes, that one.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    Get rid of require('./wordpress/wp-blog-header.php'); and try using require('./wordpress/wp-blog-header.php');

  5. justdferguson
    Member
    Posted 4 months ago #

    I think those are both the same thing but I tried it and still the same.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    No - they are not the same at all. Which index.php file are you editing? And where did you move it from and to?

  7. 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.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    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.

  9. 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.

  10. 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.

Reply

You must log in to post.

About this Topic