Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to fancy URLs on ISS with web.config?
#1
Question 
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
Reply
#2
There's a plugin:
http://get-simple.info/extend/plugin/fan...n-iis/496/

(I haven't tested it)
Reply
#3
(2012-11-15, 00:53:30)Carlos Wrote: There's a plugin:
http://get-simple.info/extend/plugin/fan...n-iis/496/

(I haven't tested it)

Really thanks, it works successfully!

Can you explain how to use for subfolders? such as

http://tur-ip.com/ main GS
http://tur-ip.com/en/ a new GS at subfolder

Thanks a lot
Reply




Users browsing this thread: 1 Guest(s)