• [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 711877 times)

0 Members and 2 Guests are viewing this topic.

Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #165 on: November 05, 2008, 09:11:39 PM »
your results are not surprising. usually mysql become a bottleneck in gallery's performance  when it has lots of images
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.

Offline batu544

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Free Celebrity wallpapers
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #166 on: November 05, 2008, 09:24:16 PM »
yes, english names don't need any conversion, they will be used as they are

this means  can I remove fixname function from the code ?


Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #167 on: November 05, 2008, 10:33:50 PM »
yes, you can. that function only makes non-latin letters look pretty in the address bar
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.

Offline xLaM

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #168 on: November 08, 2008, 04:01:34 PM »
Wow...working great for me:)
But i have one trouble, in main website my image thumbnail is double showing. My website http://wallpapercantik.com, please help me....... before this my website is no problem.

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #169 on: November 08, 2008, 04:22:18 PM »
hi und welcome to the 4images forum,

template thumbnail_bit.html

delete this if you don't need it
Code: [Select]
<!-- you wish detail page in a small javascript open window, use {thumbnail_openwindow} -->
test it afterward
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline xLaM

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #170 on: November 08, 2008, 11:31:29 PM »
Thanks Nicky, you are the best:D :wink:

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #171 on: November 09, 2008, 12:12:04 AM »
nope....

this is V@no  :lol:
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline ashfaq

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #172 on: November 15, 2008, 02:32:52 AM »
I am using seo and its nice but i need some modifications to make it more better.

Currently my site categoreis are like this:
http://www.deskbeauty.com/k-cars-bikes-wallpapers-7.htm
http://www.deskbeauty.com/k-sexy-girls-wallpaper-5.htm
http://www.deskbeauty.com/k-vista-wallpaper-21.htm        etc....
You have noticed that with every category start there is a (k), plz how can i remove it ?

Also when i open any wallpaper first it shows the category link and then wallpaper link: for example
http://www.deskbeauty.com/r-cars-bikes-wallpapers-7-cars-wallpaper-144-3756.htm
http://www.deskbeauty.com/r-sexy-girls-wallpaper-5-bikini-models-8-3811.htm
http://www.deskbeauty.com/r-vista-wallpaper-21-longhorn-m4-bliss-2514.htm
Now how to make it simple by removing category link and sow just wallpaper link ?

Hope you understand it and will help, my hataccess and sessions.php files are attached.

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 #173 on: November 15, 2008, 02:55:27 AM »
in the original code it has this:
Code: [Select]
// if you want full path of category in url, put next line in comment
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 ashfaq

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #174 on: November 15, 2008, 03:31:48 AM »
in the original code it has this:
Code: [Select]
// if you want full path of category in url, put next line in comment

Dear your reply always put me in trouble, plz explain it... Thanks

Offline ashfaq

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #175 on: November 16, 2008, 12:30:08 PM »
in the original code it has this:
Code: [Select]
// if you want full path of category in url, put next line in comment

Dear your reply always put me in trouble, plz explain it... Thanks

Big Brother where are you ?

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 #176 on: November 17, 2008, 06:14:53 AM »
if you use unmodified code from the original tutorial on first page of this topic, you should not see all the parent categories in the links, only current category name.
as of links to image details, in includes/sessions.php find
Code: [Select]
//return get_category_url($row['cat_id']).'-'.str_replace('+','-',urlencode($row['image_name'])).'-'.$image_id;
replace it with
Code: [Select]
return get_category_url($row['cat_id']).'-'.str_replace('+','-',urlencode($row['image_name'])).'-'.$image_id;
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 ashfaq

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #177 on: November 17, 2008, 03:32:37 PM »
if you use unmodified code from the original tutorial on first page of this topic, you should not see all the parent categories in the links, only current category name.
as of links to image details, in includes/sessions.php find
Code: [Select]
//return get_category_url($row['cat_id']).'-'.str_replace('+','-',urlencode($row['image_name'])).'-'.$image_id;
replace it with
Code: [Select]
return get_category_url($row['cat_id']).'-'.str_replace('+','-',urlencode($row['image_name'])).'-'.$image_id;

I am using your given sessions.php file which didnt have the code which you tell to replace.
I have attached your given sessions.php file which i am currently using plz plz edit it for better seo and also tell can i use it with 4images 1.6.7  for better seo and user flags?

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 #178 on: November 17, 2008, 03:45:43 PM »
No, you have modified my original code and enabled the category path.

So, read carefully the comments inside my code and comment out the line you uncommented.

P.S.
a hint:
Quote
   // if you want comlpete path to image in url, remove comment from following line


P.P.S.
Please next time state if you are not using original code, to avoid confusion
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 ashfaq

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #179 on: November 17, 2008, 04:18:39 PM »
Thanks V@no Dear you are helping me much

I comment out this line
Quote
return get_category_url($row['cat_id']).'-'.str_replace('+','-',urlencode($row['image_name'])).'-'.$image_id;
but it only bypass the category link from image link but k and r like words are still there with start of category link and image link

For example currently category link is like this
http://www.deskbeauty.com/k-hollywood-girls-17.htm
How to make it like this
http://www.deskbeauty.com/hollywood-girls.htm

Also currently image link is like this
http://www.deskbeauty.com/r-girls-wallpaper-34-3867.htm
How to make it like this
http://www.deskbeauty.com/girls-wallpaper-34.htm

Also i am using 1.7.4 can i use this session file with 1.7.6 for seo and user flags ?
« Last Edit: November 17, 2008, 04:37:26 PM by ashfaq »