WordPress.org

Ready to get started?Download WordPress

Forums

Permalink - Problem / Question (10 posts)

  1. pro_shine81
    Member
    Posted 6 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!

  2. moshu
    Member
    Posted 6 years ago #

    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)

  3. pro_shine81
    Member
    Posted 6 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!

  4. moshu
    Member
    Posted 6 years ago #

    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.

  5. Longminh
    Member
    Posted 6 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!

  6. Longminh
    Member
    Posted 6 years ago #

    Pls help me!

    Tks

  7. mrmist
    Forum Janitor
    Posted 6 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.

  8. Longminh
    Member
    Posted 6 years ago #

    Thank mrmist very much!

  9. rkaul
    Member
    Posted 6 years ago #

    Longminh, did you try using simpler post slugs?

  10. mizu12
    Member
    Posted 6 years ago #

    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?..

Topic Closed

This topic has been closed to new replies.

About this Topic