Anybody know of a script that redirects to itself. For example using a breadcrumbt that instead of pointing to index, goes to the page itself
littleman
9:11 pm on Nov 8, 2001 (gmt 0)
Acternaweb, could you elaborate a bit?
Acternaweb
9:35 pm on Nov 8, 2001 (gmt 0)
I have breadcrumbs as nagavation at top of the page. When ther visitor clicks on "guestbook" I want them redirected to the guestbook instead of the index.html file. Does that help?
idiotgirl
2:52 am on Nov 10, 2001 (gmt 0)
If your on Unix/Apache you could modify .htaccess to point to a guestbook.cgi, instead of guestbook/index.html. Leave a dummy index.html in the folder for the breadcrumbs script (and SE's) to pick up, but anyone clicking it would be redirected to guestbook.cgi because of the mod in .htaccess. Looks to me like it would work easy enough.
If you do a search here in WMW you'll find alot of ways to modify your .htaccess files with redirects. If you're on Windows... that's another story. Foreign waters for me!
Woz
6:56 am on Nov 10, 2001 (gmt 0)
If I understand correctly, I think you are looking for a script that will automatically creates the breadcrumb trail dependant on the current page location. Am I correct? I know it can be done in ASP, and I am sure it could be done in Perl, PHP, whatever. Is this what you want?