Grow your CSS skills. Land your dream job.

WP permalink postname

  • # January 2, 2009 at 1:26 pm

    I set up my HTML code to go to /about/ and went into admin and changed my permalink to %postname% and it is still not working. I have a page I made named About so it is there. When I click on the link it does go to http://www.linkcreativedesign.com/About/ but says page not available.

    I dunno if it has to do with changing the .htaccess file but in the tutorial Chris says it should do it automatically. Im on the latest version of WP.

    any ideas?

    # January 2, 2009 at 1:44 pm

    Ok so I went into my WebShell, downloaded my .htaccess file, added this

    (RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Which wordpress told me it didnt have access to automatically update and to ad this. I also have checked to allow groups and others to have writting access to it once I re uploaded the .htaccess file and its still not working.

    There is a difference though.. the background of my site stays.. it just shows 404 not found in the browswer tab.. and of course does not show the "about" page content.

    # January 2, 2009 at 1:52 pm

    Well nevermind I got it. Thanks yo! ;)

    I would like feedback on how I fixed it as it is different than what Chris put..

    for the permalink I put /%pagename% instead of /%postname% Chris Says to put postname…

    really none of the WP-instructions mentions /%pagename% as an option, I just kinda took a shot in the dark, along with adding the code it told me to ad to the htaccess file and all fixed..

    Thoughts?

    # January 2, 2009 at 2:07 pm
    "LinCSS25" wrote:
    Well nevermind I got it. Thanks yo! ;)

    I would like feedback on how I fixed it as it is different than what Chris put..

    for the permalink I put /%pagename% instead of /%postname% Chris Says to put postname…

    really none of the WP-instructions mentions /%pagename% as an option, I just kinda took a shot in the dark, along with adding the code it told me to ad to the htaccess file and all fixed..

    Thoughts?

    it all depends if you write a page or post, they are different

    # January 2, 2009 at 2:14 pm

    well I did write a page. and I thought that is what Chris does in the tutorial. put he pust /%postname%

    # January 2, 2009 at 3:32 pm
    "LinCSS25" wrote:
    well I did write a page. and I thought that is what Chris does in the tutorial. put he pust /%postname%

    just remember that wordpress has the ability to write pages and posts, if i remember correctly, the tut that chris done was for showing wordpress can be used as a cms.

    # January 2, 2009 at 4:26 pm

    exactly, thats why I was making pages, to learn how to use wordpress as a CMS for my website, WITH a blog. Thats why I’m curious as to why he showed doing %postname% for the permalink when he made pages too. oh well it works whatever..

    # August 17, 2009 at 9:12 am

    Hey, in my case %postname% works perfectly fine.. though I was unable to edit the .htaccess file at first.. but after adding that mod rewrite code [which I found here :P], its working fine now.. :) Thanks..

    # March 18, 2011 at 10:18 am

    You can use %postname% as your permalink and it should work for both posts and pages.

    You mention your page being named About, but your link is looking for about. Notice the capital letter vs lowercase letter.

    Go to your About page in Edit Pages and see if the url matches.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".