[resolved] CPanel SubDirectory Install (5 posts)

  1. webstercat
    Posted 4 years ago #

    hi guys, sorry for asking (because im sure its buried in the forum) but here goes..

    im updating a site thats hosted on cpanel and want to do a clean install of wordpress..if i create a subfolder in the /public_html folder (/blog for example) this will not over-write the site that already exists, correct?


  2. jonradio
    Posted 4 years ago #

    Correct. Just so long as you either don't use the same database. Or be sure to use a different table prefix in the same database.

    Only other obvious "don't" is not to call your subfolder "news" if you have a page on your other site called "news".

  3. webstercat
    Posted 4 years ago #

    sweet!! now the only problem is when i log in i get a 403 error - been reading through the forum and it sounds like it has something to do w/ the .htaccess file?

  4. jonradio
    Posted 4 years ago #

    If you are running on a Windows web host (as opposed to the more common Linux), start here: http://codex.wordpress.org/FAQ_Installation#What_is_the_403_error_I_get_when_trying_to_see_my_site.3F

    If you are on Linux, start with this:

    My .htaccess file for the top level of my domain only had this line:
    DirectoryIndex index.html

    I just had to change it to
    DirectoryIndex index.html index.php

    And then everything worked.

    Then work through this thread:

  5. webstercat
    Posted 4 years ago #

    yes that was it!! I read through soooo many posts/threads on this but missed that one line :)) th ks so much! hopefully I won't have any more trouble

Topic Closed

This topic has been closed to new replies.

About this Topic