pro_shine81
Member
Posted 5 years ago #
Hello everybody!
I am currently using the unpretty p=N permalink stucture. Now I was wondering what happens if I change it to something like: /%category%/%postname%/
Will all old pages be changed as well or can I keep them with the post number and only newly created post will have the new permalink structure?
Thanks for your help,
Take care!
No, you can have only one type or permalinks for all the posts.
However, the "ugly" permalinks always work - no matter what your new permalink settings are. (Of course, it is NOT true the other way around)
pro_shine81
Member
Posted 5 years ago #
Well it doesn't work or I am doing something wrong. When I change the permalink structure in the options tab and I click on a post title in my blog I get the 404 error.
I should add that after changing the permalink structure it says I should update the htaccess file but I don't know what I have to do!?
Thanks!
You have 2 options: you either learn what to do with the htaccess file - or you give up changing the permalinks.
Using_Permalinks - reading the manual is always a wise thing to do... BEFORE you attempt any big change in your blog.
Longminh
Member
Posted 5 years ago #
Hi all,
Pls help me this prob
My language's site is Vietnamese (include ô, â, ă, đ, ê... character)
now I want to leave it in URLs
ex: http://giadinh.cangiconay.com/nau_an_ngon/2007/ch%e1%ba%a3-sen-tom.html
change to: http://giadinh.cangiconay.com/nau_an_ngon/2007/cha-sen-tom.html
My .htaccess is:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
And I set permalink to: /%category%/%year%/%postname%.html
Tks!
Longminh
Member
Posted 5 years ago #
Longminh I don't think that your issue is anything to do with the .htaccess file. I think it is to do with the way that "special" characters are filtered out before creating page names within wordpress. You would probably have to alter the core code to achieve your objective.
Longminh
Member
Posted 5 years ago #
Longminh, did you try using simpler post slugs?
I don't understand why WP doesn't use the slugs for permalink generation. As of the docs it's generated from the title. Then what's the slug then for?..