I use Baskettcase’s script for breadcrumbs. You will probably need to use modrewrite to do the conversion. May want to post in the apache config forum here.
Before you post, check out: http://datakoncepts.com/seo
This is in dklynn’s sig, one of the main helpers in apache config, he will probably tell you to read that first.
After getting your url’s rewrote, check out the script I use, it is pretty easy, but I am not sure how it acts with dynamic urls.
WHAT? You will need to turn on MultiViews to include the file in the path like that - IMHO, a very ugly URL! You could leave out the browse.php in the link YOU create and redirect to the original link easily but, as rg84 said, you’ve GOT to give it a try first.
Thanks for this but it doesn’t seem to work so far - the only thing I’m seeing on all my pages is ‘Page Title’ just written like this.
If I roll over it, I can see that the url it’s pointing to is that of the page I’m currently on. How can I change it from saying ‘Page Title’ to the actual titles? And then make a breadcrumb trail out of them?
Thank you, got that bit working. The only problem now is that it only displays one title per page (i.e. the title of the page you’re on), not the last three pages… Am I doing something wrong?
Thanks guys. I keep getting this warning - even thought the session function comes first, before everything else on the page:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent
It only gives me this warning on the home page (although all my pages are using the same header). Any idea what could be happening?
Is there any white space before the <? ?
Because that will cause it to fail.
Same thing with the pages that are including this file - there must be no un-PHP-encapsed whitespace before the include. The “<?php” before the include must be the first line, first character.
Thank you - that did it. My index page had a space before the header include, which is what was causing the problem.
Now the only problem I have is that the $url is always the same - i.e it only shows the url of the current page, regardless of which page title you click on or roll over. Any idea why?
So far the code in the htaccess file hasn’t worked, am I doing something wrong? my mod rewrite is definitely enabled and working properly, I’ve tested it.