2012-11-14, 23:44:33
Hi all,
I had to moved my site to ISS server and now sites homepages working but when you click another pages it returns 404.
I found out problem cause .htacess but I dont know nothing about ISS.
I have found an article about fancy URLs for Joomla:
http://docs.joomla.org/Enabling_Search_E...RLs_on_IIS
And wonder how can i create web.config file for get simple's .htacess file?
Here is my .htacess file:
----------------------------------------------
AddDefaultCharset UTF-8
RewriteEngine on
# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9-]+)/?$ index.php?id=$1 [QSA,L]
----------------------------------------------
Here is my website link: htt://tur-ip.com
eg. http://tur-ip.com/iplikler --> 404
http://tur-ip.com/index.php?id=iplikler --> Working good!
I wonder constant solution with web.config (I am not sure that ISS is 7 nor 6)
Thanks
I had to moved my site to ISS server and now sites homepages working but when you click another pages it returns 404.
I found out problem cause .htacess but I dont know nothing about ISS.
I have found an article about fancy URLs for Joomla:
http://docs.joomla.org/Enabling_Search_E...RLs_on_IIS
And wonder how can i create web.config file for get simple's .htacess file?
Here is my .htacess file:
----------------------------------------------
AddDefaultCharset UTF-8
RewriteEngine on
# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9-]+)/?$ index.php?id=$1 [QSA,L]
----------------------------------------------
Here is my website link: htt://tur-ip.com
eg. http://tur-ip.com/iplikler --> 404
http://tur-ip.com/index.php?id=iplikler --> Working good!
I wonder constant solution with web.config (I am not sure that ISS is 7 nor 6)
Thanks