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

0 Members and 2 Guests are viewing this topic.

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #300 on: July 03, 2009, 07:51:29 AM »
Thanks @Benny
i added your seo mod codes
but turkish characters can not be seen in links?
My site: www.resimtr.net help me pls.
http://www.resimtr.net/cat-%DDstanbul-1.htm

morning crimmer and welcome to the 4images forum,

same here

change
Code: [Select]
$row['cat_name'] = strtr($row['cat_name'], "éèêàëâúóíáABCDEFGHIJKLMNOPQRSTUVWXYZ","eeeaeauoiaabcdefghijklmnopqrstuvwxyz");
to
Code: [Select]
$row['cat_name'] = strtr($row['cat_name'], "İéèêàëâúóíáABCDEFGHIJKLMNOPQRSTUVWXYZ","ieeeaeauoiaabcdefghijklmnopqrstuvwxyz");and maybe to
Code: [Select]
$row['cat_name'] = strtr($row['cat_name'], "'İéèêàëâúóíáABCDEFGHIJKLMNOPQRSTUVWXYZ","_ieeeaeauoiaabcdefghijklmnopqrstuvwxyz");and to
Code: [Select]
$row['image_name'] = strtr($row['image_name'], "'İéèêàëâúóíáABCDEFGHIJKLMNOPQRSTUVWXYZ","_ieeeaeauoiaabcdefghijklmnopqrstuvwxyz");
because your İstanbul'da will be procude an 404 error

add all special chars into this replacement..
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 Sunny C.

  • Addicted member
  • ******
  • Posts: 1.806
  • I ♥ 4I
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #301 on: July 03, 2009, 09:16:11 AM »
hi benny, ich habe auch mich genau nach deiner anleitung gehalten und bekomme beim aufruf meiner existierenden (test)gallerie und der bilder:
Diese Seite ist leider nicht verfügbar.
(startseite funktioniert - bloss in die kategoreien und detail-bilder komme ich nicht mehr, da dort die obige fehlermeldung kommt,.,.)
(Top100 ist nicht installiert)

[Edit: kann es evtl. daran liegen dass mein testserver unter funpic läuft und dort kein mod-rewrite [RewriteEngine On
] unterstützt wird??? ]


Natürlich kann das sein und wird es auch! Mod-Rewrite muss an sein!

Offline crimmer

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #302 on: July 04, 2009, 02:06:20 AM »
thank you very much  :P

I added Turkish characters this file (sessions.php+.htaccess)

Offline varoon

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #303 on: July 15, 2009, 03:19:49 PM »
can anyone help me...

using 1.7.7

after updating. in index page. i see all my link ****.htm seems perfect.

 but when i click on them it says Page does not exist.

what might be the problem ??

Offline dicrox

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • Foro SEO
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #304 on: July 20, 2009, 04:57:33 AM »
I think we need a professional guy to make a good mod rewrite, since all the people here including me want a clear root like example.com/category/image.htm vano says he cant, there is a lot of CMS with a similar structure than 4images that can do it. i am not an expert in rewrite URL but am pretty sure it can be done we ll have to wait I supose.

I hope your understanding, my english in not too good

Offline varoon

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #305 on: July 20, 2009, 02:44:57 PM »
Hallo,

habe das jetz mal durchgeführt,  Die URL http://www.tram-und-bahnbilder.de/img-tw-8012-augsburg-m8c-1094.htm  allerdings kommt  "Die Webseite konnte nicht angezeigt werden!" 404

wer kann helfen ?? hab die Änderung erstmal rausgenommen wieder

grüße Tobias

Add this code to ur .htaccess file

the attachment is missing this code.

Code: [Select]
RewriteRule ^img-(.*)-([0-9]+)\.htm$ details.php?image_id=$2&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.search.htm$ details.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.lightbox.htm$ details.php?image_id=$1&%{QUERY_STRING}

Offline Mimiru

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #306 on: July 20, 2009, 05:25:03 PM »
Quote
I think we need a professional guy to make a good mod rewrite, since all the people here including me want a clear root like example.com/category/image.htm vano says he cant, there is a lot of CMS with a similar structure than 4images that can do it. i am not an expert in rewrite URL but am pretty sure it can be done we ll have to wait I supose.
Main problem is not make "good mod rewrite", because mod rewrite only few rules. Most difficult is - make engine understand and generate FURLs and save ability to use old-style urls for compatibility. Of course, we may done this with a lots of if(...), but it is a indian-style and will slow down not fast 4img.
I'm thinking about FURL for my gallery, and maybe share some ideas here.

Offline fitterashes

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #307 on: July 24, 2009, 11:18:17 PM »
humm, FYI if you have "/"  in your images names ex : "CD / DVDs" you'll get an error.

So :
Code: [Select]
$row['image_name'] = strtr($row['image_name'], "/éèêàëâúóíáABCDEFGHIJKLMNOPQRSTUVWXYZ","-eeeaeauoiaabcdefghijklmnopqrstuvwxyz");

Offline alex9193

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #308 on: July 29, 2009, 08:28:18 AM »
V@no !

Неужели  кириллица не лечится

Quote
http://max-pix.com/cat-%D5%E0%EC%E0%F2%EE%E2%E0-%D7%F3%EB%EF%E0%ED-66.htm?l=russian

Тут вон и турки починили себе.

Такая хрень только в адресной строке, все ссылки при наведении мыши прекрасно отображаются на русском.



« Last Edit: July 29, 2009, 08:46:13 AM by alex9193 »

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 #309 on: July 29, 2009, 05:16:08 PM »
Этот вопрос нужно адресовать создателем веб стандартов.
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 alex9193

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #310 on: July 29, 2009, 08:17:40 PM »
А возможно ли сделать так чтобы URL брался из английской версии?

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 #311 on: July 30, 2009, 03:26:10 AM »
А возможно ли сделать так чтобы URL брался из английской версии?
Ну, смотря что вы имеете ввиду под английской версией...возможно проще просто перекодировать кирилицу в транслит:
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
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 crs

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #312 on: August 03, 2009, 03:34:17 AM »
Hello, im using this mod [MOD] Treat bots as users with less rights.
http://www.4homepages.de/forum/index.php?topic=8752.0

Thats why i am not able to do step 3 - anyone can help?

Thanks

Offline fitterashes

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #313 on: August 18, 2009, 05:40:04 PM »
For correct navigation in lightbox & search catégories :

RewriteRule ^img([0-9]+)\.search.htm$ details.php?image_id=$1&%{QUERY_STRING}&mode=search
RewriteRule ^img([0-9]+)\.lightbox.htm$ details.php?image_id=$1&%{QUERY_STRING}&mode=lightbox

Code: [Select]
RewriteEngine On

#RewriteBase /
RewriteRule ^cat-(.*)-([0-9]+)\.htm$ categories.php?cat_id=$2&%{QUERY_STRING}
RewriteRule ^cat\.htm$ categories.php?%{QUERY_STRING}
#Mod_bmollet : Image name in URL
RewriteRule ^img-(.*)-([0-9]+)\.htm$ details.php?image_id=$2&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.search.htm$ details.php?image_id=$1&%{QUERY_STRING}&mode=search
RewriteRule ^img([0-9]+)\.lightbox.htm$ details.php?image_id=$1&%{QUERY_STRING}&mode=lightbox

#Mod_bmollet : This is to make search function work  ( redirect links from search results )
RewriteRule ^search\.htm$ search.php?%{QUERY_STRING}
RewriteRule ^search\.([0-9]+)\.htm$ search.php?page=$1&%{QUERY_STRING}
RewriteRule ^lightbox\.htm$ lightbox.php?%{QUERY_STRING}
RewriteRule ^lightbox\.([0-9]+)\.htm$ lightbox.php?page=$1&%{QUERY_STRING}

Offline wonder

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #314 on: August 24, 2009, 05:41:46 PM »
I greet,

I am Pole.

I would like to know how  in my galery 4images  make mod_rewrite - seo. Coding in my gallery should be put UTF -8
I tried to apply with this forum many solutions - http://www.4homepages.de/forum/index.php?topic=17598.0
treat in every of them Polish signs - ą, ę, ś, ć, ż as well as German - ä, ö, ü their equivalents do not be replace
English.

help me, please ;)

I greet,