• 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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 https://pastebin.com/MBJNM9B7 Check the ‘require’ area.
    Now you have to log into https://localhost/bangmyheadwithahugebrick/wp-admin. But your site will appear when you just point your browser to https://localhost

    after logging in make sure that these settings are set correctly .
    Go to Setting>general and make sure that WordPress address is https://localhost/bangmyheadwithahugebrick and your blog address/site address is https://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.)

    Thread Starter nikm

    (@nikm)

    @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 ??

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

    @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
    https://www.sitename.com/crazyname and edited index.php to https://www.sitename.com(root directory).

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

    Thanks
    Gyan

    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

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