Site name after link without mod_rewrite

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
destiny
Posts: 27
Joined: Fri 14. Nov 2003, 17:57
Location: Vor dem Computer
Contact:

Site name after link without mod_rewrite

Post by destiny »

This is a quick hack, it just appends the name of the link (on Breadcrumb & Fancy Menu) so it looks instead like

Code: Select all

http://destiny.lavadots.com/index.php?id=0,0,0,1,0,0
like

Code: Select all

http://destiny.lavadots.com/index.php?id=0,0,0,1,0,0/Home
.

I changed two small parts of front.func.inc.php for this (it resides in include/inc_front). You can download the patched version here
http://downloads.lavadots.com/front.func.inc.zip

The changes also convert spaces to underscores (" " -> "_") so no "%20" will be displayed in the link...

This should be more search-engine "friendly".... :roll:
Post Reply