[resolved] permalinks set to %slug% works for pages but screws post links URL (4 posts)

  1. theserpent
    Posted 7 years ago #


    On my wordpress powered website I did set my permalinks to "slug" cause I use the pages a lot and prefer to have site.com/slug-url-of-page-title than site.com/?p=3 for URLS...
    It works fine for the pages but when you click on a post name, it loads site.com/%slug% instead

    I don't really understand why.

    I did the change under Settings \ Permalinks

    Common settings
    Default /?p=123
    Day and name /2009/04/05/sample-post/
    Month and name /2009/04/sample-post/
    Numeric /123
    Custom Structure /%slug%

    Could you help me to fix this?
    thanks a heap

  2. Samuel B

    Posted 7 years ago #

    review this

    you can't use %slug%

    to achieve what you want I think you would like

  3. theserpent
    Posted 7 years ago #

    Excellent Samboll...
    They were not as explicit as you as to what to use for the pages....
    thanks a lot!

    but for some reason, since I did the change, one element in my side bar (a free html text file) it wont appear on any other pages except the homepage..
    why is that?

  4. theserpent
    Posted 7 years ago #

    actually, i fixed it.... it was a / story before the url and it would mess the url path... well a bit complicated to explain but easily fixable.
    Nice one Samboll

Topic Closed

This topic has been closed to new replies.

About this Topic