• [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 707240 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 #390 on: September 24, 2010, 02:48:31 PM »
This is not a problem, this is how it supposed to be...

http://www.blooberry.com/indexdot/html/topics/urlencoding.htm#whatwhy
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 Nosferatu

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Project-Firepower
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #391 on: September 24, 2010, 04:28:05 PM »
kk thx

and is that a problem for search bots / engins,... google, bing, .... ?

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 #392 on: September 24, 2010, 04:39:39 PM »
I doubt it
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 Nosferatu

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Project-Firepower
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #393 on: September 24, 2010, 05:14:34 PM »
Someone send me with email that:

In includes/functions.php file,
 
find:
Code: [Select]
if (strpos($text, "@")) {
    $text = preg_replace("#([\n ])([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)?[\w]+)#i", "\\1<a href=\"mailto:\\2@\\3\">\\2@\\3</a>", $text);
  }
 
add below:
Code: [Select]
if (strpos($text, "%20")) {
    $text = str_replace("%20", "_", $text);
  }
  if (strpos($text, "%26")) {
    $text = str_replace("%26", "_", $text);
  }
  if (strpos($text, "%24")) {
    $text = str_replace("%24", "_", $text);
  }

That dont work :(

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 #394 on: September 24, 2010, 05:57:01 PM »
assuming you are using optimized version of this mod, then you can add as replacement characters for spaces, commas, etc inside fix_name function:
Code: [Select]
      " " => "_", //space
      "," => "_", //comma
      "$" => "_", //dollar sign
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 Nosferatu

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Project-Firepower
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #395 on: September 24, 2010, 09:48:39 PM »
i think i checked it ;)

in database and so the name is right eg: u, v, w, x, y, z

in sitescript i have

u%2C-v%2C-w%2C-x%2C-y%2C-z

and "," dont work in web i thnk

if i write in the session "%2C" => "-",

it dont work...

but if i write "," => "X",

it work.....

is that right that i can't user , ?

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 #396 on: September 24, 2010, 10:00:46 PM »
%2C - is not a character, it's an HEX code for a character, therefor you can't use it for replacement, at least not like that.

"," => "X",  - this is the same format as I showed, if it works, then what is the problem? ;)
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 Nosferatu

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Project-Firepower
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #397 on: September 24, 2010, 10:09:25 PM »
ok ;) "," isnt a real problem but i add now all things that i cant use ....

Code: [Select]
     "," => "",
      "/" => "",
      ":" => "",
      "ö" => "oe",
      "ä" => "ae",
      "ü" => "ue",
      "(" => "",
      ")" => "",
      "!" => "",
      "*" => "",
      "ß" => "ss",
      "?" => "",
      "&" => "and",        
      "=" => "is",
      "+" => " and ",
  "[" => "",
  "]" => "",
  "%" => "",
  "#" => "",
  "@" => "",

and i am not finish ....
Thats not normal i think ...

Edit: i am finish now ;) i hope it

Offline didoman

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #398 on: October 13, 2010, 02:56:59 PM »
I am using the .htaccess from the first page and Vano's optimized session.php
Everything works fine. Thanks.

I have been through the thread (twice) and see that a few people want a cosmetic change to the cat and img that precede the URL.
ie. Just cosmetically changing the pointers "img" and "cat" to another word

Example I would like to change the name of "img" to "movie"
http://example.com/movie-example-1132.htm

I believe Vano mentioned ages ago that those 3 letters are just cosmetic and can be changed but I can't find out how to do it. Nobody mentions how in any thread.

I assumed it would just be a simple matter of changing the line in .htaccess, --- but this doesn't work
eg. RewriteRule ^movie-(.*)-([0-9]+)\.htm$ details.php?image_id=$2&%{QUERY_STRING}

Is there something I have to change elsewhere in sessions.php?

Just wondering if anybody could help out with this one. Thanks

Reminder  :lol:


« Last Edit: October 24, 2010, 05:00:44 AM by didoman »

Offline didoman

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #399 on: October 25, 2010, 06:47:10 AM »
Hi,
Sorry to pest, but anybody know a quick answer to my last question.  :oops:

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 #400 on: October 26, 2010, 03:42:10 AM »
Yes, you need change a few lines in step 4.
for example search for (part of a line):
Code: [Select]
str_replace('details.php', 'img
and

Code: [Select]
str_replace('categories.php', 'cat
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 didoman

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #401 on: October 26, 2010, 07:27:41 AM »
Excellent, changing this and also in .htaccess works great.
Once again Vano thank you for your brilliant help. Your help over the years has been an inspiration to a lot people.  :lol:

I am now trying to figure out a way for search to also show the image name. Little bit more tricky.
eg. example.com/movie222.search.htm  -->  example.com/movie222.image-name.htm

That is to include the name of the image in the search URL.
Not sure if it helps with Google, but you never know?

Any hints you can throw my way will be appreciated.

Offline chintan100

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #402 on: November 13, 2010, 02:33:34 PM »
Hi,

I have a weird problem.

My site is http://www.lotofwallpapers.com  and i have installed this mod by following the instructions in the first post. 4images version is 1.7.8.

My .htaccess file looks exactly like the one in the first post and i have also checked sessions.php twice to make sure everything is according to post.

The mod works fine for entire site except search.

As you can see, i have 28 ferrari modena wallpapers on site right now but if i search for "ferrari" in the search, it says "Your search resulted in no matching records."  8O
Same goes for searching "modena".  8O

To be sure installing the facebook mod did not have any effect, i installed the script on local server and then added only this mod but it is also giving the same problem.  :?
I searched this topic for the word "search" and went through all the resulting posts but non helped. :(

Someone please help me.

Offline chintan100

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #403 on: November 19, 2010, 09:36:31 AM »
Can anyone answer this question please?

Offline raghunadhreddys

  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #404 on: December 03, 2010, 04:34:59 AM »
Hi friends i am using 4images latest version.and i installed seo friendly urls plugin.

when i tried to send an e-card its showing the error message

"The requested URL /postcard.img122.htm was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."


And also,user registration verification,for got password functions are not working.

please solve my problem