homepage Welcome to WebmasterWorld Guest from 54.166.108.167
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Redirection through .htaccess
Redirection from domain.com/index to domain.com
new_seo




msg:3445181
 6:14 pm on Sep 8, 2007 (gmt 0)

Hi Mates,
I am facing a problem in 301 redirection through .htaccess.
My site is exist in domain.com/index.html and domain.com/index.php forms.
I am trying to redirect them to domain.com.The problem is that I am not able to find the proper code.Can any one here suggest me the proper code of this redirection.
Regards
new_seo

 

jdMorgan




msg:3445408
 2:49 am on Sep 9, 2007 (gmt 0)

A popular subject [google.com]. :)

Jim

new_seo




msg:3445724
 5:49 pm on Sep 9, 2007 (gmt 0)

Hi Jim,
Thanks for your ans.,but sorry to say that I am not getting the code from that link.
Will you please help me in this issue.

jdMorgan




msg:3445739
 6:09 pm on Sep 9, 2007 (gmt 0)

2nd page of results, third listing, second post: [webmasterworld.com...] :)

Jim

new_seo




msg:3445770
 7:02 pm on Sep 9, 2007 (gmt 0)

Thank you very much jim. :)
thanks for your help.

g1smd




msg:3446731
 9:02 pm on Sep 10, 2007 (gmt 0)

I use an extra ? in the code html?Šphp so that index.htm also gets redirected.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved