The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Changing Permalink from ID to NAME (3 posts)

  1. Linards
    Posted 3 years ago #


    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.



  2. DoubleDigits
    Posted 3 years ago #

    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

  3. Linards
    Posted 3 years ago #


    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]

    in the.htaccess file, still nothing.

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

Topic Closed

This topic has been closed to new replies.

About this Topic