Viewing 3 replies - 1 through 3 (of 3 total)
  • Try resetting your custom permalinks back to the default setting and deleting/renaming your WordPress .htaccess file. If this works, then review Using_Permalinks before setting a custom permalink structure back up again.

    Thread Starter baemiller

    (@baemiller)

    I reset the Permalinks to default, and it did correct the issue. Why would it allow it for the posts but not the pages? All the posts are fine.

    Thread Starter baemiller

    (@baemiller)

    Here is my htaccess file. What do I need to change to make the Permalinks work for pages?

    # -FrontPage-
    
    RewriteEngine On
    RewriteBase /
    #RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]p
    
    # BEGIN WordPress
    
    # END WordPress
    <code></code>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘404 Error When Publishing Pages’ is closed to new replies.