Broken search funtion – ISAPI_Rewrite
-
Dear WordPress,
I am hosting my WordPress “Plakballen.nl” on an IIS server, yes I know it’s an awkward and not advice situation ??
I had a problem with my permalinks (because of the IIS yes). But I got an work around. an httpd.ini file which rewrites my URL! This works great for my permalink structure (https://plakballen.nl/categoy/post-name) and for my page Navigation (I got a the bottom of my page). But it seems my search function doesn’t work anymore… :S If I remove my httpd.ini and set my permalinks to default it all works so it has something to do with the script (sadly enough I am not familiar with mod_rewrite).
Can someone help me please? you can find the httpd.ini here underneath…
Search problem: When I press search it adds the (basic) ?s= code in your url and redirects to your home page again.
[ISAPI_Rewrite]
[ISAPI_Rewrite]
# For file-based wordpress content (i.e. theme, admin, etc.)
RewriteRule /wp-(.*) /wp-$1 [L]# For normal wordpress content, via index.php
RewriteRule ^/$ /index.php [L]
RewriteRule /(.*) /index.php\?$1 [L]# /index.php/ is not really necessary
# RewriteRule ^/$ / [L]
# RewriteRule /(.*) /\?$1 [L]
- The topic ‘Broken search funtion – ISAPI_Rewrite’ is closed to new replies.