• Install directory, example.com/wordpress still intact.

    1. Moved index.php to example.com/otherdirectory
    2. Edited index.php to:

    require(‘../wordpress/wp-blog-header.php’);
    (../ <– to indicate up one…)

    Now all Comments input pages etc expect to find files in /otherdirectory instead of going up one to /wordpress

    What did I miss?
    THANKS!

Viewing 9 replies - 1 through 9 (of 9 total)
  • I never tried that – but the “Giving_WordPress_Its_Own_Directory” talks about having the install files in example.com/wordpress and the index at example.com.

    WordPress expects to find files in subdirectories relative to itself, if you have moved the index file to a completely different directory the configuration changes required may run deeper than the actions you have taken.

    I have several blogs running in subdirectories and they are fine on the original install configuration.

    Is there a reason why you need the setup you have outlined?

    Thread Starter apoplexy

    (@apoplexy)

    I’m just a picky bastard and want to keep my example.com/otherdirectory link ??

    I’ll just set up a redirect and suck it up!

    Thanks guys ??

    …want to keep my example.com/otherdirectory link …

    So, wouldn’t be the simplest way to move your WP install to the “otherdirectory”?

    <I used to have the problem login in and intuitively I thought probably the reason was that wordpress couldn’t find the directory were it was installed simply because it wasn’t located there anylonger.>
    The way I fixed it with: giving_wordpress_it’s_own_directory was just leaving it like: https://example.com/phpMyadmin/user/(which is already in the url that comes with phpMyadmin.)>
    <Then in general options: WordPress.codex/giving wordpress it’s own directory/.>
    <I also put all the .htdocs in that same directory called home,>
    <And finally logged into word press, but not trough the admin panel.>
    <Instead I used a software I got from sourceforge.net that
    sorts an algorythm with an interface on Windows, though I can’t use it now because I got locked out of the wos.1.1.1>
    <And that’s were my wordpress directory is.>
    <I leave it to you guys who are the experts to figure out just what I did right (and/or) wrong.>

    @allenavila,
    stick to your thread – what you describe has nothing to do with the Original Post (OP) here. And it’s a nonsense on its own ??

    May I ask you to stop putting < and > around your sentences.

    I kind of have the same problem, I move the site to its own directory, now all the images are gone and the pages I created, do I need to edit any thing in the SQL to get it back to normal ?

    TT

    Well I got all the text stuff working, it didn’t like a HTML index file in the same DIR as the index.php file, strange, it was a splash screen, any way how do I get the images back, the address was wordpress/wp-content/uploads/2006/06/palm.jpg

    I now need it to be
    wp-content/uploads/2006/06/palm.jpg
    were do I edit please.

    TT

    TT, if the links to the images in your earlier posts point to
    wordpress/wp-content/uploads/2006/06/palm.jpg
    and now you need it without the dirname… that’s, unfortunately, in the database. You either edit the links manually, or you can ask around: maybe a good soul will help you with a MySQL query to change those links.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Giving_WordPress_Its_Own_Directory not completely working’ is closed to new replies.