This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---------------------------------------------------------------------- | |
# | Cleaning URLs | | |
# ---------------------------------------------------------------------- | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
# Remove www from URL's | |
RewriteCond %{HTTP_HOST} ^www\.(.+) | |
# RewriteCond %{HTTPS}s/%1 ^(on(s)|offs)/(.+) | |
RewriteRule ^ http%2://%3%{REQUEST_URI} [L,R=301] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#browser").val(navigator.userAgent); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# turn on mod_rewrite | |
RewriteEngine On | |
RewriteBase / | |
# ensure our url always has www | |
RewriteCond %{http_host} ^blahblah.co.nz | |
RewriteRule ^(.*)$ http://www.blahblah.co.nz/$1 [R=301,L] | |
# make sure index.php is always removed from url | |
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s/+index\.php(/[^\s\?]+)? [NC] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Update all Modules, Extensions & Fieldtypes to latest versions. | |
- Uninstall Structure, Publish Tweaks & Safe Segments, Low NoSpam. | |
- LG Better Meta - http://ee-garage.com/nsm-better-meta/user-guide#toc-updating_lg_better_meta | |
- Plan the nGen File Field SQL Queries. Example below. | |
- Change all nGen fields to 'text' to ensure data isn't loss.. | |
- Templates to DB manually turn off save as file and update. | |
- Remove all Cache. | |
- Back Up everything. | |
- Update to EE2. | |
- Updated all Modules & Extensions to EE2 versions. |