hiding my wordpress installation dir (8 posts)

  1. kennethteo80
    Posted 12 years ago #

    I installed wordpress in http://www.mydomain/wordpress. Moving my index.php outside messes up my installation.
    I believe the solution is using mod_rewrite. Dunno much on it so i tot i'd ask u guys..

  2. sparql
    Posted 12 years ago #

    just change the header info on the index.php page to point to the correct dir.
    ie: change this line
    /* Don't remove this line. */

    and don't forget to change the url in your WP options.

  3. kennethteo80
    Posted 12 years ago #

    shall try it again.. keep getting errors for my style switcher plugin

  4. sparql
    Posted 12 years ago #

    my guess is you'll probably have to change something in the styleswitcher too.

  5. kennethteo80
    Posted 12 years ago #

    Yup.. as usual style-switcher aint working but not a big problem...
    my dropdown menu displays correctly but it doesnt activate a style switch when i use it...
    I changed the 'siteurl' on line 27, 37, 85, 135 to 'home' and $path on line 70 to 'wordpress/wp-style'.
    Got more problems so i was afraid i'd screw things up...

  6. phretor
    Posted 10 years ago #

    I got a plus question about this topic. I noticed that following this way for hiding'' the WP installation folder does not really help. In fact, following the permanent link to a certain post, the Trackback link easily reveals the installation folder.

    So my question is the following. What is the most secure and easy way to use the blog data and features outside the installation directory BUT making the installation directory URI NOT showing the blog?

    Roughly speaking I want to do something like this (www.molly.com) but I do NOT want something like this (www.molly.com/wordpress) to happen.

    Thanks in advance.


  7. James Huff
    Support Team Rep.
    Posted 10 years ago #

  8. phretor
    Posted 10 years ago #

    I'm sorry to have not reported that I *already* used this howto; it has a really bad problem: trackback links reveal the internal directory where WP is installed into.

    So the question may change as how do I disable tracklinks at all''? Note that I am using WP-PostgreSQL 1.2.1.

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.