• Okay, so i bought that book “Digging into wordpress”

    And there it’s says that prior the installation you should rename your “wordpress” folder to something weird and obscure.

    Then you should go to index.php and

    and change this

    require(‘./wp-blog-header.php’);
    …to this:
    require(‘./your_weird_and_obscure/wp-blog-header.php’);

    I did this and nothing works i get

    Warning: require(.your_weird_and_obscure/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /hermes/bosweb/web237/b2372/ipg.username/mydomain.com/your_weird_and_obscure/index.php on line 17

    Fatal error: require() [function.require]: Failed opening required ‘.your_weird_and_obscure/wp-blog-header.php’ (include_path=’.:/usr/local/lib/php-5.2.17/lib/php’) in /hermes/bosweb/web237/b2372/ipg.username/mydomain.com/your_weird_and_obscure/index.php on line 17

    What do i do wrong?

    And is there a way to do this thing if WP already installed and running? Is there a need to change something in database????

    It’s a fourth question i ask here… no one on this forum answers my questions some why…

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator cubecolour

    (@numeeja)

    Did you move your index.php & .htaccess back into the root directory?

    Thread Starter pressor771

    (@pressor771)

    .htaccess is not exists. I moved the index.php to the root folder of the site.

    Moderator cubecolour

    (@numeeja)

    are you sure .htaccess isn’t hidden? Did you select the option to view hidden files?

    Thread Starter pressor771

    (@pressor771)

    No the hosting is not hiding files. However there is .htaccess file on the root folder of my entire account.

    Thread Starter pressor771

    (@pressor771)

    It’s the only one. And it been created only i asked them why there is no one at all…

    Moderator cubecolour

    (@numeeja)

    Maybe that is causing the problem. Rename (don’t delete in case removing it causes problems) the .htaccess temporarily to old.htaccess to see whether that helps.

    Thread Starter pressor771

    (@pressor771)

    nay, .htaccess has nothing to do with it.

    The one i have is 2 months old. Been created before i discovered wordpress.

    And when i installed wordpress at first i had no .htaccess at all.
    And it worked fine.

    Before me starting reading this book all was OK.

    Update:

    The error listed above or

    Warning: require(.your_weird_and_obscure/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /hermes/bosweb/web237/b2372/ipg.username/mydomain.com/your_weird_and_obscure/index.php on line 17
    
    Fatal error: require() [function.require]: Failed opening required '.your_weird_and_obscure/wp-blog-header.php' (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/bosweb/web237/b2372/ipg.username/mydomain.com/your_weird_and_obscure/index.php on line 17

    was showing when i clicked to view index.php

    Now when i even try to reinstall wordpress the regular way, this means
    keep the folder named “wordpress”, and click on the wp-admin/install.php in the readme.html what i get is a search at ask.com with that directory (wp-admin/install.php).

    How did it work in past?

    Well, it worked that way:

    1. registering domain
    2. changing nameservers to my host’s nameservers
    3. creating a folder domain.com with my account
    4. uploading wordpress (the latest copy)
    5. extracting it to the folder domain.com
    6. opening readme.html
    7. clicking the link wp-admin/install.php
    7. going trough the process
    8. ta da… it works.

    Thread Starter pressor771

    (@pressor771)

    update: uploaded a fresh copy of wordpress, the same thing…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘"WordPress" – folder renaiming for security reasons’ is closed to new replies.