Web Hosting : changing dynamic url into static url

Host unlimited blogs, websites for $4.95 only with this web host
or order a planet alpha dedicated server for less than $50 here

Hostgator and Bluehost are our best webhosts and godaddy.com is the best domain registrar.

This web hosting thread started by thosecars82 on 04 October 2008

Does any of you have any suggestion to change a dynamic url into a static url?
This is the url I want to make static:
http://www.arreglaordenador.com/home.php?language=sp
http://www.arreglaordenador.com/home.php?language=en

I tried two ways. These are either putting this code in my .htaccess file:

Options +FollowSymLinks
RewriteEngine on
RewriteRule home-language-(.*)\.htm$ home.php?language=$1

or placing this other code in the same file:
Options +FollowSymLinks
RewriteEngine on
RewriteRule home/language/(.*) home.php?language=$1
RewriteRule home/language/(.*)/ home.php?language=$1

Nonetheless, it did not work as I expected since I get an Error 500 in my browser for my local installation of the site. Moreover, for the hosting server I do not get any error but the url keeps being dynamic.
I have php 5 installed on both local and hosting company if that information helps to tackle the problem.
I would appreciate any suggestion.

Discuss this at WHT or read more about bluehost and hostgator

Related Posts :

This web hosting blog is proudly hosted with reliable Hostgator webhosting for only one cents through this hostgator coupon. If you're new here, you may want to subscribe to this web hosting RSS feed

Sorry, comments for this entry are closed at this time.