I have a shared hosting plan with hostgator. This is my first time setting up a website so I have a few questions.
First and foremost, I keep reading about things I can/need to do with a htaccess file. Is this something I just create in a text editor and place in my web directory or should I be able to access this somewhere in cPanel or the file manager?
How do I configure my error pages like 404 for when a user enters a url on my domain that doesn't exist? Do I have to activate something in cPanel or put something in an htaccess file? Currently, if I go to: www.domain.com/madeupnonexistentpage.html, all I see is a blank page rather than an error screen.
Also, I read for SEO purposes I want to direct all traffic to either domain.com or www.domain.com with a 301 direct. However, on hostgator (my hosting company) I read somewhere that it said I can't use a regular 301 direct as it will put my site in a permanent loop...so what do I need to do? Also, which is more preferable domain.com or www.domain.com
I see in the file manager where I upload all of my pages that I have the option to compress files. I obviously want to optimize the performance of the site so would it be beneficial to compress any pages or images and if so, what format?
Lastly, I built a small mobile site on a sub-domain that I want hand held devices to be redirected to when they browse to my main home page. I did some research and came across Wurfl but have no idea how to actually implement it.
Any help would be greatly appreciated.
|