I just moved a site to a new server.
In General Config the site index page is set to: rafting
.htaccess contains the following…
<Files rafting> ForceType application/x-httpd-php </Files>
DirectoryIndex rafting
The index file is indeed named rafting
Should be working and it was on old server but now I get 404 errors.
– Following is full .htaccess file –
<Files rafting> ForceType application/x-httpd-php </Files>
DirectoryIndex rafting
Header unset Pragma FileETag None Header unset ETag
<FilesMatch “.(jpg|jpeg|png|gif|swf|flv|ico)$”> Header set Cache-Control “max-age=31556926, public” </FilesMatch>
<FilesMatch “.(js|css)$”> Header set Cache-Control “max-age=2629743, public” </FilesMatch>
<FilesMatch “.(html|htm|txt|php)$”> Header set Cache-Control “max-age=7200, must-revalidate” </FilesMatch>
<IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/xml text/css text/plain AddOutputFilterByType DEFLATE image/svg+xml application/xhtml+xml application/xml AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript AddOutputFilterByType DEFLATE application/x-font-ttf application/x-font-otf AddOutputFilterByType DEFLATE font/truetype font/opentype </IfModule>
<Files index> AcceptPathInfo on SetOutputFilter PHP SetInputFilter PHP </Files>
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /
RewriteRule ^(.)\/(\?.)?$ $1$2 [R=301,L]
RewriteCond %{REQUEST_URI} ^/rafting/testimonials RewriteCond %{QUERY_STRING} ^testimonials.htm$ RewriteRule (.*) $1? [R=301]
</IfModule>
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.