Posted In:SEO Archives - OpenCart Solution

standard

SEO URL for OpenCart Pages 2.X.X

October 6, 2016 - By 

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


standard

Free SEO URL for OpenCart Pages

June 18, 2015 - By 

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 🙂


Categories

Visit our Sponser’s Ads