I am building a new site and it has your standard features organized into code modules; blog, gallery, etc.
While I’m familiar with regular expressions, I’m having trouble getting the correct .htaccess entry to do what I want.
I want to be able to have the browser load a specific page from one of the modules but only if the REQUEST_URI is blank so the standard index (ie. www.mysite.com/index.html) would be called by default.
For instance:
I was trying
RewriteCond %{REQUEST_URI} ^$
RewriteRule ^(.*)$ http://website.com/module/specific-page
I had the (.*) in the RewriteRule because after that I would try to do my standard non-www to www rules.
Any tips?