• [Mod] Search Engine Friendly URLs aka Short URLs 3 0 5 1
Currently:  

Author Topic: [Mod] Search Engine Friendly URLs aka Short URLs  (Read 726976 times)

0 Members and 4 Guests 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] Search Engine Friendly URLs aka Short URLs
« Reply #225 on: February 19, 2006, 06:21:09 PM »
Well, lets see...how long have the bots visited your site before you've made these changes? do you think they will "forget" the addresses they collected in the past? - no they wont. They will continue re-visiting these adresses, which includes sessionid, for very long time, nothing you can do about it. They even might show these URLs for the people in search result - again, nothing you can do about 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 djith

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #226 on: February 19, 2006, 09:16:21 PM »
hmm.... the new url's are in use for one month now.....

hope that google will not forget me ! :)

Offline Eagle Eye

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #227 on: February 19, 2006, 09:23:06 PM »
here is an intresting share: http://www.vaughns-1-pagers.com/internet/google-ranking-factors.htm

please note then point 53 "Dynamic Pages" = "Problematic - know pitfalls - shorten URLs, reduce variables, lose the session IDs"

 :D

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #228 on: February 20, 2006, 01:40:24 AM »
I got a small problem with kief24's mod. Some of my categories has / in them. And thet messes the url. Is there a way so they will show up as - instead?

EDIT
I found out myself.
Changed:
Code: [Select]
$row['cat_name'] = strtr($row['cat_name'], "éèêàëâúóíáABCDEFGHIJKLMNOPQRSTUVWXYZ","eeeaeauoiaabcdefghijklmnopqrstuvwxyz");To:
Code: [Select]
$row['cat_name'] = strtr($row['cat_name'], "éèêàëâúóíáABCDEFGHIJKLMNOPQRSTUVWXYZ/","eeeaeauoiaabcdefghijklmnopqrstuvwxyz-"); :D
« Last Edit: February 20, 2006, 01:52:59 AM by BartAfterDark »

Offline commandos

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
    • Quran Recitation
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #229 on: March 21, 2006, 04:38:36 AM »
could someone tell me how to change the search links

like i have them  : domain/search.htm?search_keywords=reward

is there a way to integrate it in link ? domain/search-reward.htm ?


Offline Eagle Eye

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #230 on: March 21, 2006, 06:06:37 AM »
could someone tell me how to change the search links

like i have them  : domain/search.htm?search_keywords=reward

is there a way to integrate it in link ? domain/search-reward.htm ?



Me too interested :D
is it possible to integrate it to v@no's sitemap MOD with the category and subcategory names linking to search using the above idea in quote  :?:


Offline ka

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #231 on: March 21, 2006, 08:40:12 PM »
what is the actual version of this mod.. everybody has fixed something..

any new release for the mod?

Offline Fastian

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #232 on: March 23, 2006, 12:28:16 AM »
Two questions.
1)
Before I was using Version 1 of this mod. (Page 1). Today I read all the post starting from first page to end and decided to go for version 2. (Page 14)

Now What I would like to know is, considering the fact that having category name & image name in URL is very good. How much does it cost @ server end. I mean how much resources it takes only for converting URLs.

2) V@no wrote here
http://www.4homepages.de/forum/index.php?topic=6729.msg53397#msg53397

that to convert custom template files, this line should be added
Code: [Select]
RewriteRule ^([a-zA-Z0-9_\-]+)\.html$ index.php?template=$1&%{QUERY_STRING}
Now I have a template FAQ.html but I can't get it to work by faq.htm or by FAQ.htm

So what I want to ask is, to use this mod with custom template files, I just need to add the above line or is there is some other change as well???
I m not a  Programmer.
          But
I m a Good Learner.

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] Search Engine Friendly URLs aka Short URLs
« Reply #233 on: March 23, 2006, 12:44:11 AM »
1) as more REGEX in .htaccess and as more complex they as more server resources needed.

2) perhaps try remove letter "l":
[qcode]RewriteRule ^([a-zA-Z0-9_\-]+)\.html$ index.php?template=$1&%{QUERY_STRING}[/qcode]
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 Fastian

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #234 on: March 23, 2006, 01:12:32 AM »
1) as more REGEX in .htaccess and as more complex they as more server resources needed.

But it's not something that would be using too many resources. That could cause any issue with my hosting company.
M I Right???
Considering the current response of the site, I can say that my server is really fast one. At least I never got any such issue.

And about custom templates. It works now  :D

Thanks V@no 4 helping me one more time  :)
I m not a  Programmer.
          But
I m a Good Learner.

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] Search Engine Friendly URLs aka Short URLs
« Reply #235 on: March 23, 2006, 01:24:13 AM »
I dont know how much is too much, but my .htaccess in root directory is about 22kb and has about 200+ lines in it and I didnt notice anything different perfomance wise...the site itself slow, but that another story :)
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 commandos

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
    • Quran Recitation
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #236 on: March 23, 2006, 04:23:39 PM »
hello ,

how can i prevent google from taking the sessions id , google see my link like this :

Code: [Select]
/cat1.htm?sessionid=86c5166e15152e2d38926567f7222ca8
how can i remove it to show like this

Code: [Select]
/cat1.htm

plz someone answer

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] Search Engine Friendly URLs aka Short URLs
« Reply #237 on: March 24, 2006, 12:49:50 AM »
please read the comments, we've discused this already.
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 Fastian

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #238 on: March 24, 2006, 07:05:16 AM »
Hi V@no

You suggested a way to remove session IDs for search bots. Right here
http://www.4homepages.de/forum/index.php?topic=6729.msg59251#msg59251

I am using kief24   version of this mod (page 14)
http://www.4homepages.de/forum/index.php?topic=6729.msg57268#msg57268

In his modification, he has commented out this line.
Code: [Select]
if ($this->mode == "get" && !preg_match("/".SESSION_NAME."=/i", $url)) {

So what should I do to apply the changes u suggested for Bots??
I m not a  Programmer.
          But
I m a Good Learner.

Offline commandos

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
    • Quran Recitation
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #239 on: March 24, 2006, 01:35:44 PM »
Hi V@no
Quote
You suggested a way to remove session IDs for search bots. Right here
http://www.4homepages.de/forum/index.php?topic=6729.msg59251#msg59251


i allready tried this but it dont work ...

i just checked google cache and saw what it see .... sessions are evrywhere ...