|
-
[RESOLVED] 301 Redirect- how to direct a page without an extension
I'd like to know how (or if) I can create a 301 redirect so that if someone enters a URL without an extension, i.e.:
www.mydomain.com/about (no extension)
can I get those to redirect to an .shtml file?
Thank you, for your help.
-
In your .htaccess file:
Code:
<FilesMatch .*>
Options +MultiViews
</FilesMatch>
www.mydomain.com/about and www.mydomain.com/about.shtml would open the same document; about.shtml.
At least 98% of internet users' DNA is identical to that of chimpanzees
-
Perfect. Thank you so much.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks