Support » Fixing WordPress » 403 Forbidden Error

  • Hi all,

    I’ve shifted my WordPress site from one hosting to another. I exported the DB and Import in the new WordPress installation on new hosting. Activated the theme and when I try to run the site, it gives me error”
    “403 Forbidden
    You don’t have permission to access / on this server.”

    What I’m missing here or have done wrong?

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • motasim,

    Check permissions for all files and folders. Permissions for files should be 644 and for folders – 755.

    Thanks arkgroup for your response.
    What I did, I compared the files on both hosting and I found that index.php file is missing on root and also in the wp-content folder. I copy/pasted these files in the new hosting and it start showing the website. But one thing I’m seeing wrong here, the top navigation is showing submenu links. You can see on the following link.

    Previous link: http://174.121.35.186/~homedesi/
    New link: http://homedesignexpo.net/

    Any idea why this is happening?

    motasim,

    Try to re-upload all the files, may be there are more missing or corrupt files exist.

    Now, I took backup of wp-content (renamed the folder). And uploaded the complete wp-content folder from the previous hosting on the new one but same result. The menu is still showing all the sub links in the main nav.

    This line of code is used to grab the nav:

    <?php wp_nav_menu( array(‘theme_location’=>’top-menu’, ‘container’ => ”, ‘menu_class’ => ‘nav’, ‘link_before’ => ‘<b>’, ‘link_after’ => ‘</b>‘) ); ?>

    suggetions?

    Also made a new installation but nothing changed. Any help would be highly appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘403 Forbidden Error’ is closed to new replies.