• Need help with permalinks for Unix server. Pages aren’t directing correctly. I’ve tried to update wp-config, web.config, and htaccess. You can see at https://www.sensorwise.com that the homepage is appearing but as you scroll through the navigation bar the pages don’t appear. But they are available when I change the permalinks to default. Any help is much appreciated!

    I have my web.config written as below:

    <?xml version=\”1.0\” encoding=\”UTF-8\”?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <rule name=\”wordpress\” patternSyntax=\”Wildcard\”>
    <match url=\”*\”/>
    <conditions>
    <add input=\”{REQUEST_FILENAME}\” matchType=\”IsFile\” negate=\”true\”/>
    <add input=\”{REQUEST_FILENAME}\” matchType=\”IsDirectory\” negate=\”true\”/>
    </conditions>
    <action type=\”Rewrite\” url=\”index.php\”/>
    </rule></rules>
    </rewrite>
    </system.webServer>
    </configuration>

    .htaccess written as below:

    # 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

Viewing 1 replies (of 1 total)
  • I’ve tried to update wp-config, web.config, and htaccess

    web.config is for an IIS install (remove it)
    .htaccess is for a Linux install. (your version is improper, see this.

    According to this you are on Apache so you want a .htaccess file in root of wp install and to inquire with host if mod.rewrite.c module is active for your hosting account.

    Also, you are running an outdated version of WP. I suggest for the security of your site visitors that you update as soon as possible.

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks for Unix Server’ is closed to new replies.