Click picture & go to hostgator.com
Hostgator Inc.

- Hostgator.com trusted by over 2,500,000 domain owners
- Unlimited storage space, unlimited monthly bandwidth
- Hostgator 24/7 support, live chat support, toll free phone.
- Unlimited domain hosting, Free domain name. Unlimited MySQL database.
- Free site transfer, mysql transfer, script transfer. 4500 free web templates.
- Cpanel with fantastico & PHP 5, ecommerce, blog, forum, joomla, drupal.
- Hostgator Coupon 20% Off: SPRING
- Hostgator Reseller Coupon: SPRING
- Hostgator Dedicated Server Coupon: SPRING
- Hostgator One Cent Hosting Coupon: WORDPRESS
- Hostgator Promotion: Special $4.95 $3.96 per month
- Hostgator Discount: Hostgator Discount 20% Off
** This Hostgator Review is hosted with Hostgator Hosting.

   

Hostgator shared web hosting plan does allow apache mod_rewrite feature, and you can use the rewrite feature. There are alot of php scripts that require mod_rewrite feature to be enable on web server in order to function properly. For example this wordpress blog does require redirect via .htaccess and using the rewrite function. Hence allow the wordpress blog permalink to work. You can do permanent redirect or temporary redirection too.

If you are not sure mod_rewrite function is enabled in hostgator shared web hosting? The answer here will be yes, and you can use mod_rewrite in your hostgator shared web hosting.

# Never use www in the domain
# Replace ‘example.com’ with your domain name
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.(([a-z0-9_]+.)?example.com)$ [NC]
RewriteRule .? http://%1%{REQUEST_URI} [R=301,L]

Hostgator Coupon $3.96/mo after 20%

2 Responses to “Hostgator mod_rewrite enabled”

  1. Khal Says:

    I hope you can help me out with this.
    I’m trying to redirect traffic from an old domain to a new domain.

    After researching on the web, I found this script:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule (.*) http://www.yournewdomain.com/$1 [R=301,L]:

    I changed the “yourdomain.com” above with the new domain URL

    I copied it to the very top of my .htaccess file on my server in my old domain.
    The only thing is, every time I go and click on one of the links that are indexex in Google for my old domain, I get the following error message:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Both blogs are hosted with HostGator on a reseller account.
    Appreciate any help you can give me.
    Khal

  2. Khal Says:

    Just to let you know that I was able to figure it out.
    The site where I got the script from had a ” : ” at the end of the following line:

    RewriteRule (.*) http://www.yournewdomain.com/$1 [R=301,L]:

    Removed the ” : ” and everything worked just nicely.

Leave a Reply


10 Most Recent Posting