Tag Archives: SEO

vQmod: Add store title to all pages in opencart

How do I add my store’s name to all pages (product, manufacturer, information etc) in Opencart?

Examples:
Product Name | My Store Name
Manufacturer Name | My Store Name
Account Login | My Store Name

Here is a quick vQmod extension for opencart which adds your store’s name automatically to all pages (for SEO).

Open your favorite editor (e.g sublime), create the

system_library_store_name_in_page_title.xml

copy the xml code below, paste it in you file, save it and upload it to

/vqmod/xml

folder inside your opencart installation. Do not forget to replace ” | My Store Name” with yours.

<?xml version="1.0" encoding="UTF-8"?>
<modification>
<id>Add Store Name at the end of title tag</id>
<version>1.0</version>
<vqmver required="true">2.4.0</vqmver>
<author>nikos.branis [at] kanenas.net</author>
<file name="system/library/document.php" error="log">
<operation error="skip">
<search position="replace"><![CDATA[$this->title = $title;]]></search>
<add><![CDATA[$this->title = $title . ' | My Store Name';]]></add>
</operation>
</file>
</modification>

Tested in Opencart v.1.5.5.1, v.1.5.6.1 but I think it will work for all versions between them.

TODO: Make this vQmod work for more than one language (multi-language stores).

1 Star2 Stars (+57 rating, 29 votes)
Loading...

WordPress permalinks with Greek/Russian/Arabic characters

Server Settings
OS: Linux
HTTP Server: Apache2
Database: MySQL (utf-8)
Scripting Language: php 5
Software: wordpress 3.0.4 – wp-confing.php

define('DB_CHARSET', 'utf8');

Create an .htaccess file in your root directory ( e.g www.example.com/ )

vi .htaccess #(you may have to sudo or su)

Add the following lines in the file .htaccess file…

# Disable Directory Browsing
Options All -Indexes
# Secure access to .htaccess files
<Files .htaccess>
order allow,deny
deny from all
</Files>

Save the file and exit vi (:wq).
You may have to give full access rights to .htaccess!?

chmod 777 .htaccess #(you may have to sudo or su)

Open your favorite browser, go to your www.example.com/wp-admin section then choose

Settings -> Permalinks

and apply your custom structure…

( e.g /%year%/%monthnum%/%postname%/ )

Save Changes

IMPORTANT
Remove the full access rights from .htaccess!

chmod 644 .htaccess #(you may have to sudo or su)

You are done! Enjoy your wordpress custom permalinks in your preffered language.

I have test it with greek, russian and arabic and worked as a charm!
See an example…
http://www.my-soul.net/blog/

😉

1 Star2 Stars (+40 rating, 18 votes)
Loading...