zhijunli
Member
Posted 5 years ago #
Hi All. I've set up wordpress on my own server. Everything looks okey except one problem with Permalink.
I want to change the Permalink structure to "Date and name based", the pretty one. Everytime I choose that option, it shows "Permalink structure updated". I guess this means I have no problem with writing permission to .htaccess file. Also, I've enabled AllowOverride in httpd.config and restart Apache.
I've been following the link http://codex.wordpress.org/Using_Permalinks but still can't figure out the problem. Anyone could help me out?
You haven't described the problem yet.
zhijunli
Member
Posted 5 years ago #
Sorry, my bad. I mean, with all these efforts, it still shows the error info:
Not Found
The requested URL wordpress/2006/06/14/wordpress-plugins/ was not found on this server.
Have you confirmed that the .htaccess file was indeed created and looks OK?
Regards
zhijunli
Member
Posted 5 years ago #
Cypher, thanks! This is something I didn't think about. What does a right .htacess file look like? I just did some search but didn't find a file to compare.
Friends, can you provide a copy of yours?
Sure thing..my working site has this in .htaccess for the default permalink structure..
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Regards
zhijunli
Member
Posted 5 years ago #
Sigh... it's almost the same. Mine is
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>
# END WordPress
I put wordpress folder under my webroot.
/webroot/worpress. I think that might mean it's not the .htaccess problem...
Any other thoughts?
zhijunli
Member
Posted 5 years ago #
Nobody has this problem before?