Reply
Do you have a default .htaccess file for every site?
Old 09-05-2008, 01:38 AM Do you have a default .htaccess file for every site?
TWD
Skilled Talker

Posts: 82
What I mean is, it seems to me that there are some common things you can do with .htaccess that would be beneficial on each and every website you create.

Things like redirecting URL requests from http://mysite.com.html to http://www.mysite.com.php and so on.

So is there a default .htaccess that you commonly use?
TWD is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 09-05-2008, 03:34 AM Re: Do you have a default .htaccess file for every site?
mtishetsky's Avatar
King Spam Talker

Posts: 1,134
Name: Mike
Location: Mataro, Spain
The one that contains DirectoryIndex index.php, because sometimes the server is confugured without this directive.
__________________
Free Mobile Phone Themes

And don't forget to give me talkupation!
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
Old 09-05-2008, 03:34 PM Re: Do you have a default .htaccess file for every site?
chrishirst's Avatar
Super Moderator

Posts: 16,452
Location: Blackpool. UK
You wouldn't want to always redirect from htm(l) to php anyway, there are many instance where you may need pages with .htm(l) extensions.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System | Bits & Bobs
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Do you have a default .htaccess file for every site?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12744 seconds with 12 queries