Page 1 of 1

IIS Webserver - SEO not working properly

Posted: Wed Feb 18, 2015 4:56 pm
by rchampine
WE have phpmyfaq installed on a IIS webserver. We went with the default configuration. We have about 200 documents installed and just realized the the Search Engine Optimization is not working properly. We went to the install instructions and have followed these steps:

IIS Web server
If you want to enable the search engine optimization you have to rename the file _httpd.ini to httpd.ini in the root directory where your FAQ is located. Then you have to activate the URL rewrite support in the admin backend in the configuration page.

However in doing so we now get this error message: 404 file or directory not found

We had to change back. Can you tell me what we are doing wrong?

Thanks

Re: IIS Webserver - SEO not working properly

Posted: Wed Feb 18, 2015 7:37 pm
by Thorsten
Hi,

which version of IIS are you using?

bye
Thorsten

Re: IIS Webserver - SEO not working properly

Posted: Wed Feb 18, 2015 8:00 pm
by rchampine
We are running version 8.

Thank you!!

Re: IIS Webserver - SEO not working properly

Posted: Wed Feb 18, 2015 8:02 pm
by Thorsten
Hi,

just read that our rewrite rules only work for IIS 6. We'll try to port the rules to IIS 7 and IIS 8 as soon as possible.

bye
Thorsten

Re: IIS Webserver - SEO not working properly

Posted: Wed Feb 18, 2015 8:06 pm
by rchampine
Any idea when that would be? No pressure, its just that I'm on a time crunch and have conviced my managers to use this product, but with the search out of wack they are hesitate to proceed any further.

I am very impressed with this product and can't thank you enough for what it all does right now.

Thank you!!!

Re: IIS Webserver - SEO not working properly

Posted: Thu Feb 19, 2015 9:20 am
by Thorsten
Hi,

you can try this converter: http://cbsa.com.br/tools/online-convert ... onfig.aspx

Just use the rules from our .htaccess files.

Please provide feedback if this works, I would add that to phpMyFAQ 2.8.21.

bye
Thorsten

Re: IIS Webserver - SEO not working properly

Posted: Thu Feb 19, 2015 7:49 pm
by rchampine
The converter allowed me pass the 404 error with the file renamed _httpd.ini to httpd.ini in the root directory where your FAQ is located and the URL rewrite activated in the configuration page. But the search still does not appear to be working as I thought it should be.

Here is some examples that I am doing and please let me know if the results are wrong or if I'm doing something wrong:

I'm searching for a document in our FAQ that would have "disable active directory procedure". When I put - disable active directory - in the search box, I get every article that has any of these words in that document (which could be many). Now I thought I could narrow down that search by using "" or % but when I do that I get no documents results at all. Example of search criteria "active directory" or "active%20directory" or active%20directory.

Thanks,
Rita

Re: IIS Webserver - SEO not working properly

Posted: Thu Feb 19, 2015 7:57 pm
by Thorsten
Hi,

the search is just a LIKE query on MS SQL, sorry for not having the best search results.

bye
Thorsten

Re: IIS Webserver - SEO not working properly

Posted: Thu Feb 19, 2015 8:22 pm
by rchampine
I appoligize. After writing the previous post i tested further and I get the 404 error again. I had to disable the URL rewrite, so the conversion DID NOT work!

Re: IIS Webserver - SEO not working properly

Posted: Thu Feb 19, 2015 8:28 pm
by rchampine
I thank you for all your support regarding this matter! You have answered my question in a quick manner and I appreciate that. Do you think that you will in future release have a better Search Engine?

I might have found a quick work around for us to use until then but would ultimately like the search to be from the search box and not my work around :-(.

THANKS!!

Re: IIS Webserver - SEO not working properly

Posted: Sat Feb 21, 2015 12:54 pm
by Thorsten
Hi,

please try this web.config file:

https://github.com/thorsten/phpMyFAQ/bl ... web.config

It should be located here: C:\Windows\System32\inetsrv\config\applicationHost.config

bye
Thorsten