1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Wordpress] How to show a page instead of category (both with same slug) ?

Discussion in 'Blogging' started by gr33n, Nov 3, 2013.

  1. gr33n

    gr33n Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2007
    Messages:
    501
    Likes Received:
    243
    Gender:
    Male
    Location:
    Ro
    Hello everyone !

    I have a problem with an old wordpress site trying to show a page with the same slug as category.I changed my permalinks recently and now instead of my page I get the category page/archive

    Before I had the site structured like this

    www.mysite.com/category/cars

    and now after i changed my permalinks I have

    www.mysite.com/cars

    How can I display the page and not the category page/archive?

    In my permalinks I have Custom Structure >> /%category%/%postname% and in Category base i have /
    [​IMG]
     
  2. gr33n

    gr33n Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2007
    Messages:
    501
    Likes Received:
    243
    Gender:
    Male
    Location:
    Ro
    No one... ? I know it can be done ...
     
  3. Asif WILSON Khan

    Asif WILSON Khan Executive VIP Premium Member

    Joined:
    Nov 10, 2012
    Messages:
    10,131
    Likes Received:
    28,584
    Gender:
    Male
    Occupation:
    Fun Lovin' Criminal
    Location:
    London
    Home Page:

    Source:http://wordpress.stackexchange.com/...e-wordpress-to-show-pages-instead-of-category

    Found by putting "How to show a page instead of category (both with same slug) ?" into Google.
     
    • Thanks Thanks x 1
  4. aldragon

    aldragon Power Member

    Joined:
    Aug 5, 2010
    Messages:
    688
    Likes Received:
    192
    Location:
    ^^
    If you are using wordpress seo by yoast you cannot do it- If not change the id of the page.
     
  5. gr33n

    gr33n Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2007
    Messages:
    501
    Likes Received:
    243
    Gender:
    Male
    Location:
    Ro
    Thank you ..that is exactly what i needed.I've searched on google all day and read a lot of stackexchange replies....I don't know how i miss this one....probably i was tired...Anyway thanks one more time for help.
     
    • Thanks Thanks x 1
  6. Asif WILSON Khan

    Asif WILSON Khan Executive VIP Premium Member

    Joined:
    Nov 10, 2012
    Messages:
    10,131
    Likes Received:
    28,584
    Gender:
    Male
    Occupation:
    Fun Lovin' Criminal
    Location:
    London
    Home Page:
    No problem Mate, happens to us all.