• hello there, I need help.
    on the page “giving wordpress its own directory”, it is written that “many people want to power up their site..” Yes, that is exactly what i need; i want WP to drive my site, but i want to install the core WP files in its own directory; that i have done. the confusing aspect is this: instruction number 4 says I should copy “.htacess” and “index.php” files into my site’s root, but i have an existing “index.php” file in site root.
    copying a new index.php file will overwrite the existing on. how will this work put?

    I have installed WP in its own sub-directory;
    I have an INDEX.PHP file already existing in my site root;
    How will copying WP index.php into the root not break things?

    thank you for your anticipated prompt response

Viewing 5 replies - 1 through 5 (of 5 total)
  • Rename the existing index.php file in your domain’s root folder to index.php.old.

    Thread Starter idowu

    (@idowu)

    esmi,
    thank you for being there for me. i will do that. so, please, sorry for this ‘foolish’ question, what will be the result of this action. or let me put it this way: will doing this allow me to use WP functions in my old PHP files anywhere on my site?

    thanks once again for the time.

    What old PHP files?

    Thread Starter idowu

    (@idowu)

    sorry it seems im clear on that now. that should be a question of integrating my existing non-blog site with WP blog site.

    one last thing, what if i have an index.HTML file already existing in my domain’s root. will i have to rename it index.html.old too?
    thanks

    No but whether index.html or index.php is used when someone visits your site depends upon how your server has been configured.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘.htacess and index.php files’ is closed to new replies.