Permalinks do not work
-
We are self hosting on a dedicated Linux machine using Apache 2.4
Our wordpress site is installed into$DocumentRoot/wordpress
Wordpress Address ishttps://bl1231.als.lbl.gov/wordpress
Site Address ishttps://bl1231.als.lbl.gov/
The Plain Permalink style works, but whenever I switch it to anything else none of the links work and we are inundated with 404s.
I did follow these instructions as best I could. In particular I copied the
wordpress/index.php
andwordpress/.htaccess
into the DocumentRoot of the website.We have tried disabling ALL plugins, but the problem persists.
Currently I have the pre-formated “Day and name” permalink style enabled and this appears to have created the following
.htaccess
file in my DocumentRoot:# BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
In some instructions I’ve been told to have this .htaccess file:
<IfModule mod_rewrite.c> RewriteEngine Off RewriteCond %{HTTP_HOST} ^(www.)?bl1231.als.lbl.gov$ RewriteCond %{REQUEST_URI} !^/wordpress/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /wordpress/$1 RewriteCond %{HTTP_HOST} ^(www.)?bl1231.als.lbl.gov$ RewriteRule ^(/)?$ wordpress/index.php [L] </IfModule>
But this also does not help with the permalink issue.
Any advice or suggestions would be greatly appreciated.
The page I need help with: [log in to see the link]
- The topic ‘Permalinks do not work’ is closed to new replies.