Web Hosting : changing dynamic url into static url
By hostgator on Oct 4, 2008 in Discuss Hosting
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=enI tried two ways. These are either putting this code in my .htaccess file:
Options +FollowSymLinks
RewriteEngine on
RewriteRule home-language-(.*)\.htm$ home.php?language=$1or 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=$1Nonetheless, 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 :- Bluehost : htaccess help
- Bluehost : 301 Redirect in .htaccess
- Bluehost : Make domain.com point to www.domain.com
- Bluehost How-To : Re-directing robots.txt to robots_ssl.txt for https requests file not found
- Bluehost : I can’t access my website after my files are uploaded
- Bluehost : mod_rewrite question
- Bluehost : Deeplink Suggestion
- Web Hosting : Using php to “create” balanced static hosting
- Web Hosting : Configuriring MRTG
- Bluehost : Addon and subdirectory question
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.