WordPress.org

Support

Support » Plugins and Hacks » Permalinks

Permalinks

  • Hello everyone

    I have here a problem that I don’t know if it’s possible to fix without changing the system of my blog.

    Right now I do have this permalink:
    /blog/%year%/%monthnum%/%postname%/

    As you can see I forced /blog into my url to mean that is my blog
    But right now I have another post_type called PRESS

    Blog is not a post type it’s the normal post system from wordpress and Press was created thru the new system post_type

    So my silly question is
    Is it possible to create 2 permalinks like:
    /blog/%year%/%monthnum%/%postname%/
    and
    /press/%year%/%monthnum%/%postname%/

    At the same time???
    Right now all that I got was:
    /blog/press/%year%/%monthnum%/%postname%/
    Using: custom-post-permalinks plugin and that is not what I want.

    I tried to use RewriteRules on my htaccess to remove blog from my url but for some reason it is ignored totaly… doesn’t do a thing
    This is one exemplo of what I tried:
    RewriteRule ^blog http://www.google.com [L,R=301]
    just to see if it was working and when I access my site http://mysite/blog it never redirects.

    Anyone have any clue if this is possible… or not?

    Thanks,
    Thiago Cruz

  • The topic ‘Permalinks’ is closed to new replies.