Support » Themes and Templates » Changing Permalink from ID to NAME

  • Hi,

    Im newbie to WP.

    Im trying to set the Permalink from ?page_id=8 in this case to blog URL. But when I change the settings to Post Name, the page is not displayed (Not Found) on this server. When I change back to DEFAULT in settings, its all fine. Im working on localhost.



Viewing 2 replies - 1 through 2 (of 2 total)
  • Make sure your .htaccess is writable. That often happens when you change to postname style permalink structure. When you change it, it should show you the code if it is not writable.

    Take that code and put it into your .htaccess


    I did put the code

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . / [L]

    in the.htaccess file, still nothing.

    And as well, it was without the code snippet, had to get it from Codex.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing Permalink from ID to NAME’ is closed to new replies.