Posted In:All Problems Archives - OpenCart Solution
SEO URL for OpenCart Pages 2.X.X
Guide for making SEO Friendly URL for OpenCart Version 2.0.We will give you step wise direction to make your site friendly with search engine . Very easy steps to follow if you are having any trouble you can get our premium service for a small price. Let us know.
Premium OpenCart Plugins
Experience OpenCart Developer Service
To Check how it works on OpenCart 1.5x + Please Click here
This is for For OpenCart 2.x.x – Check Step by step how it works ?
You can convert the opencart URLs such as:
http://mydomain.com/index.php?route=product/category&path=20
to their seo friend url like below:
http://mydomain.com/laptop-notebook
Steps to follow
1. Configure your OpenCart 2 .htaccess File
OpenCart 2 installation archive contains a file called .htaccess.txt. SEO URLs working. First, you will need to rename the file and change its name from:
.htaccess.txt >>> to >>> .htaccess
2. Activate the SEO URLs
Please login your OpenCart 2 admin dashboard and Go to the Settings >> Store list, please click on the edit icon and refer to the >> Server tab >> from the top navigation.
From the Server tab locate the Use >> SEO URLs radio button and set it to ‘Yes’.
Save your changes and check your OpenCart store frontend to make sure that the SEO URLs are properly working.
That’s all hope this help you lot
How to Speed Up OpenCart Website ?
Free Tips on one of major problem in OpenCart is to load fast so here we have described how you can speed up OpenCart Website easily with few steps.
If you have read some blogs already to speed up OpenCart eCommerce Website then i think you might have learn what is the main problem with current opencart Script. So here are the main key things that need to be fixed. Before you start please do backup of your files which you will edit so that you might not be in trouble late on. But this is tested steps which we have mentioned here.
Hosting Plays very important role and for optimised opencart Server You should check Best OpenCart hosting Solutions provider.
Step1 : Remove Product Counts from category name and top menu bar
For above thing you can use this module.You can try Free OpenCart Modules as well
Step 2: Enable Browser Cache
Add this code in your root directory of .htaccess file.
## EXPIRES CACHING ## ExpiresActive On ExpiresByType image/jpg "access plus 1 week" ExpiresByType image/jpeg "access plus 1 week" ExpiresByType image/gif "access plus 1 week" ExpiresByType image/png "access plus 1 week" ExpiresByType text/css "access plus 1 week" ExpiresByType application/pdf "access plus 1 week" ExpiresByType text/x-javascript "access plus 1 week" ExpiresByType application/x-shockwave-flash "access plus 1 week" ExpiresByType image/x-icon "access plus 1 week" ExpiresDefault "access plus 1 week" ## EXPIRES CACHING ##
Step 3: GZIP COMPRESSION
# compress text, HTML, JavaScript, CSS, and XML 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 # remove browser bugs BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent
Step 3: LOAD JAVASCRIPT ASYNCHRONOUSLY
You need to this in header.tpl of your theme folder
catalog/view/theme/[YOUR THEME]/common/header.tpl
This will help you to increase atleast 40% to 50% speed. If you need any help or increase speed you can avail our Premium Service. .
Or Try some Premium Plugin to optimized your website
Please get a free quote.
New lauch of Opencart Support Team Experts
We are a team of OpenCart Experts from INDIA providing opencart service since last 5 years in very reasonable price with deadline following system. It has been a good experience since then . Bivek of one our Senior in OpenCart Expert helps his junior to work with your projects on deadline with proper and best service ever.
Hope we can make our best in OpenCart eCommerce Industry.
Free SEO URL for OpenCart Pages
Today we will guide you how to make your standard Homepage, Login Page, Contact Page and any other Particular to SEO Friendly URL. We have applied this one many client website and it worked very well. You just need to edit your SEO URL PHP Page no need of redirection through .htaccess file. It is easiest way to make FREE SEO URL for OpenCart Pages.
Premium OpenCart Plugins
Experience OpenCart Developer Service
Download Free html Templates
To Check how it works on OpenCart 2.0x + Please Click here
This is for For OpenCart 1.5x – Check steps How it works
Step 1) Rename htaccess.txt to htaccess from ftp server (main directory)
Step 2. Go to Admin Panel of Opencart and
Navigate to System > Settings and click Edit button
3 Step >> Server tab, set Use SEO URL’s to Yes and Save the changes.
Final Steps
Now you can write seo keyword SEO Keyword to each category and product in your store.
Navigate to Catalog > Products to update products SEO Keyword
You should edit product, select Data tab and fill in SEO Keyword field.
To add category SEO Keywords you should edit each category under Catalog > Categories, select
Data tab and update SEO Keyword field.
Let us know if it helps or not do share with Social Media
If you also want to make your Page like Home , Contact and Login as SEO URL then try this
By default –
www.[DOMAIN NAME].com/index.php?route=common/home
www.[DOMAIN NAME].com/index.php?route=information/contact
www.[DOMAIN NAME].com/index.php?route=account/login
Now you want to change this url to like this
You want like this –
www.[DOMAIN NAME].com/contact
www.[DOMAIN NAME].com/home
www.[DOMAIN NAME].com/login
Here is the steps to make it work :
Go to this file location : catalog/controller/common/seo_url.php
And Add following code after certain line no.
1st Step :After this line no 2 :
class ControllerCommonSeoUrl extends Controller {
Add this line :
/* SEO Custom URL */
private $url_list = array (
'common/home' => '',
'checkout/cart' => 'cart',
'account/register' => 'register',
'account/wishlist' => 'wishlist',
'checkout/checkout' => 'checkout',
'account/login' => 'login',
'product/special' => 'special',
'affiliate/account' => 'affiliate',
'checkout/voucher' => 'voucher',
'product/manufacturer' => 'brand',
'account/newsletter' => 'newsletter',
'account/order' => 'order',
'account/account' => 'account',
'information/contact' => 'contact',
'account/return/insert' => 'return',
'information/sitemap' => 'sitemap',
'account/logindata' => 'support',
);
/* SEO Custom URL */
2nd Step : After this line no 116 or
unset($data[$key]);
}
add this
/* SEO Custom URL */
if( $_u = $this->getURL($data['route']) ){
$url .= $_u;
unset($data[$key]);
}/* SEO Custom URL */
3rd Step : After this line no 146 or
return $url_info['scheme'] . '://' . $url_info['host'] . (isset($url_info['port']) ? ':' . $url_info['port'] : '') . str_replace('/index.php', '', $url_info['path']) . $url . $query;
} else {
return $link;
}
}
Add this
/* SEO Custom URL */
public function getURL($route) {
if( count($this->url_list) > 0) {
foreach ($this->url_list as $key => $value) {
if($route == $key) {
return '/'.$value;
}
}
}
return false;
}
public function setURL($_route) {
if( count($this->url_list) > 0 ){
foreach ($this->url_list as $key => $value) {
if($_route == $value) {
return $key;
}
}
}
return false;
}/* SEO Custom URL */
Thanks all Enjoy 🙂
0 comments