Go Back   PHP Link Directory Forum > PHP Link Directory (phpLD) > Mods and contribution Discussion

Mods and contribution Discussion This forum is only for discussion of modding phpLD. For specific mod releases, please see the appropriate forum.

Closed Thread
 
Thread Tools Display Modes
Old 08-17-2005   #1
MikeMike
 
Join Date: Aug 2005
Posts: 9
Default URL rewrite mod

It's based on phplinkdirectory-2.0.0rc4. Maybe someone could post here if it also works on later versions.

Anyway, I had this mod done so I could have my categories appear to be one directory level higher than the original rewrite. I believe that Google is giving less pagerank for lower directory levels.

Now there are 3 options for URL's:

Category:
mydomain.com/index.php?c=2
mydomain.com/category1/
mydomain.com/category1.html

Subcategory:
mydomain.com/index.php?c=4
mydomain.com/category1/subcategory1/
mydomain.com/category1/subcategory1.html

Change the setting through admin/system/edit settings/directory

Regards
Mike

Edit by Boby:

During the forum change from phpBB to vBulletin some attachments could not be imported and some failed.
I think this is the original MOD uploaded by MikeMike and because of many requests for this mod I've re-uploaded it.
If this is not MikeMike's MOD, please let me know and I will remove it.

Attached Files
File Type: zip URLrewrite.zip (317.1 KB, 510 views)

Last edited by David; 06-08-2008 at 10:03 PM. Reason: Re-attaching MOD lost during forum transition from phpBB to vBulletin
MikeMike is offline  
Old 08-17-2005   #2
David
Administrator
phpLD Administrator
Supporter
 
David's Avatar
 
Join Date: Jan 2005
Posts: 11,667
Default

Hi, I added it to your post as well. Thanks for the addition. This is a great option for people, so their directory is not the same as everyone else. I want to emphasize to SEOs that it really helps to create urls/pages that are different. If it is the same as everyone else, there is always a chance google could give decreased weight in the future. A good example of this is how phpbb individual topic pages get a reduced pagerank.
David is offline  
Old 08-17-2005   #3
Ap0s7le
 
Join Date: Jun 2005
Location: The world
Posts: 816
Send a message via ICQ to Ap0s7le Send a message via AIM to Ap0s7le Send a message via MSN to Ap0s7le Send a message via Yahoo to Ap0s7le Send a message via Skype™ to Ap0s7le
Default

He did basically what I started to do, nice.

I'll work this into a downloadable mod for RC5.

Though what I would've added was the ability to change the extension (".html") in the admin, rather than it be hard coded.

How does that sound?

Thanks

-Casey
__________________
Casey Wilson / Ap0s7le
Freelance Programmer
http://www.ap0s7le.com
Need help with PHPLD? PM me
Ap0s7le is offline  
Old 08-17-2005   #4
seothatworks
 
Join Date: Jun 2005
Posts: 109
Send a message via AIM to seothatworks Send a message via Yahoo to seothatworks
Default

Quote:
Originally Posted by Ap0s7le
How does that sound?
Sounds good because otherwise you would soon start hearing "but they told me .htm is better than .html", and that sort of stuff .
On a more serious note, it is quite low on my own list, but many people will also want mydomain.com/category_subcategory_subsubcategory.html. Worth of consideration whether it is doable right while you are at it.
__________________
Greetings, Tom
Legal Dictionary

Last edited by David; 06-08-2008 at 10:03 PM.
seothatworks is offline  
Old 08-17-2005   #5
Ap0s7le
 
Join Date: Jun 2005
Location: The world
Posts: 816
Send a message via ICQ to Ap0s7le Send a message via AIM to Ap0s7le Send a message via MSN to Ap0s7le Send a message via Yahoo to Ap0s7le Send a message via Skype™ to Ap0s7le
Default

Shoot me now
__________________
Casey Wilson / Ap0s7le
Freelance Programmer
http://www.ap0s7le.com
Need help with PHPLD? PM me
Ap0s7le is offline  
Old 10-01-2005   #6
syscom
 
Join Date: Oct 2005
Location: Leipzig
Posts: 113
Default

closed
syscom is offline  
Old 10-06-2005   #7
bobby9101
 
bobby9101's Avatar
 
Join Date: Sep 2005
Posts: 678
Default

do i need to install this?
or is it pre-intsalled on the latest version
__________________
Please check your sig links
bobby9101 is offline  
Old 10-06-2005   #8
David
Administrator
phpLD Administrator
Supporter
 
David's Avatar
 
Join Date: Jan 2005
Posts: 11,667
Default

This is an alternative to the regular mod rewrite that is already available.
David is offline  
Old 10-22-2005   #9
Timeless
 
Join Date: Oct 2005
Posts: 53
Default

have anyone this workin in the newest version?

cause i am sure that i done everything right, but if i change then in the admin section the rewrite option to "2" and say save..it jumps automaticly back to "1"..same with "0"..it goes back to "1"

tx guys
Timeless is offline  
Old 10-31-2005   #10
syscom
 
Join Date: Oct 2005
Location: Leipzig
Posts: 113
Default

Die 1. Seite ist OK.

Bsp.: Computer_Internet/Webkataloge.html
aber wenn man auf die 2 Seite klickt: Previous [1] 2 Next dann ist die

Url: Computer_Internet/Webkataloge.html?p=2

das ist nicht gut.

Was kann ich machen, damit die URL zum Beispiel so dargestellt wird ?
Z.B.: Computer_Internet/Webkataloge-2.html
syscom is offline  
Old 10-31-2005   #11
Timeless
 
Join Date: Oct 2005
Posts: 53
Default

Hi syscom,

du solltest hier nicht in deutsch schreiben. Sonst wird dir keiner helfen, weil es keiner versteht. ich werde deine frage mal übersetzen, da es mich auch interessiert.

english is default!!!

----------------------------------------------------------------------------------

Hi mike,

i have that mod now running as html and it runs great. Very nice work m8!
take a look in the signature

One question, syscom had this question too, how is it possible to display the previous sites in html too and not in the html?p=2 way... 2 = 2nd Site...

tx guys..

later...
Timeless is offline  
Old 11-02-2005   #12
syscom
 
Join Date: Oct 2005
Location: Leipzig
Posts: 113
Default

No Tips?
syscom is offline  
Old 01-21-2006   #13
gustotelmy
Supporter
 
Join Date: Nov 2005
Posts: 182
Default anybody get this to work in the newest version 2.0?

anybody get this to work in the newest version 2.0?

thanks in advance
gustotelmy is offline  
Old 01-21-2006   #14
Bill
Mentor
 
Bill's Avatar
 
Join Date: Aug 2005
Location: New Jersey
Posts: 334
Default Re: anybody get this to work in the newest version 2.0?

Quote:
Originally Posted by gustotelmy
anybody get this to work in the newest version 2.0?

thanks in advance
its in version 2.0
Bill is offline  
Old 03-02-2006   #15
neurosis4u
Moderator
 
neurosis4u's Avatar
 
Join Date: Mar 2006
Location: Germany
Posts: 1,056
Send a message via MSN to neurosis4u Send a message via Yahoo to neurosis4u
Default

Hello Forum,

first excuse my bad english...I hope you understand me..

I tested this mod and got a problem with it:

The url endings on the categories are with ".html" and working good , but if i click on a subcategory nothing happens, The script only reloads the actual Page.

Can someone help me to fix this problem?

THX :?:
neurosis4u is offline  
Old 04-16-2006   #16
trueman
Supporter
 
Join Date: Mar 2006
Posts: 15
Default url rewrite

Hi.
But I have a problem with the sub folder (it’s just work in the main folder)

I would like to asked you, how did you do that ?

Last edited by David; 06-08-2008 at 10:03 PM.
trueman is offline  
Old 06-06-2006   #17
norman
Supporter
 
Join Date: Apr 2006
Posts: 26
Default

Links in the above post are dead - is there a solution for this?

Thank you!
norman is offline  
Old 06-06-2006   #18
Steven Myers
Supporter
 
Steven Myers's Avatar
 
Join Date: May 2006
Posts: 1,178
Default

Hmm, have a look here: {older non working link removed}
__________________
Hosting Feedback - General Web Directory

Last edited by David; 06-08-2008 at 10:04 PM.
Steven Myers is offline  
Old 06-08-2006   #19
Boby
Supporter
Moderator
 
Boby's Avatar
 
Join Date: Dec 2005
Location: Cluj-Napoca/Sighisoara (Romania)
Posts: 4,468
Default

@all

Check again the first post, I have re-uploaded the attachment!
http://www.phplinkdirectory.com/foru...=2856#post2856

Boby
__________________
wanna say thank you?
  • My phpLD Mods
  • I am *not* a phpLD staff member, so please do *not* ask me to grant permissions, sales stuff, for access to the private supporter forums or phpLD 3.0+ download area.
  • Before you report your problems, make sure it happens with the *default* package and not your highly modified code. Don't forget to use the search feature and do not *bump* threads to soon (allow at least 24h).
Boby is offline  
Old 06-09-2006   #20
norman
Supporter
 
Join Date: Apr 2006
Posts: 26
Default

Thank you very much! - I will try this over the weekend and post back.
norman is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:59 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.