• [MOD] Google Friendly Urls For 4images Best Seo Mod 4 0 5 1
Currently:  

Author Topic: [MOD] Google Friendly Urls For 4images Best Seo Mod  (Read 722122 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #240 on: March 26, 2009, 01:56:57 PM »
Are you using original mod's code?

try replace
	
$row['image_name'] = strtr($row['image_name'], "ABCDEFGHIJKLMNOPQRSTUVWXYZ","eeeaeauoiaabcdefghijklmnopqrstuvwxyz");


with:
	
$row['image_name'] = strtr(strtolower($row['image_name']), "ABCDEFGHIJKLMNOPQRSTUVWXYZ","eeeaeauoiaabcdefghijklmnopqrstuvwxyz");


and replace
	
$row['cat_name'] = strtr($row['cat_name'], "ABCDEFGHIJKLMNOPQRSTUVWXYZ","eeeaeauoiaabcdefghijklmnopqrstuvwxyz");


with:
	
$row['cat_name'] = strtr(strtolower($row['cat_name']), "ABCDEFGHIJKLMNOPQRSTUVWXYZ","eeeaeauoiaabcdefghijklmnopqrstuvwxyz");
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline hotvips

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #241 on: March 26, 2009, 02:30:57 PM »
Thank you:)
it works now...

Offline Bogdan

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Press Release
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #242 on: April 11, 2009, 01:50:14 PM »
Is there a way to redirect search result from this img78555.search.htm to the original link img-something-78555.htm ?
Because google is considering the search result as duplicate content ( in webmaster tools ).

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #243 on: April 11, 2009, 05:10:36 PM »
Doing so you'll loose ability see next and previous images from the search result.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Bogdan

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Press Release
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #244 on: April 11, 2009, 05:38:43 PM »
True... but look at almost any webpage ( this forum too ). Link to the search result is the same with the normal link.
The problem is that both pages use the same template. One option is to make img78555.search.htm to use different template, ( named detailsearch.htm) but i guess it's more difficult.

Offline om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #245 on: April 11, 2009, 06:28:37 PM »
True... but look at almost any webpage ( this forum too ). Link to the search result is the same with the normal link.
The problem is that both pages use the same template. One option is to make img78555.search.htm to use different template, ( named detailsearch.htm) but i guess it's more difficult.

its easy to fix, just exclude your search results from google indexing in your robots.txt

like this:
Code: [Select]
Disallow: /search.php
Disallow: /search.htm
Disallow: /*.search.*
Disallow: /*?mode=search

no more double content ;)
« Last Edit: April 11, 2009, 07:51:27 PM by om6acw »

Offline Bogdan

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Press Release
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #246 on: April 11, 2009, 06:55:16 PM »
First 2 lines are already in my htaccess and still google show search pages.. well, i will try the 3rd and 4th line.

Offline om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #247 on: April 11, 2009, 07:51:15 PM »
First 2 lines are already in my htaccess and still google show search pages.. well, i will try the 3rd and 4th line.

this code is not for .htaccess, those lines should be in robots.txt in your root directory, if you dont have one just create it. Also dont expect google clean your indexed search pages right way, it take months to do it.....

Offline Bogdan

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Press Release
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #248 on: April 11, 2009, 07:55:08 PM »
Sorry, i meant robots, which i have from a long time...

Offline om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #249 on: April 11, 2009, 07:57:46 PM »
Sorry, i meant robots, which i have from a long time...

thats ok but first two lines are not protecting you if you use this mode, put those two last ones there and you should see in couple next days-weeks search links moved from double content ones to robot restricted ones.

Offline jopainter

  • Newbie
  • *
  • Posts: 10
  • jopainter
    • View Profile
    • photo : my eyes to the world
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #250 on: April 16, 2009, 05:51:08 PM »
i have this proplem
how could i

make the url only with catgory number without the name of the cat and the litter k

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #251 on: April 17, 2009, 01:25:02 AM »
example please.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline whosthis.ee

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #252 on: April 19, 2009, 07:47:10 PM »
Hi

the keyword "cat" has to be removed from the url

for ex. if this is the url http://test.com/cat-hollywood-actress-1.htm

it should be http://test.com/hollywood-actress-1.htm

and on details page the keyword "img" has to be removed from the url

ex : http://test.com/img-vanessa-1-1.htm

instead it should be

http://test.com/vanessa-1-1.htm

and is there any way to display category path in the image url

for ex : if a site has hollywood-actress as a category it should say

http://test.com//hollywood-actress-1/vanessa-21.htm

kindly work on this


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #253 on: April 19, 2009, 10:23:03 PM »
And how do you think 4images would know that http://example.com/some-name-1-1.htm is a category or an image?
that is the whole point of "cat" and "img" pointers in the address.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline whosthis.ee

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #254 on: April 20, 2009, 05:25:52 AM »
tats ok

is there any way to display category path in the image url

for ex : if a site has hollywood-actress as a category it should say

http://test.com/cat-hollywood-actress-1/img-vanessa-21.htm