I am using 2.8.6 WP. I installed WP on my local machine. I am trying to use /%postname% but its not working and if I choose http://localhost/?p=123 its working fine. Its necessary that we have to use /%postname% option only. Can anyone please tell me how to fix this issue?
Try using:
/%postname%/
Make sure that mod_rewrite is enabled. If you're using IIS though, it might be a different story...
No same problem. I am using "wamp server". .htaccess always update when I change Permalink Settings.
Can you use other Permalink structures ok? What actually happens, do you get 404's? Is mod_rewrite definitely active?
When I update my Permalink Settings->sustom structure into /%postname% or /%postname%/ .htaccess update automatically
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
and when I try to open http://localhost/this-is-test then IE give me "The webpage cannot be found" error.
Nop same. not working. I did what both link said but I am confuse XAMPP server is good or WAMPServer? I will also try Plesk on my 2003 machine.
problem solved. I changed few lines in php.ini.
distractedthinking
Member
Posted 2 years ago #
Hi kzq could you please share what you changed in php.ini, i have installed my localhost manually and /%postname%/ is not working for me. I have enabled mod_rewrite in http config but not working.
Reginator
Member
Posted 2 years ago #
Yes, any additional info on what was changed in php.ini would be helpful for me as well. Thx!
Options +FollowSymLinks
Always required on my local install..
Failing that check mod_rewrite is enabled in http.conf , it may be commented out ..
Just a few suggestions.. ;)
paddu.3one
Member
Posted 1 year ago #
Hi kzq I want to use %postname% in local machine.....
i made changes in .htaccess...but its not working...
if i add index.php before %postname% then its working..
but its not soo good..
And am using latest version 3.0.1wp..
where i have to chage those settings..?
pl....z solve my problem..