You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to automatically update the .htaccess file so that it points to the new version of the index.html page?
For example, "index.5dfd.html" would require editing .htaccess so that browsers know "index.5dfd.html" is the home page--
Such as
#Alternate default index page
DirectoryIndex index.5dfd.html
However, with every new revision, the .htaccess file would have to be continuously updated. Is it possible for gulp-rev-all to update the .htaccess file as well, or to use a wildcard?
For example,
#Alternate default index page
DirectoryIndex index.*.html
I don't think that will work. Maybe something like this?
RewriteEngine on
RewriteRule ^$ /index*.html [L]
I don't really know what I am doing.
Any ideas of how to point browsers to the new index-rev.html? Thanks, Sam
The text was updated successfully, but these errors were encountered:
Is it possible to automatically update the .htaccess file so that it points to the new version of the index.html page?
For example, "index.5dfd.html" would require editing .htaccess so that browsers know "index.5dfd.html" is the home page--
Such as
However, with every new revision, the .htaccess file would have to be continuously updated. Is it possible for gulp-rev-all to update the .htaccess file as well, or to use a wildcard?
For example,
#Alternate default index page
DirectoryIndex index.*.html
I don't think that will work. Maybe something like this?
RewriteEngine on
RewriteRule ^$ /index*.html [L]
I don't really know what I am doing.
Any ideas of how to point browsers to the new index-rev.html? Thanks, Sam
The text was updated successfully, but these errors were encountered: