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.
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.
Good info! Where does web.config reside? Content identical to Apache’s mod_rewrite directives? Link to M$ info about M$_rewrite? THANKS!
All that is very well documented on IIS.net and numerous other sites, no need to repeat it here.
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.