Quote:
Today at 06:11 AM alesis404 said this in Post #78
Great hack Erwin! just wondering now if it is possible if I have a directory with 100's of pages is there some way to search for just those pages instead of coming up with the normal .html file without the VB graphics wrapped around it?
For instance I would like to search and possibly index all pages like
http://mysite.com/forums/html.php?fi.../whatever.html
and not get
http://mysite.com/forums/data/whatever.html
So that users could see all pages in the default directory perhaps in an index page instead of pulling up the normal .html pages?
*Thanks again for something that might solve my problem....100's of pages I would like to have the VBB look and be searchable somehow
|
I see what you mean.
Make up a .htaccess file, with the contents:
Code:
RewriteEngine on
RewriteRule ^data/([^$]*).html$ html.php?file=data/$1.html
RewriteRule ^[ft]([0-9]+)/s([^/]*)/(.+)$ /$3 [L]
Upload it to your forum directory. This only works if you are running an Apache server. See if that works.
Calling
http://mysite.com/forums/data/whatever.html will automatically make you get integrated pages.