WordPress.org

Ready to get started?Download WordPress

Forums

Rewrite categories URL (12 posts)

  1. xxhunterxx
    Member
    Posted 3 years ago #

    hi is it possible to rewrite only categories URL
    tnx

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    No - permalinks are set globally. But you can change the category name in the url (the base) to another word (eg "topics").

  3. xxhunterxx
    Member
    Posted 3 years ago #

    is it possible to use permalinks so the url of the post still the same ?p=
    and be able to change the categories url ?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    No - permalinks are set globally.

  5. spotcream
    Member
    Posted 3 years ago #

    are you trying to change say mysite.com/cat/post to mysite.com/post

  6. xxhunterxx
    Member
    Posted 3 years ago #

    no im trying to change only categories url
    mysite.com/?cat=1 to mysite.com/cat-name but i want the post url still the same mysite.com/?p=1

  7. spotcream
    Member
    Posted 3 years ago #

    %category% place that into the catagory permalink section and leave common settings as default i think that may give you what your looking for.

  8. Tammy Hart
    Member
    Posted 3 years ago #

    xxhunterxx,

    Maybe if you explain why you want to do this we can come up with a solution for you. It is actually a good idea to use written permalinks for your posts rather than numbers, and the good news is, if you have a link to the current url structure, WordPress will successfully direct them to the right page, no worries there.

    Also, in order for you to skip the category base, i.e. mysite.com/cateogry/cat-name, you need to use a plugin that removes the base. Here is the one I suggest: http://wordpress.org/extend/plugins/wp-no-category-base/

    Here's a blog post I wrote about permalinks today: http://tammyhartdesigns.com/wordpress-themes/wordpress-permalinks-best-practices/

  9. xxhunterxx
    Member
    Posted 3 years ago #

    tnx guys
    spotcream iv try it but to work i need to activate the permalinks
    tammyhart agree that using permalinks is better but im afraid that will harm my site position in google

  10. spotcream
    Member
    Posted 3 years ago #

    NOT if you use 301 redirect google will pick up that you have changed the link and forward on any credit.

  11. xxhunterxx
    Member
    Posted 3 years ago #

    how can i use 301 redirect ?

  12. spotcream
    Member
    Posted 3 years ago #

    there are many plugins that will do this for you install the plugin then change the permalink

Topic Closed

This topic has been closed to new replies.

About this Topic