Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 24th Apr 2010, 06:39 PM   #1
Senior Warrior Member
War Room Member
 
Join Date: 2006
Location: Mars
Posts: 1,133
Thanks: 152
Thanked 310 Times in 223 Posts
Blog Entries: 2
Default
Redirect
Share on: 
fb share twitter share gplus share more share

Hi

How do I redirect the following

mydomain.com/keyword

to

mydomain.com/index.html/keyword


I searched on Google and solution I found is using htaccess, but I am not sure how to do it?

Anyone can help me on this?

Thanks
blackjack is offline  
Unread 24th Apr 2010, 07:43 PM   #2
HyperActive Warrior
War Room Member
 
Manfred Ekblad's Avatar
 
Join Date: 2009
Location: Bandung, Indonesia
Posts: 281
Thanks: 103
Thanked 193 Times in 55 Posts
Default
Re: Redirect
Share on: 
fb share twitter share gplus share more share

Originally Posted by blackjack View Post

I searched on Google and solution I found is using htaccess, but I am not sure how to do it?
Hmm... what part are you not sure about?

If you found a solution with htaccess, all you should have to do is to edit the htaccess file directly on the server or upload it using FTP.
Manfred Ekblad is offline  
Unread 25th Apr 2010, 03:55 AM   #3
Senior Warrior Member
War Room Member
 
Join Date: 2006
Location: Mars
Posts: 1,133
Thanks: 152
Thanked 310 Times in 223 Posts
Blog Entries: 2
Default
Re: Redirect
Share on: 
fb share twitter share gplus share more share

The part I didn't understand where is this htaccess file on my hosting account?

I have few domain names. I can see public html folder with all my domain names. How do I find and edit htaccess for just one domain.

Thanks
blackjack is offline  
Unread 25th Apr 2010, 04:22 AM   #4
HyperActive Warrior
War Room Member
 
Manfred Ekblad's Avatar
 
Join Date: 2009
Location: Bandung, Indonesia
Posts: 281
Thanks: 103
Thanked 193 Times in 55 Posts
Default
Re: Redirect
Share on: 
fb share twitter share gplus share more share

Hmm... I dont know about your server configuration, but I'm guessing you have something like this:

root folder
./public_html
./public_html/mydomain.com
./public_html/myotherdomain.com
./public_html/mythirddomain.com

and so on...

in that case, when the visitor navigates to mythirddomain.com, the server will look in the ./public_html/mythirddomain.com-folder. Add/edit the htaccess file in that folder.

Please note, the correct filename is .htaccess (with a leading dot). And some FTP-clients hide the .htaccess file so you might not see it. If that is the case, try creating it on your local computer and upload it anyway.
Manfred Ekblad is offline  
Unread 25th Apr 2010, 11:06 PM   #5
Active Warrior
 
Join Date: 2010
Posts: 76
Thanks: 1
Thanked 4 Times in 4 Posts
Default
Re: Redirect
Share on: 
fb share twitter share gplus share more share

If you have cPanel, you can add it directly without worrying about the .htaccess format.
Bellthorpe is offline  
Closed Thread


Bookmarks

Tags
redirect


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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 10:17 PM.