Reply
How to create .HTaccess file and how can I use it in my website?
Old 04-29-2008, 08:32 AM How to create .HTaccess file and how can I use it in my website?
Junior Talker

Posts: 3
Name: Chandrakant Mohanty
Dear all,

can anybody explain me why we use Htaccess and how can we create and use use it in the website. I am in huge confusion in page errors. kindly make me understand how to redirect a page if it shows some server error. kindly explain me the types of errors and in numbers like 404 so on..



Kind regards
chandrakant
chandrakant is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Old 04-29-2008, 08:34 AM Re: How to create .HTaccess file and how can I use it in my website?
Skilled Talker

Latest Blog Post:
Spam Celebrated 30 Years
Posts: 72
Use a text editor to create a .htaccess

There is a lot of guides to how to use it, just do a google.
wisdomtool is offline
Reply With Quote
View Public Profile Visit wisdomtool's homepage!
 
Old 04-29-2008, 02:45 PM Re: How to create .HTaccess file and how can I use it in my website?
chrishirst's Avatar
Super Moderator

Posts: 10,630
Location: Blackpool. UK
http://httpd.apache.org/docs/1.3/howto/htaccess.html
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-05-2008, 11:54 AM Re: How to create .HTaccess file and how can I use it in my website?
brandonroy's Avatar
Novice Talker

Posts: 10
Name: brandon
first of all, the file has to be named .htaccess (don't forget the dot)
Are you trying to redirect old broken URL's to new ones? Just put a line for each URL you want to do such as:

redirect 301 /oldpagetitle.html http://www.yourdomainhere.com/newpagetitle.html

Notice the gap in between the two. Don't forget it. And remember that you don't need to put the whole old url at the beginning. just the /oldpagetitle.html or whatever URL format you use for pages.
brandonroy is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Reply     « Reply to How to create .HTaccess file and how can I use it in my website?
 

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.15713 seconds with 14 queries