• I want to, and tried to change the permalink to this structure: /&category%/%postname%/ but when I tried that, I got a 404 error, so I changed back to the default.

    Questions:

    1. Where should the .htacess file be??

    2. What should be entered into the .htacess file for the permalink structure I want to work correctly??

    Thanks, Allyn

Viewing 3 replies - 1 through 3 (of 3 total)
  • the .htaccess file should be at the root of your wordpress install ie where your wp-admin wp-content etc files are.

    To change your perma link structure try adding this to your .htaccess file and set permissions to 666

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

    now update permalinks

    DO NOT FORGET to go back and set .htaccess permissions to 644 otherwise it is a HUGE security issue

    Thread Starter cuttsgroup

    (@cuttsgroup)

    permalink seems to work with this: /%postname%/

    but not this: /&category%/%postname%/

    https://www.americanmedsupply.com/blog/

    Any ideas???

    Thread Starter cuttsgroup

    (@cuttsgroup)

    oops, sorry. i found the problem. Thanks, Allyn

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Permalink & htacess question’ is closed to new replies.