Moderator
James Huff
(@macmanx)
Volunteer Moderator
Just go to Settings/Permalinks in your admin panel and enter /%postname%/
for your custom structure.
And what is the current url?
MacManX I follow your advice but now the pages are not showing. I insert /%postname%/ in “custom structure” as I was told. But it seems that the url is lost. What is the problem???? Sorry to bother.
Esmi the current url it’s set by default http://localhost/wordpress3/?p=123.
Hi,
Reset your desired permalink and add this code in htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
ErrorDocument 404 /index.php?error=404
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Now, check with blog posts/pages.
Thanks,
Shane G.
When you tried setting a custom structure of /%postname%/, did you get a message about the .htaccess file?
Esmi:
No, is a (http 404 page not found), The Webpage cannot be found.
Is what I get.
Shine: That don’t work. I open the htacces in my directory Wordpess3 and change for the codex, but nothing happens. What can this be?????
Sorry to bother guys.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Have you tried Shane G’s recommendation?
I tried with /index.php/%postname% and it’s go right. But I don’t wanted that index.php it’s looks ugly. It’s has to be any way ??????
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Have you tried Shane G’s recommendation?
macManx: Yes, That don’t work. I open the htacces in my directory Wordpess3 and change for the codex, but nothing happens. What can this be?????
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Can you confirm that mod_rewrite
has been enabled on your server? Contact your hosting provider if necessary.
Hi,
I am using WordPress 3.0.1 with latest Zencart on my site: http://www.evolutiontoys.com
I wrote and published a new post using default permalink. However, the post does not show up when clicked: with “Error 404 – Not Found” displayed.
I am using default permalink setting. The error also appears even at the WordPress post edit page.
Permalink: http://www.evolutiontoys.com/?p=123 Change Permalinks View Post
My earlier posts does not have this problem. However any subsequent new posts will have the same 404 problem.
Please advise.
Thanks,
Kelvin