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

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

0 Members and 3 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 #45 on: April 18, 2005, 06:57:56 AM »
try to play with RewriteBase setting (read the original post)
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 daniel_74

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #46 on: April 20, 2005, 10:45:00 PM »
Hallo V@no,

on this thread you say, session Id removing will destroy 4images, and on thsi thread you say it works:
http://www.4homepages.de/forum/index.php?topic=6951.msg30709#msg30709

What´s right now? Can I remove session IDs and make short URLs ?

Best regards,
Daniel

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 #47 on: April 21, 2005, 12:23:53 AM »
these are two different session ids we were talking about. The one from the topic u showed is what PHP automaticaly add to every link on the page and the session id that 4images adds is something that 4images required to work properly.
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 daniel_74

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #48 on: April 21, 2005, 02:15:28 AM »
Thanks,

so there is no possibility to get rid of the session ids of 4images? will google index the pages anyway ? Any experiences about that ?

Regards,
Daniel

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 #49 on: April 21, 2005, 02:20:11 AM »
no, yes and yes (for all three your questions ;))
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 daniel_74

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #50 on: April 21, 2005, 02:39:56 AM »
when navifating through your site, I´ve seen that you have even cooler URLs...

instead of
http://gallery.vano.org/en/11991.htm
you have
http://gallery.vano.org/en/11991

How is this done?
Also the language URL is done in cool style ...
Will the mod do that also like in your site?

Regards, and thanks.
Daniel

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 #51 on: April 21, 2005, 03:00:34 AM »
sorry, that method would require alot more changes in many .php files and require very complex .htaccess
but u could try remove .htm from sessions.php and adjust .htaccess
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 daniel_74

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #52 on: April 21, 2005, 08:39:46 PM »
Hello again,

could you tell me please how I can have:

http.//www.nospam.com/fr/top.php
http.//www.nospam.com/es/top.php

instead of:

http://www.nospam.com/top.php?l=french
http://www.nospam.com/top.php?l=spanish

Thankyou
Daniel

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 #53 on: April 22, 2005, 03:29:03 AM »
that what I was trying to explain in my previous reply...
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 daniel_74

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #54 on: April 22, 2005, 04:14:38 AM »
Sorry,

I have no idea how to manage to change the language-URLs... :cry:

regards,
Daniel

Offline clope

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #55 on: April 23, 2005, 03:40:56 PM »
first.. this is a great and effectiv mod ;)
thx chris

i have a question about the Rewrite thing:

for viewing pictures i use the show_img.php:
RewriteRule ^([0-9]+)\/([0-9]+)\/image([0-9]+)\.jpg$ show_img.php?id=$3&time=$1&secureid=$2&%{QUERY_STRING}
RewriteRule ^([0-9]+)\/([0-9]+)\/img([0-9]+)\.htm$ details.php?id=$3&time=$1&secureid=$2&%{QUERY_STRING}

example: http://www.domain.de/1234567/1234567/image123.jpg

works perfectly.. but if show_img.php redirect the user too details.php http://www.domain.de/1234567/1234567/image123.htm
apache load details.php with the wrong path-variable: /1234567/1234567/details.php?...
instead of /details.php?... so no template image could be found.

any ideas how to fix this?

regards, and thanks.

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 #56 on: April 23, 2005, 05:46:19 PM »
that's a tricky part using virtual directories ;) took me probably a week to figure that one out...
try add at the end of .htaccess:
Code: [Select]
RewriteRule ^([0-9]+)\/([0-9]+)\/(.*)$ $3?time=$1&secureid=$2&%{QUERY_STRING}
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 Mortekai

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #57 on: April 28, 2005, 01:49:12 AM »
I am having problems with the sessions during search as I use the Invision mod and I was wondering if the mod-rewrite could effect that problem in any way?

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 #58 on: April 28, 2005, 02:35:17 AM »
anything is possible...
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 Mortekai

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #59 on: April 29, 2005, 04:25:36 AM »
LOL
Back to trial and error huh?

Let me rephrase....the mod-rewrite, how does it effect the sessions if at all? Does it remove the need for it, alter it, or not at all?