Language switcher made has hidden:
For this go to header.phtml from /public_html/hobbies/app/design/frontend/fortis/default/template/page/html
Language switcher made has hidden:
For this go to header.phtml from /public_html/hobbies/app/design/frontend/fortis/default/template/page/html
http://www.creare.co.uk/magento-load-speed-test-comparison#################################################################### ################## Creare's Magento .htaccess File ################# #################################################################### ##### Block unwanted Bots that clog the server ##### RewriteCond %{HTTP_USER_AGENT} MJ12bot RewriteRule .* - [F] RewriteCond %{HTTP_USER_AGENT} 80legs [NC] RewriteRule ^ - [F] ##### Add support for SVG Graphics and CSS3 Pie ##### AddType image/svg+xml svg svgz AddEncoding gzip svgz AddType text/x-component .htc DirectoryIndex index.php ##### Domain-specific PHP Settings ##### <IfModule mod_php5.c> php_value memory_limit 512M php_value max_execution_time 18000 php_flag magic_quotes_gpc off php_flag session.auto_start off php_flag suhosin.session.cryptua off php_flag zend.ze1_compatibility_mode Off </IfModule> ##### Necessary redirects and rewrites for search engines ##### <IfModule mod_rewrite.c> #RewriteCond %{HTTP_HOST} !^www.yourdomain.com$ [NC] #RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L] ##### Redirect away from /index.php and /home ##### Warning: This index.php rewrite will prevent Magento ##### Connect from working. Simply comment out the ##### following two lines of code when using Connect. ##### Please note - http://www. if not using www simply use http:// RewriteCond %{THE_REQUEST} ^.*/index.php RewriteRule ^(.*)index.php$ http://www.yourdomain.com/$1 [R=301,L] ##### Please note - http://www. if not using www simply use http:// redirect 301 /home http://www.yourdomain.com Options +FollowSymLinks RewriteEngine on RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteCond %{REQUEST_URI} !^/(media|skin|js)/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule .* index.php [L] </IfModule> ##### mod_deflate compresses your output to lower the file size being sent to the client ##### <IfModule mod_deflate.c> SetOutputFilter DEFLATE BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary Header append Vary User-Agent env=!dont-vary php_flag zlib.output_compression on </IfModule> <Files *.php> SetOutputFilter DEFLATE </Files> <IfModule mod_ssl.c> SSLOptions StdEnvVars </IfModule> ##### Header Directives ##### <ifModule mod_headers.c> Header unset ETag Header unset Last-Modified </ifModule> ##### disable POST processing to not break multiple image upload ##### <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> ##### Enable apache served files compression ##### <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary Header append Vary User-Agent env=!dont-vary </IfModule> ##### Mod gzip and caching for improved site speed ##### <ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </ifModule> ##### Default expires headers for all file types ##### ##### Not recommended for development environment ##### <ifModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 seconds" ExpiresByType text/html "access plus 1 seconds" ExpiresByType image/gif "access plus 2592000 seconds" ExpiresByType image/jpeg "access plus 2592000 seconds" ExpiresByType image/png "access plus 2592000 seconds" ExpiresByType text/css "access plus 604800 seconds" ExpiresByType text/javascript "access plus 216000 seconds" ExpiresByType application/x-javascript "access plus 216000 seconds" </ifModule> ##### Mime Type Caching ##### <IfModule mod_mime.c> ##### AUDIO ##### AddType audio/mp4 m4a f4a f4b AddType audio/ogg oga ogg ##### JAVASCRIPT ##### # Normalize to standard type (it's sniffed in IE anyways): # http://tools.ietf.org/html/rfc4329#section-7.2 AddType application/javascript js jsonp AddType application/json json ##### VIDEO ##### AddType video/mp4 mp4 m4v f4v f4p AddType video/ogg ogv AddType video/webm webm AddType video/x-flv flv ##### WEB FONTS ##### AddType application/font-woff woff AddType application/vnd.ms-fontobject eot ##### Browsers usually ignore the font MIME types ##### ##### and sniff the content, however, Chrome shows ##### ##### a warning if other MIME types are used for ##### ##### the following fonts. ##### AddType application/x-font-ttf ttc ttf AddType font/opentype otf ##### OTHER ##### AddType application/octet-stream safariextz AddType application/x-chrome-extension crx AddType application/x-opera-extension oex AddType application/x-shockwave-flash swf AddType application/x-web-app-manifest+json webapp AddType application/x-xpinstall xpi AddType application/xml atom rdf rss xml AddType image/webp webp AddType image/x-icon ico AddType text/cache-manifest appcache manifest AddType text/vtt vtt AddType text/x-component htc AddType text/x-vcard vcf </IfModule> <IfModule mod_mime.c> AddCharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml </IfModule> ##### Disable ETags http://developer.yahoo.com/performance/rules.html#etags ##### FileETag None ##### Prevent character encoding issues from server overrides ##### AddDefaultCharset Off #AddDefaultCharset UTF-8 ##### Force IE8 compatibility when using IE8+ ##### ##### May cause issues within Windows Mobile Browsers ##### BrowserMatch MSIE best-standards-support Header set X-UA-Compatible IE=8 env=best-standards-support ##### By default allow all access ##### Order allow,deny Allow from all
When Magento is not set up correctly, it will run slowly since it is a ‘heavy’ eCommerce CMS system. Even the most experienced web developers might miss the not so obvious settings to increase the speed and performance of Magento for faster page loads if unfamiliar with the platform.
Methods to increase Magento’s performance and other PHP based CMS systems can range from Magento’s admin to server or hosting settings. The latter is most commonly missed andgreatly increases page-load speed.
Here are 4 simple but effective ways to improve Magento’s performance:
Related: Magento PHP Developer’s Guide
In Magento admin, (top menu) System > Configuration, (left nav) Catalog > Catalog, (main page) Frontend. Set “Use Flat Catalog Category” and “Use Flat Catalog Product” to “Yes“.
Attributes that apply to Categories and Products are stored in separate database tables depending on their dataypes. ‘Flattening’ will put all attributes in one table for Magento retrieve. This will have a positive impact on site speed especially if it has 1,000 or more products
In Magento admin, (top menu) System > Configuration, (left nav) Advanced > Developer, (main page) JavaScript Settings, CSS Settings. Set “Merge Javascript” Files and “Merge CSS” Files to “Yes”.
A Magento site can have many CSS and javascript files and there will be more that come with extensions and site customizations. Doing step #2, will combine all CSS and javascript intoone file which will make each page load faster.
In Magento admin, (top menu) System > Tools > Compilation, click Enable. This will take all the active scripts in Magento’s core structure and bring them to the front for faster website speed.
If updates, code modifications, extension installations are needed, Compilation needs to bedisabled first. If not, there will be errors.
When all other settings are in place and the site is ready to go live, go to System > Cache Management. Select all items, set the Action dropdown to “Enable” then hit Submit
The above settings will help increase the performance of an average Magento website. Those who are accustomed to server administration can do more. There are caching extensions that can be incorporated within Magento’s configuration file and other server tricks to speed up Magento.
Magento theme design integration Create custom.css and upload and then go to system->configuration->themesettings->customized settings and enable it changed home page in to 2 coloumn ist and then added sliderwrapper class in 2coloumn.phtml page changing slider in slider there is 3 blocks eg:- block_slide_s1_1, find this block in static block and edit content and change image url and upoad image in media->default->slideshow for adding product add all mandatory field then inventory set as instock and qty morethan 0 and then got website tab and enable to main website Header all things enabling like color and all in theme settings footer content all we can do as foot tab
theme installation error innodb:
Go To Line 59 of the file app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php Replace:
With this:
|
Recent Comments