Support » Fixing WordPress » Permalinks 404 error

  • Resolved emu8888

    (@emu8888)


    Hello,

    I am just trying to switch between the permalink options given by wordpress (ultimately I just want to swap page ID with page name).

    I have the following code in .htaccess in htdocs file but still getting 404 error – what else do I need? Thanks

    # BEGIN WordPress

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

    # END WordPress

Viewing 3 replies - 1 through 3 (of 3 total)
  • In your Dashboard, go to

    Settings >> Permalinks

    And in Custom Structure put

    /%postname%/

    Hi there, yep I can do that (and it creates the url I want) but when I look up a page I get a 404 error:

    Not Found
    The requested URL /workshops/ was not found on this server.
    Apache/2.2.3 (CentOS) Server at http://www.duet-studio.com Port 80

    i.e. its not a problem with whats in Settings/Permalinks its something to do with rewriting urls? (I’ve already edited the .htaccess file)

    Any help appreciated.

    Aha got my host to sort it out, something not enabled on their side.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Permalinks 404 error’ is closed to new replies.