WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Problem setting up permalinks on PAGES, wp-folder/slug

[Resolved] Problem setting up permalinks on PAGES, wp-folder/slug

  • Hi,

    trying to set up permalinks with slugs, but when i activate it my PAGES doesn’t work. It messes up with the css and only uses the %postname% I have tried other id’s aswell but I’m still getting the same. The posts work but not the PAGES. Using big letters to let you know I’m not talking about webpages…

    Check out: *removed*

    [MODERATED]
    If you wish to post a link, do not use a link cloaking/rewriting/shortening service (there’s no way for a user to determine if it’s a safe link), if you need to post a non-linked URL, then type it without the http:// and www.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Just to double check – you are using /%postname%/ correct?

    If I use it correct? What do you mean?

    Anyone?

    Someone?

    Yes, I’m using /%postname%/ correct…

    I’m currently using /%year%/%monthnum%/%postname%/

    1) reset your permalinks back to default, and see if your pages work correctly at the default.

    2) then set the permalinks back to /%postname%/ and see if that has changed anything. It forcesWordPress to rewrite the htaccess file and rewrite code, and sometimes resolves the problem.

    If that doesn’t resolve the problem I’d ask your webhost if there is any reason why on your server WordPress permalinks would not work correctly. It can have something to do with server configuration, and they may know a trick or two to help.

    Thank you for giving me a hand!

    it works in default settings, but trying only /%postname%/ is not supperted, described here: http://codex.wordpress.org/Using_Permalinks

    When I try /%year%/%monthnum%/%postname%/ after trying default settings it stills get the same error on the Pages, but not on posts…

    It looks like the .htaccess is working correctly, can it be something with the theme? I did it myself, and is a minimum of code involved..

    Switch to the default theme and see if your page permalinks work. If they do, yes it can be your theme. If not, its something else.

    Hi,

    the Pages work in the default theme. What do I need to do to make this compatible with my theme?

    I’d start by comparing the coding in your page.php file with the coding in the default theme’s page.php file. Make sure you aren’t missing any important PHP calls.

    and check header.php from default with yours, also

    Fixed it by changing the reference to the css from static to <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

    Thanks for your help!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Resolved] Problem setting up permalinks on PAGES, wp-folder/slug’ is closed to new replies.