Hi @jostill,
It seems there is some extra rule is defined under the .htaccess file.
You can delete the .htaccess file and reset the permalink option again.
Or you can also post the code, I will check and advise.
Let me know if you have any further query.
Thanks
Hi all
same problem with my website. I changed back to permalink structure before and this works fine. I deleted .htaccess file and reset the permalink option once again. This results in 404 for all pages except homepage itself. So no clue why this happen. Changed again back to old permalink structure – it works
# Use PHP5.6 as default
AddHandler application/x-httpd-phpbeta .php
# BEGIN W3TC Browser Cache
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
<FilesMatch “\.(html|htm|rtf|rtx|svg|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|TXT|XSD|XSL|XML)$”>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
</FilesMatch>
<FilesMatch “\.(bmp|class|doc|docx|eot|exe|ico|webp|json|mdb|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|WEBP|JSON|MDB|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$”>
<IfModule mod_headers.c>
Header unset Last-Modified
</IfModule>
</FilesMatch>
# END W3TC Browser Cache
# 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
# TURNED FCGI ON TO REDUCE RESOURCE USAGE
# Changed PHP handler from fcgid-script to application/x-httpd-php56 on Wed Oct 19 09:39:14 MDT 2016.
# Changed PHP handler from application/x-httpd-php56 to application/x-httpd-phpbeta on Wed Oct 19 09:40:52 MDT 2016.
AddHandler application/x-httpd-phpbeta .php
Hi
Thanks for your reply.
I’ve posted the code because I changed the name of the HTaccess file and it then stopped the site working altogether. Presumably you meant replace the file with a new version (it needs one to keep functioning right?) Sorry I’m not too sure on HTaccess files…
When browsing through the files via ftp I can see there are some other files .htaccess.bak.1450224831 underneath the original – presumably they are versions from backups I have made?
-
This reply was modified 9 years, 2 months ago by
jostill.
Hi,
I’m bumping this because it’s still not resolved… Thanks, Jo
Found a fix for my issue, which might be of use to you. When I looked at the links for the menu/sub item pages the link for all the menu items had been changed to menus rather than menu during the permalink update? Manually fixed all these and now it works! Woop, woop!