Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-24-2009, 09:14 AM   #1 (permalink)
Contributing Member
 
alinush's Avatar
 
Join Date: 09-12-06
Posts: 52
iTrader: 0 / 0%
alinush is liked by many
Send a message via Yahoo to alinush
.htaccess help

I'm using:

Code:
RedirectMatch 301 (.*)\.html$ http://www.website.com$1.php
to redirect all the .html files to the new .php files.

However, when I access the main page ( www.website.com ), it's redirecting me to www.website.com/index.php (probably because it's trying to load index.html first)

Is there any way to avoid this and be able to access www.website.com directly ?

Thanks
__________________
funny pictures - funny t-shirts
alinush is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
htaccess jabo Coding Forum 6 03-09-2009 07:01 PM
Conflict, What is the right htaccess rule, default homepage file with htaccess? basketmen Coding Forum 2 01-20-2009 08:50 AM
.htaccess sim Coding Forum 5 01-24-2005 03:54 PM
What can you do with .htaccess? Jason Web Design Lobby 4 12-03-2004 11:39 PM
.htaccess help Limit Coding Forum 1 08-07-2004 11:34 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 03:37 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.