redirect - Struggling with friendly urls in wordpress -
i edited permalink settings changing custom structure to:
/%postname%/
now, when click on page link it'll take me domain.com/postname, 404 error. doing digging shows need setup 301 redirects, i'm confused how this. i've edited .htaccess file - looks like:
# begin wordpress <ifmodule mod_rewrite.c> rewriteengine on rewritebase /mgassoc/ rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /mgassoc/index.php [l] </ifmodule> # end wordpress
can me i'm doing wrong?
try doing , see if helps.
add following httpd.conf , re-start apache.
<directory "/path/to/your/app"> options followsymlinks allowoverride order allow,deny allow </directory>
Comments
Post a Comment