jostill
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Error 404 after changing permalinkFound 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!
Forum: Fixing WordPress
In reply to: WordPress Error 404 after changing permalink on some pagesBrilliant! Thank you. It wasn’t quite the fix but it did lead me to the fix. For some reason 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!
Thanks for your reply.
Forum: Fixing WordPress
In reply to: Error 404 after changing permalinkHi,
I’m bumping this because it’s still not resolved… Thanks, Jo
Forum: Fixing WordPress
In reply to: Error 404 after changing permalinkHi
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, 1 month ago by jostill.
Forum: Fixing WordPress
In reply to: Error 404 after changing permalink# 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