Forums

[resolved] Moving wordpress directory. (5 posts)

  1. tomskus
    Member
    Posted 3 years ago #

    Hi.

    I currently have my wordpress (2.7) in my <user>/public_html/wordpress/ directory and I'd really like to have it as my public_html directory. I have a symlink to www in <user>/ i.e

    www -> public_html/

    Clumsily I have:

    index.html -> /home/<user>/public_html/wordpress/

    Needless to say spiders and robots don't like this at all and fill my error logs.

    Is it too much to think that I can just move everything up one directory? Or is there a bit more to it?

    Many thanks in advance.

  2. jimesten
    Member
    Posted 3 years ago #

    easy move .. just update your wp-config.php file to reflect the correct path and you're golden.

    --Jim

  3. tomskus
    Member
    Posted 3 years ago #

    Thanks Jim, but wp-config.php doesn't seem to have anywhere to define the path.

  4. Check out this as well Giving WordPress Its Own Directory

    You can get rid of symlinks and let WordPress handle it without moving anything. Just add a new index.php and .htaccess to your public_html and set it up.

  5. tomskus
    Member
    Posted 3 years ago #

    Thanks to jim and Ipstenu.

    The old, 'if it ain't broke don't fix it' approach worked a treat. Followed that article and it's the biz.

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic