• Hello,
    I’m using a permalink of /%post%/

    When I do that, all my posts are working fine, but the static page isn’t working. I tried with putting some numbers too, but doesn’t work either.

    Is there something that I need to do with .htaccess manually to fix this problem?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Using Permalinks does not list a %post% template for permalinks. You might try %post_id% instead.

    When you used the admin panel to set up your permalink, did it say something like this down near the bottom of the page?
    “If your .htaccess was writable we could do this automatically, but it isna€?t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.”

    If it did, then you have to create an .htaccess file in your main WordPress directory and copy/paste the info from the textbox below the statement I quoted into that new.htaccess file and save it. Some hosts don’t “show” any .htaccess or allow uploads through ftp (my host is one of them) so you have to instead use the cpanel or other filemanager access to create/update this file.

    Thread Starter marketingsyndrome

    (@marketingsyndrome)

    yes, it updated .htaccess automatically. and I meant %postname% not %post% sorry.

    hmmm anyone else?

    Thanks

    Pages aren’t posts, so %postname% won’t work for them. Pages are referred to by %page_name%. WordPress should have generated rules for %page_name%, to refer to all your static pages.

    For what it’s worth, I have the same problem. I don’t have any rules in my WP-generated .htaccess file which support %page_name%. I’m not quite sure how to do these manually, but I can probably figure this out. Maybe.

    If I ever have to fiddle with my permalink structure in the future (unlikely), it would be really nice if WP took care of that kind of thing automatically.

    Is this something that’s occuring only for some people and not others, or is it widespread?

    I’d like to bump this, as I have a similar problem. %Postname% is not working for any of my new pages. I mean, like, all the pages created AFTER I’ve updated my permalink structure all goes into 404.

    Any idea how to solve this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Static Page Permalink’ is closed to new replies.