Forums

What does "update your Permalink structure to your .htaccess file" mean? (5 posts)

  1. holliday22
    Member
    Posted 2 years ago #

    Hi,

    Thank you in advance for helping me with my troubleshooting.

    The instructions on how to move wordpress from a subdirectory to a root directory say in step 10 to "update your Permalink structure to your .htaccess file."

    I don't know what this means. I know what my .htaccess file is and I know what my permalinks are.

    My .htaccess for the directory I migrated wordpress from looked like this:

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

    My .htaccess for the directory I migrated wordpress to looked like this:

    # -FrontPage-

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName [mysite]
    AuthUserFile [somedirectory]
    AuthGroupFile [somedirectory]

    Is it true that my new .htaccess file should just look like the two of those combined together into one?

    Or when they say "update to my .htaccess file" do they mean there is something I am supposed to do in wordpress?

    Thanks again,
    Nick

  2. holliday22
    Member
    Posted 2 years ago #

    can't believe I'm the only one who'd have this question (though I've certainly been wrong before).

  3. holliday22
    Member
    Posted 2 years ago #

    Anyone want to take a stab at this one?

    Thanks!

  4. Samuel B
    moderator
    Posted 2 years ago #

    just add the rules

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

    to the root .htaccess after the other stuff

  5. holliday22
    Member
    Posted 2 years ago #

    Thanks so much!

Topic Closed

This topic has been closed to new replies.

About this Topic