• Resolved julj

    (@julj)


    hi

    when using the default permalink settings (e.g. <url>/?p=1) the permalink for a page works ok, but when using a custom one (/%category%/%postname%), the permalink (e.g. <url>/contact) returns “The page cannot be found”.

    any suggestion?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Set your desired permalink to your desired one and add this code in htaccess file:

    # BEGIN WordPress

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

    # END WordPress

    Thanks,

    Shane G.

    Did you make your .htaccess file writable and changed the permalink structure from the admin pages?

    Alternately, did you copy+paste the snippet to the .htaccess file?

    S.K

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘default permalink ok but custom one does not work’ is closed to new replies.