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

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

0 Members and 2 Guests are viewing this topic.

Offline commandos

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
    • Quran Recitation
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #105 on: August 24, 2005, 10:32:43 AM »
This issue should really be fixed , just having the category short link is not enough for search engine , even the paging should be friendly link .

Offline daniel_74

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #106 on: August 24, 2005, 01:19:02 PM »
Hello,

as my post may be overread, and i think it is important for us all, here again:

Hello,

I know it has been asked seveal times in this topic before, and also it has been given an answer, but I want to give a suggestion for this...

Question is: Can I change the URL: mysite.com/img123.htm to mysite.com/image_name.htm ?

The answer was: NO, because when 2 images have same name, it won´t work, the 4images is based on unique ID-Numbers.

Ok, here comes my suggestion:

Could we generate URLs like this instead, so we have still the ID, but we´re using the image or cat name in the URL, which helps a lot in SEO :

mysite.com/image_name-ID.htm or
mysite.com/image_name/ID.htm

Regards,
Daniel

Offline regina

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #107 on: September 08, 2005, 10:55:48 PM »
Hello,

as my post may be overread, and i think it is important for us all, here again:

Hello,

I know it has been asked seveal times in this topic before, and also it has been given an answer, but I want to give a suggestion for this...

Question is: Can I change the URL: mysite.com/img123.htm to mysite.com/image_name.htm ?

The answer was: NO, because when 2 images have same name, it won´t work, the 4images is based on unique ID-Numbers.

Ok, here comes my suggestion:

Could we generate URLs like this instead, so we have still the ID, but we´re using the image or cat name in the URL, which helps a lot in SEO :

mysite.com/image_name-ID.htm or
mysite.com/image_name/ID.htm

Regards,
Daniel


yess it is a great...

our admin will creat it i am sure  :wink:

admin please creat it.. this will be a great mod.

Please create it

Offline djith

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #108 on: September 09, 2005, 06:31:57 PM »
.htaccess is a folder you have to create , ok , in the rootlevel..... Where is this and what is root level ? can somebody explain please...will be very greatfull :)

Offline bibabobu

  • Sr. Member
  • ****
  • Posts: 311
  • Technische und künstlerische Gravuren
    • View Profile
    • Technische und künstlerische Gravuren für die gesamte Metall-, Kunststoff- und Papierindustrie
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #109 on: September 09, 2005, 07:22:41 PM »
-the root folder is the folder where you have installed the 4images files into.
- .htaccess is not a folder it is a file
- do not forget the dot in front of it
- sometimes the file is hidden or you have to create one

Offline regina

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #110 on: September 11, 2005, 03:48:56 PM »
.will be very greatfull  :wink:

Offline regina

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #111 on: September 15, 2005, 03:30:09 PM »
that's because 4images parses the link for paging class before it calls the class, then during generating the paging, it simply add page=NN to the url query.
So, if you want it replace url with this mod, you will need find every instances where paging.php is being used, remove parsing the url through $site_sess->url() function and then fix paging.php class to parse every url it created through $site_sess->url() function. I think its a messy process...

can u give an example?

can you  :wink:

Offline Maweryk

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #112 on: September 15, 2005, 05:36:42 PM »
Great idea!
How can we do that?

My idea:

Category: mysite.com/ID-category_name.htm
Details: mysite.com/ID-category_name-imgID.htm

Thanks for helping!

Cheers,

Markus



Hello,

as my post may be overread, and i think it is important for us all, here again:

Hello,

I know it has been asked seveal times in this topic before, and also it has been given an answer, but I want to give a suggestion for this...

Question is: Can I change the URL: mysite.com/img123.htm to mysite.com/image_name.htm ?

The answer was: NO, because when 2 images have same name, it won´t work, the 4images is based on unique ID-Numbers.

Ok, here comes my suggestion:

Could we generate URLs like this instead, so we have still the ID, but we´re using the image or cat name in the URL, which helps a lot in SEO :

mysite.com/image_name-ID.htm or
mysite.com/image_name/ID.htm

Regards,
Daniel


Offline regina

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #113 on: September 17, 2005, 01:18:26 PM »
How can we do that?

please help  :oops:

Offline Maweryk

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #114 on: September 19, 2005, 05:02:07 PM »
Please, can somebody help us?

Thanks!

Markus

Offline djith

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #115 on: September 23, 2005, 11:35:18 PM »
Hello, this mod is working for me..... i can have a search engine friendly url.

But with a white page with error 404 , can't fiend page....

what should be the cause and how to find this out ? i think there is something that my server is not accepting, the new url's...maybe it doesn't support this MOD ?

Kindest regards,
Mathew

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 #116 on: September 24, 2005, 12:12:06 AM »
1) made a misstake?
2) provide error logs - then we'll talk ;)
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 #117 on: September 24, 2005, 12:54:43 AM »
Maybe i will get a step closer ... do i have to write the .htaccess in word or another program...? or notepad? ...
i have a   .htaccess.txt   file !! when i rename it to simply   .htaccess  the computer will not recognise the format of the file .....

But i have the short url's :) whit blank pages .....

i leave my site with the error on it ....

www.avatarcorner.com

home is working .... click further into categories.... short url but...... :)

Mathew

Offline djith

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: [Mod] Search Engine Friendly URLs aka Short URLs
« Reply #118 on: September 24, 2005, 12:57:56 AM »
here i have the settings .....


drwxr-xr-x  11 djith    psacln       4096 Sep 23 22:47 .
dr-xr-xr-x  12 root     apache       4096 Jul 21 01:23 ..
-rw-r--r--   1 djith    psacln        926 Sep 23 22:47 .htaccess    :!:
-rw-r--r--   1 djith    psacln       1621 Aug 16 21:01 Readme.txt
drwxr-xr-x   4 djith    psacln       4096 Aug 16 21:00 admin
drwxr-xr-x   2 djith    psacln       4096 Sep 23 22:45 cache
-rw-r--r--   1 djith    psacln       8698 Sep  7 11:16 categories.php
-rw-r--r--   1 djith    psacln       1831 Aug 16 21:01 config.new.php
-rw-rw-rw-   1 djith    psacln       1871 Aug 16 21:07 config.php
drwxr-xr-x   7 djith    psacln       4096 Sep 23 17:29 data
drwxr-xr-x   6 djith    psacln       4096 Aug 16 20:53 default
-rw-r--r--   1 djith    psacln      27924 Sep  7 11:26 details.php
drwxr-xr-x   2 djith    psacln       4096 Aug 16 20:59 docs
-rw-r--r--   1 djith    psacln      10466 Aug 16 21:01 download.php
drwxr-xr-x   2 djith    psacln       4096 Aug 21 11:16 flag
-rw-r--r--   1 djith    psacln      11991 Aug 16 21:01 global.php
drwxr-xr-x   2 djith    psacln       4096 Sep 23 20:55 includes
-rw-r--r--   1 djith    psacln       8585 Sep  7 11:09 index.php
-rw-r--r--   1 djith    psacln      17248 Aug 16 21:01 install.php
drwxr-xr-x   4 djith    psacln       4096 Aug 16 20:55 lang
-rw-r--r--   1 djith    psacln       8144 Sep  7 10:51 lightbox.php
-rw-r--r--   1 djith    psacln       2956 Aug 16 21:01 login.php
-rw-r--r--   1 djith    psacln       2143 Aug 16 21:01 logout.php
-rw-r--r--   1 djith    psacln      59483 Sep  7 10:58 member.php
-rw-r--r--   1 djith    psacln      15474 Sep  7 10:57 postcards.php
-rw-r--r--   1 djith    psacln      16514 Sep  7 10:57 register.php
-rw-r--r--   1 djith    psacln      15907 Sep  7 10:57 search.php
drwxr-xr-x   4 djith    psacln       4096 Sep 23 17:30 templates
-rw-r--r--   1 djith    psacln      15002 Sep  7 10:57 top.php
-rw-r--r--   1 djith    psacln      15196 Aug 16 21:01 update_1.0_to_1.5.php
-rw-r--r--   1 djith    psacln       9837 Aug 16 21:00 update_1.5_to_1.6.php
-rw-r--r--   1 djith    psacln       4675 Aug 16 21:00 update_1.6.1_to_1.7.php
-rw-r--r--   1 djith    psacln       9895 Aug 16 21:00 update_RC-1_to_RC-2.php


are those correct, especialy .htaccess ?

Mathew

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 #119 on: September 24, 2005, 05:13:30 AM »
notepad is fine


Make sure that mod_rewrite is enabled on your server

As I said, look at the error logs and if it say something like
Quote
file cat123.html does not exists
then it means either mod_rewrite is not enabled, your .htaccess is not set properly.or simply .htaccess is being ignored.
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)