• Resolved pheadirean

    (@pheadirean)


    Hi
    When I use default permalinks, (format http://www.mysite.com/?page_id=nn) no issue.
    When I change this to use postname, I get 404 errors; instead of my pages being displayed. My links appear OK when displayed, just that the pages do not appear.
    I also get this error when I “preview” my pages at entry time.
    I have read the Permalinks instructions on this forum.
    My .htdocs appears OK – this based on WordPress documentation.
    My site is
    http://www.chapt3r1.com
    Permalinks are currently set to /%postname%/ to show errors
    To see this working, please choose drop down menu items along Main bar from Home page.
    (I am using Responsive Child Theme!)
    I would really, really appreciate any suggestions regarding how to troubleshoot this.
    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    When I change this to use postname, I get 404 errors

    Can you confirm that you have mod_rewrite enabled and your WordPress directory has AllowOverride All in the <Directory> section?

    Usually it’s one of those that stops fancy permalinks from working.

    Thread Starter pheadirean

    (@pheadirean)

    Thank you for the help. My .htaccess file contains

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

    # END WordPress

    I cannot see the AllowOverride, but I have a development URL on the same server and it is working fine, with postname Permalinks enable

    http://chapterone.richpat.com

    Hi,

    I think (but I may be wrong) that Jan was talking about the mod_rewrite of apache, not the one in the .htaccess file.

    Because I got the exact same problem as you and I solve it by activating the mod_rewrite in apache following this tuto (sorry it’s in french) : Installer et activer le module mod_rewrite sur Apache et Ubuntu

    Thread Starter pheadirean

    (@pheadirean)

    Jan and Just2Help. Thank you.
    I did not resolve this; but made another plan. I am closing this as a result. I suspect the problem is because of something I did. I just do not want to spend the time troubleshooting.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Permalink by Postname issue’ is closed to new replies.