Forums

Installation Issue (6 posts)

  1. nikm
    Member
    Posted 4 months ago #

    Installed WordPress in sub directory with a crazy name, edited index.php and put it outside WP folder in public_html along with .htaccess.
    Edited index.php and updated settings to point domain to domain name instead the WP folder but not getting through. Any help ?

    Second Problem : logged in to WP but the Dashboard is distorted. tried with all other browsers IE, FF, Opera and Comodo but the dashboard still remains the same.

    Thanks

  2. FazBuzzWP
    Member
    Posted 4 months ago #

    Soln to your first problem.
    do the following in the same order.
    let's assume that your www folder in wamp (htdocs in mamp?) is having nothing and now extract your wordpress folder( when you open that zip.) to www folder and then rename that folder say to bangmyheadwithahugebrick. now take out that index.php(in the renamed folder bangmyheadwithahugebrick ) and open it in a text editor.
    Your index.php should look like this http://pastebin.com/MBJNM9B7 Check the 'require' area.
    Now you have to log into http://localhost/bangmyheadwithahugebrick/wp-admin. But your site will appear when you just point your browser to http://localhost

    after logging in make sure that these settings are set correctly .
    Go to Setting>general and make sure that WordPress address is http://localhost/bangmyheadwithahugebrick and your blog address/site address is http://localhost.

    If you have done this exactly you should not notice any troubles. I've done this tens of times before and never faced a problem.
    As far as your second problem is concerned try restarting your local server and if that fails try reinstalling WordPress(This should be your last resort and try backing your site up before you do this if thats possible.)

  3. nikm
    Member
    Posted 4 months ago #

    @FazBuzzWP Thanks for replying.
    But i have exactly followed the same procedure but the issue remains the same.
    i have put index.php and .htaccess in public_html(root) now my domain (www/sitename.com/crazyname)returns list of directories on server :(

  4. FazBuzzWP
    Member
    Posted 4 months ago #

    Try going to http://www.sitename.com if you have exactly done the same then your index.php and .htaccess should reside in the root for http://www.sitename.com and hence if you go to http://www.sitename.com you should get your webpage...but on the other hand if you have installed WordPress in a subfolder then go to http://www.sitename.com/sub-folder/

  5. Gyanendra
    Member
    Posted 4 months ago #

    @nikm

    I think you have moved the "index.php" and .htaccess to root directory.

    Here what you should do.

    copy(NOT MOVE) index.php and .htaccess to root directry.
    and edit it.
    To run wordpress , you also need the index.php and .htaccess files to
    http://www.sitename.com/crazyname and edited index.php to http://www.sitename.com(root directory).

    It will certainly work.
    Do this and let me know.

    Thanks
    Gyan

  6. FazBuzzWP
    Member
    Posted 4 months ago #

    oops i forgot you have to copy the index.php and .htaccess as when these are removed from you WordPress installation the directory containing WordPress files will not function properly.

    Cheers

Reply

You must log in to post.

About this Topic