• When enabling Permalinks, if I use:

    /%postname%/

    I get the notorious “The Requested URL /blah/blah/blah was not found on this server.

    If I use:
    /index.php/%postname%/

    it works, but of course index.php appears in the address bar on all pages.

    We have Worpress installed in /opt/ on our Linux server. Been messing with .htaccess and everything else, no joy. This is a new clean install with no plugins activated.

    Thinkin it’s a path thing but I can’t figure it out.

    Thanks;

Viewing 2 replies - 1 through 2 (of 2 total)
  • https://codex.www.ads-software.com/Using_Permalinks
    “Make sure to end your structure with either %post_id% or %postname% (e.g. /%year%/%monthnum%/%day%/%postname%/) so that each permalink points to an individual post.
    For performance reasons, it is not a good idea to start your permalink structure with the category, tag, author, or postname fields. The reason is that these are text fields, and using them at the beginning of your permalink structure it takes more time for WordPress to distinguish your Post URLs from Page URLs (which always use the text “page slug” as the URL), and to compensate, WordPress stores a lot of extra information in its database (so much that sites with lots of Pages have experienced difficulties). So, it is best for the first structure tag to be a numeric one, such as /%year%/%postname%/. (Some people recommend /%post_id%/%postname%/ which works for performance reasons but others recommend against it because it is unfriendly to users in the many contexts in which users interact with URLs.) See Otto’s technical writeup on the topic as well as this wp-testers discussion.”

    Try that…

    Thread Starter toleolu

    (@toleolu)

    I can use any combination of wild cards for the permalinks and they don’t work. The only thing that works is if I use index.php first. Then it works.

    This stuff about the Directory Options to FollowSymLinks, and file info directives is a bit confusing. I have <Directory /opt/chaz/wordpress2>
    Options Indexes FollowSymLinks
    </Directory>

    But that doesn’t fix the problem and I have to confess I am not sure where the File Info directive is suppose to go or what the proper syntax is as the documentation on Using Permalinks assume a level of techinical expertise that I, unfortunately do not pocess. Could someone do a noob a solid and post what the .htaccess file should look like so these permalinks will work. Much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What's wrong with my Permalinks’ is closed to new replies.