pearl_123 — 2012-05-15T10:56:08-04:00 — #1
Hi to all,
I have a site live on the windows server but the htaccess is not working it give me following error
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
I want to show the url like this
I want to show above url like this
My htaccess file is currently site is in subfolder
rewriterule ^index.php$ index.php [L]
rewriterule ^categories/([a-zA-Z0-9_-]+)$ categories/index.php?cat=$1
thanks in advance.
wwb_99 — 2012-05-15T15:51:03-04:00 — #2
IIS does not use .htaccess. If you are on IIS7 then you can use the native url rewriting to get there. That is typically handled in a web.config file.
dklynn — 2012-05-15T18:52:12-04:00 — #3
Good info! Where does web.config reside? Content identical to Apache's mod_rewrite directives? Link to M$ info about M$_rewrite? THANKS!
wwb_99 — 2012-05-15T22:47:25-04:00 — #4
All that is very well documented on IIS.net and numerous other sites, no need to repeat it here.
pearl_123 — 2012-05-16T02:17:21-04:00 — #5
thanks for the reply.
I have found the web.config file but how i can write a rule to convert this dynamic url
please keep in mind that "eyes" will be dynamic mean in second url may be lips instead of eyes.
logic_earth — 2012-05-16T08:50:23-04:00 — #6