Forums

[resolved] From <?php get_header(); ?> error to 403 Forbidden (4 posts)

  1. Pnitruc
    Member
    Posted 4 years ago #

    I was editing my index files and I guess I put a new index file in my root folder. After this started getting a line 1 error saying something about <?php get_header(); ?>. Looked up how to fix this and saw to delete the index in root and now I'm getting a Forbidden
    You don't have permission to access / on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    site: MovieStinger.com

  2. Jon-A5
    Member
    Posted 4 years ago #

    Delete your .htaccess file in your WordPress root directory and then recreate it manually or delete it and re-upload a blank .htaccess file and let WordPress re-edit it via the WP-Admin CP.

  3. Pnitruc
    Member
    Posted 4 years ago #

    deleted and reuploded a blank .htaccess and still getting the 404

  4. Pnitruc
    Member
    Posted 4 years ago #

    how do I let wordpress re-edit it?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags