My question is, if I’m using a .htaccess file like:
RewriteEngine On
RewriteRule ^members/([^/\.]+)/?$ /forum/view_member.php?member=$1
then do I need a file say members/kernel_kev.html or members/kernel_kev/index.html that would pretty much be blank, but needs to be there for google to see it and cache it so that each thread, member profile etc will be on google search results?
I’m a little confused on how this would work without any html files and just a .htaccess file.
Google has no way of differentiating between a file on the disk and a URL you generate programmatically. It’s simply requesting a URL, which interprets using mod_rewrite to figure out how to handle, and the result is returned.
There are specific URLs that google may look for directly (like ‘robots.txt’, for instance), but most of the pages it will be looking for would be through links (wither originally from your main page or from some other site.