seo

SEO: URL Rewrite for 4images

Well, I just have done optimize SEO for one of my website using 4images gallery system it’s on https://www.innovativedesktop.com basically I play with meta title, keywords, and description. And now I’m using URL rewrite. URL look cool and more search engine friendly I believe after a week or month it will indexed in lot of search engine 😀

Here is the way for you’re to using URL rewrite on 4images to make it more search engine friendly REMEMBER this will eat CPU resources. (before you doing this I recommended to backup your files first). Any alternative you can learn about URL rewrite yourself to make it works as you want (google is the best teacher).

1. You need to make .htaccess file and put this code on it

RewriteEngine On
RewriteRule ^lightbox\.html$ lightbox.php?%{QUERY_STRING}
RewriteRule ^lightbox\.([0-9]+)\.html$ lightbox.php?page=$1&%{QUERY_STRING}
RewriteRule ^search\.html$ search.php?%{QUERY_STRING}
RewriteRule ^search\.([0-9]+)\.html$ search.php?page=$1&%{QUERY_STRING}
RewriteRule ^postcard([a-zA-Z0-9]+)\.html$ postcards.php?postcard_id=$1&%{QUERY_STRING}
RewriteRule ^postcard\.img([0-9]+)\.html$ postcards.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^k_(.*)_([0-9]+).html categories.php?cat_id=$2&%{QUERY_STRING}
RewriteRule ^r_(.*)_([0-9]+).html details.php?image_id=$2&%{QUERY_STRING}
RewriteRule ^r([0-9]+).search.html details.php?image_id=$1&%{QUERY_STRING}

2. Open /include/sessions.php before the last line add this code

//Mod_bmollet
/**
* Get the category url
* @param int $cat_id The id of the category
* @param string $cat_url The current status of the URL
*/
function get_category_url($cat_id,$cat_url = ”)
{
global $site_db;
$sql = “SELECT cat_name,cat_parent_id FROM “.CATEGORIES_TABLE.” WHERE cat_id = ‘”.$cat_id.”‘”;
$result = $site_db->query($sql);
$row = $site_db->fetch_array($result);
$row[‘cat_name’] = strtr($row[‘cat_name’], “ABCDEFGHIJKLMNOPQRSTUVWXYZ”,”eeeaeauoiaabcdefghijklmnopqrstuvwxyz”);
$cat_url = ‘_’.str_replace(‘+’,’_’,urlencode($row[‘cat_name’])).’_’.$cat_id.$cat_url;
// if you want full path of category in url, put next line in comment
return $cat_url;
if( $row[‘cat_parent_id’] != 0)
{
return get_category_url($row[‘cat_parent_id’],$cat_url);
}
else
{
return $cat_url;
}
}
//Mod_bmollet
/**
* Get the image url
* @param int $image_id The id of the image
*/
function get_image_url($image_id)
{
global $site_db;
$sql = “SELECT cat_id,image_name FROM “.IMAGES_TABLE.” WHERE image_id = ‘”.$image_id.”‘”;
$result = $site_db->query($sql);
$row = $site_db->fetch_array($result);
$row[‘image_name’] = strtr($row[‘image_name’], “ABCDEFGHIJKLMNOPQRSTUVWXYZ”,”eeeaeauoiaabcdefghijklmnopqrstuvwxyz”);
// if you want comlpete path to image in url, remove comment from following line
//return get_category_url($row[‘cat_id’]).’-‘.str_replace(‘+’,’-‘,urlencode($row[‘image_name’])).’-‘.$image_id;
return ‘_’.str_replace(‘+’,’_’,urlencode($row[‘image_name’])).’_’.$image_id;
}
Read More »SEO: URL Rewrite for 4images

RELATED SEARCH TERMS:

SEO Technique: Meta Title, Keywords, and description

GOOD SEO = Unstoppable Traffic = Money This one I forgot for almost a month to optimize my site traffic performance. Meta Title, Keywords, and Description should be optimized to get maximum indexed by search engine. Play it with simple code modification, If you have dynamic site this can be done in easy by just change some parameters to optimize all that meta. Example: Said you have a gaming site, By default all headers only optimized by fixed meta title, keyword, and description. I recommended you to change that fixed meta with dynamic meta. How? Simple! give it at least… Read More »SEO Technique: Meta Title, Keywords, and description

Build And Submit Sitemap: Is It Really Necessary

Necessary or not necessary the answer is it NECESSARY!! Sitemap will not hurt you back? Why you’re not learn to optimize your SEO through sitemap. Learn from case, why visitor not come to your website? because your website is not visible!, Visible in here mean your website is hard to found visitor who’s looking any information they needed. Through sitemap your website will got indexed and every time people search using specific keyword your website will showing in result.. that was I mean VISIBLE! Take a look on my case on site www.ahuuy.com Look how my website can showing on… Read More »Build And Submit Sitemap: Is It Really Necessary

WP Super Cache Strategy

Good day! I wishing everyone happy in this Christmas and Holiday season 😀

merry-christmas

In this short articles I want to write my personal experiment review for WP super cache. Here is the story, In the past 6-9 months ago I’m using wp super cache just because my hosting recommended it. I run some websites on budget host and most host technician complaint about resources. Nothing special until I notice my revenue is not so great even my traffic great enough.

Two weeks ago I bought a new server just because my websites not fit anymore on budget host. I do setting and everything run properly until I notice something annoying. My traffic is greater but my revenue is to low. Why this is happen? I do some research and analyze the problem, Re-Setting server configuration to the maximum resources but there is no difference.

At the first time I was thinking: Maybe (just maybe) my traffic not coming from premium country so it may not so great in conversion and affect my revenue. But it was wrong! not completely wrong actually! I do deep analyze and found my UV and Impressions not counting correctly. After long investigation I found the problem is on cache. I believe many of you already know what is wp super cache, but for you don’t know what is it: wp super cache generate HTML files and serving those HTML to all visitors: real human traffic including search engine bot traffic.

Read More »WP Super Cache Strategy

How To Fix WordPress Database Error

If you are using wordpress or other cms and have a lot of data in you sql, your site usually will unavailable with common message database error. What actually error on your database? Nothing, this is all about query limitation on your hosting. Your blog will grown in time, say in the last months you got 10,000 readers and in the next month you got 1,000,000 readers. When people access your site it’s continuously reading data again from your database, when it to much some hosting will stop it to executed. This is not good for SEO because your potential… Read More »How To Fix WordPress Database Error

SEO: WP Mobile Pack Causing Problem on Duplicated Meta

This is really bad, I found some of my site has been affected by this plugin wp mobile pack. Traffic drop from 2K unique visitors daily into 400 unique visitors daily. I try to diagnose the problem and finally found it (after a month *lol*). This drop cause by wordpress plugin called wp mobile pack. It’s actually nice plugin to convert our wordpress site become mobile friendly site with option to view desktop version or mobile version.

The big problem is this plugin will make your wordpress site become mobile friendly without change any meta including your page title. For example my meta description is article title+20 words article content+site/blog title. If we enabled this plugin it will created an duplicated meta and duplicated title, in the end it will caused big problem impact in SEO.

Solution: I try to using google webmaster tools called parameter handling. But I’m not sure if this things will affect better on next index date. Actually I was thinking about giving meta noindex and nofollow on mobile site themes but it’s looks like this mobile themes can’t modified since theme structure following desktop version. I also thinking giving rel canonical maybe can help us to fix this problem.

The result in today is better than yesterday I seen traffic growth 40%-60% from normal time. I will removed this plugin from my site if there is no working solution for this problem.

Read More »SEO: WP Mobile Pack Causing Problem on Duplicated Meta

RELATED SEARCH TERMS:

SEO: My Personal SEO Technique Experience Part I

Hi everyone, here is my personal SEO technique experience part I, why it become part? first I hate to write all my technique in one article ,it also will help me to explain the subject in at least explanation and sample.. so this Article will updated each time I want to share my SEO technique. Please note and give credits back if this article help you, even I share this article for public please respect the copyright. 🙂 LASTLY apologize for you bad English! *lol* OK Let’s Begin…. 1. SEO technique “title tag“. Basically it will working right if you… Read More »SEO: My Personal SEO Technique Experience Part I

SEO:Search Engine Ranking Position(SERP) Secret

Secret?? Not yet.. mostly people already know this secret but some didn’t know so here I will share this article. If you’re already know about this just leave this article right now.

What actually search engine ranking position (SERP) and how it can affect your website. Search engine ranking position (SERP) is the listing of web pages returned by a search engine in response to a keyword query… more details can be reading in here.

How it can affect your website? Mostly first top 10 search result will got visited by searcher. That mean more traffic, traffic mean money 🙂 that’s why SERP is needed to learned if you want to monetize your traffic 😛

EXPLANATION 1:

Basically SERP calculated automatically by ROBOT, the more link you have into your website mean you will get better ranking. In this case if you have  enough money you can buy million to billion link from other website to linked into your website, your SERP will raise up trust me…

For easiest way to understand this explanation look on this chart:

ist-serp-1

*Better SERP

Read More »SEO:Search Engine Ranking Position(SERP) Secret

SEO: Sitemap generator for 4images

Hello everyone 🙂 this is another good SEO plugins for 4images gallery systems. This sitemap generator can help your visitor or any SE bot found out detailed about your website. This can help you raise your pagerank and also in same time helping your page got indexed in Search Engine. I have tested this plugin on my wallpapers site www.innovativedesktop.com using 4images v1.7.4 and it’s working pretty good without any bug.

seo-sitemap.jpg

First, what you need for this plugin? You need to download this package first. Extract it then upload it into your hosting (default template name should be changed with your own template name)

Alright now we ready for installation:

1. Open includes/page_header.php

Find:

"media_url" => MEDIA_PATH,

Insert bellow:

Read More »SEO: Sitemap generator for 4images

RELATED SEARCH TERMS: