Posts

Important Point about Multi store in Opencart

Main Store should to be in root folder like /public_html/ While adding new store in Opencart Admin URL must to be like this http://blumats.devinlabs.com/ not like this http://blumats.devinlabs.com Since by default opencart not assign any product or store so you would have to assign manually categories,product,module each thing sepreatly to new store.

Hindi Language or any other language than English making problem with Captcha code in Website Showing Quirks mode

Image
Select Encoding type of code as Encode in UTF-8 without BOM instead of   Encode of UTF-8 It will solve the problem with the translation of any page in any language  There is also given some Locale code of language list here:- Locale Code of all language What's different between UTF-8 and UTF-8 without BOM? Short answer: In UTF-8, a BOM is encoded as the bytes EF BB BF at the beginning of the file. Long answer: Originally, it was expected that Unicode would be encoded in UTF-16/UCS-2. The BOM was designed for this encoding form. When you have 2-byte code units, it's necessary to indicate which order those two bytes are in, and a common convention for doing this is to include the character U+FEFF as a "Byte Order Mark" at the beginning of the data. The character U+FFFE is permanently unassigned so that its presence can be used to detect the wrong byte order. UTF-8 has the same byte order regardless of platform endianness, so a byte order mark isn&#

Opencart Admin Login problem if username and password is still correct

I found I am not able login Opencart Admin since Username and Password is correct. This is problem due to root htaccess is redirecting to https:// and my sub folder have no any htaccess so if in our code have http:// URL setting then it will redirect https:// and cann't login to Admin if user and password is correct. it would only redirect to login page again and again. SOLUTION:-  1. put htaccess in subfolder OR WE CAN TRY 2. make url as http:// to https:// so that it will work for both. 

Change Localhost Apache XAMPP Port 80 to 1234

Note:-   From This Process You can install multiple Xampp in Single Computer or Drive. 1. Open XAMPP Control Panel. 2. To    O pen the Apache "httpd.conf" file   click the “Config” button next to Apache “Start” and “Admin” buttons in Xampp Control Panel that would be like this :- Apache(httpd.conf) In the popup menu that opens, click and open httpd.conf 3.  Within the httpd.conf file search for “listen”. You’ll find two rows with something like; #Listen 12.34.56.78:80 Listen 80 Change the port no to a port no. of your choice (e.g. port 1234) like below #Listen 12.34.56.78:1234 Listen 1234 4. Next, in the same httpd.conf file look for “ServerName localhost:” Set it to the new port no. ServerName localhost:1234 5.  Save and close the httpd.conf file. 6.  Now click the Apache config button again and open the “httpd-ssl.conf” file. 7. In the httpd-ssl.conf file, look for “Listen” again. You may find: Listen 443 Change it to listen on a new port no o

Make URLs seo friendly in Opencart in Live or Localhost in just few steps

LIVE  1. Rename your OpenCart .htaccess.txt file to  .htaccess 2. Do this given below changes in HTACCESS For stores installed in a subdirectory (i.e.  www.yoursitename.com/store/ ) Change  RewriteBase /   to   RewriteBase /store/ in HTACCESS For stores installed in a rootdirectory (i.e.  www.yoursitename.com/ )   For stores installed in a rootdirectory (i.e.  www.yoursitename.com/ ) Don't change anything in HTACCESS 3.  OpenCart admin panel and go to:  System->Settings->Edit->Click the “Server” Tab . The top option should be the one named “Use SEO URL’s”, simply click that to Yes and click Save. LOCALHOST 1. Rename your OpenCart folder .htaccess.txt file to  .htaccess 2. Do this given below changes in HTACCESS For stores installed in a subdirectory (i.e.  http://localhost/opencartstore ) Change  RewriteBase /  to   RewriteBase / opencartstore /  in HTACCESS Remember we have http://localhost/  is here wo

Redirect non-www to www URL's using htaccess and Vice Versa

# Redirect non-www to www: RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] www to non-www # Redirect www to non-www RewriteCond %{HTTP_HOST} ^www\.(.*) [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L] Or try this link http://www.thesitewizard.com/apache/redirect-domain-www-subdomain.shtml

IP canonicalization

Image
IP canonicalization is a technique sometimes used for SEO (search engine optimization). When a site's IP address is canonicalized, the IP address redirects to the domain name.