All, Is it possible to the following as a 301? I wish to stop people landing on the root, being redirected to the index.shtml instead. Thanks in advance...
You don't want to do a redirect. You want to do a rewrite... unless you need the url to show the whole new address? Then yes, you can do a redirect, but you want to be careful to specify pure domain requests (example.com) so that other pages (example.com/about) don't also get redirected! A rewrite is a sort of "internal redirect", where when the server is asked for example.com, it sends back example.com/index.shtml... most examples you'll find online go the other way around. Unlike in a redirect, the users don't see that another page has been served... whatever they typed in the address bar remains. If you are using the Apache server, you can use the module mod_rewrite. (that's for Apache2.x, s few things are different in 1.3) There are similar rewrite modules for other servers such as lighttpd and nginx. IIS, they have something, not sure what... in another thread a guy was given ASP code to do it. You can do redirects in mod_rewrite too but that's not the best place if you just need a plain pure redirect. There are also other modules like mod_alias... if you have access to the httpd.conf file, you can just write Redirect rules too.