View Full Version : mod_rewrite

July 3rd, 2005, 07:41 AM
Is there any hack/plugin etc to make it search engine friendly i.e can showphoto.php?photo=123&cat=4 be rewritten to something like /123-4.php or 123/4.php etc? Also can you have custom fields that can be added to the title tag, i.e can I have a field called keywords and can I put this field between <title></title>? Cheers.

July 3rd, 2005, 07:54 AM
hmm had another look through a sample site and /photos/showgallery.php?cat=659&page=7&perpage=9&what=allfields&=&action= .. please tell me that there is a hack that can make that search engine friendly.

July 3rd, 2005, 05:01 PM
There is an option in the Admin panel for Spider-friendly URLs... look in the Global Options. The URLs will look something like http://www.yourdomain.com/photos/showphoto.php/photo/5441/cat/510

July 5th, 2005, 01:59 AM
I've enabled the spider friendly in admin CP and then used mod_rewrite to enable sub directories like http://www.fadpics.com/username. Is this what you're trying to do?

July 5th, 2005, 06:18 PM
Thanks to both of your answers. What about custom fields? Is it possible to add a custom field and then put it in the title tag?