cuttsgroup
Member
Posted 4 years ago #
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
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
cuttsgroup
Member
Posted 4 years ago #
permalink seems to work with this: /%postname%/
but not this: /&category%/%postname%/
http://www.americanmedsupply.com/blog/
Any ideas???
cuttsgroup
Member
Posted 4 years ago #
oops, sorry. i found the problem. Thanks, Allyn