WordPress.org

Support

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

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.

    Thanks

    Linards

Viewing 2 replies - 1 through 2 (of 2 total)
  • DoubleDigits
    Member

    @doubledigits

    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

    Thanks,

    I did put the code

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

    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.