WordPress.org

Ready to get started?Download WordPress

Forums

htaccess problem: links don't work after move (4 posts)

  1. seanrice
    Member
    Posted 6 years ago #

    I took a version of nectardesign.com's wordpress and put it into a folder on http://rasadesign.com/nectardesign/ and changed the .htaccess file to read:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /nectardesign/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    (both with and without the module conditional)

    The links, for example, http://www.rasadesign.com/nectardesign/category/all-products trip my site's 404 error.

    The database was a direct copy of the one that's still working correctly at http://nectardesign.com except for changing 'nectardesign.com' to 'rasadesign.com/nectardesign' in the database in the options table.

    What can I do to fix this?

  2. whooami
    Member
    Posted 6 years ago #

    you need to update your permalinks inside wordpress' admin area. you told apache when you mucked with the .htaccess, you still havent told WP.

    see if that helps.

  3. seanrice
    Member
    Posted 6 years ago #

    Thanks. I was afraid of that, but where would I change it from within the database, itself?

  4. moshu
    Member
    Posted 6 years ago #

    You can either change in the admin > Options > General: the 2 URI values... or directly in the database:
    http://www.village-idiot.org/search/url+emergency
    or
    http://www.tamba2.org.uk/wordpress/site-url/

Topic Closed

This topic has been closed to new replies.

About this Topic