• Resolved craig.keefner

    (@craigkeefner)


    Only “Default” PermaLinks work..Looked at htaccess and also httpd.conf and baffled. 404 Not Found. All I can think is canonical somehow problem. Surely it is something simple I have neglected in my first WP install. Otherwise I think I need to install AskApache-Debug?

    The apache module for rewrite is active/works though it is not a .c file but a .so file

    Craig

    Running WP 3.8.1
    Apache/2.2.15 (CentOS) Server
    .htaccess
    # 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

    httpd.conf (xxxxx.xxx subbed for actual servername)
    <VirtualHost *:80>
    ServerName xxxxxx.xxx
    ServerAlias https://www.xxxxx.xxx
    DocumentRoot /var/www/html/sites/xxxxx.xxx
    ErrorLog logs/xxxxx.xxx-error_log
    CustomLog logs/xxxxx.xxx-access_log common
    RewriteEngine On
    RewriteOptions Inherit
    AllowOverride All
    </VirtualHost>

Viewing 4 replies - 1 through 4 (of 4 total)
  • Check that mod_rewrite is running on your server.

    Thread Starter craig.keefner

    (@craigkeefner)

    It’s loaded and running. I’ll write up something to actually test it and make it do it.

    Craig

    Now from command line you should enable rewrite_mod by typing (you need to be root)
    a2enmod rewrite

    and then restart apache by
    /etc/init.d/apache2 restart

    Thread Starter craig.keefner

    (@craigkeefner)

    Nope. Thanks but something else. This is Centos so that A2 module doesn’t exist. Problem was in the httpd.conf there is a specific location where the OverrideAllow All has to go. I had it in the Virtual Host section so no workey.. All fixed and rewriting…

    Problem solved solution fixed. Human ignorance though that conf file is super long. I also needed in the default Centos Apache install add in the DOM module for SEO Yoast to php.ini to wrap up detail.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Permalinks – Postname Not Found’ is closed to new replies.