IIS Webserver - SEO not working properly

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
rchampine
Posts: 6
Joined: Wed Feb 18, 2015 4:37 pm

IIS Webserver - SEO not working properly

Post 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
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: IIS Webserver - SEO not working properly

Post by Thorsten »

Hi,

which version of IIS are you using?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rchampine
Posts: 6
Joined: Wed Feb 18, 2015 4:37 pm

Re: IIS Webserver - SEO not working properly

Post by rchampine »

We are running version 8.

Thank you!!
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: IIS Webserver - SEO not working properly

Post 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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rchampine
Posts: 6
Joined: Wed Feb 18, 2015 4:37 pm

Re: IIS Webserver - SEO not working properly

Post 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!!!
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: IIS Webserver - SEO not working properly

Post 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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rchampine
Posts: 6
Joined: Wed Feb 18, 2015 4:37 pm

Re: IIS Webserver - SEO not working properly

Post 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
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: IIS Webserver - SEO not working properly

Post by Thorsten »

Hi,

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

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rchampine
Posts: 6
Joined: Wed Feb 18, 2015 4:37 pm

Re: IIS Webserver - SEO not working properly

Post 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!
rchampine
Posts: 6
Joined: Wed Feb 18, 2015 4:37 pm

Re: IIS Webserver - SEO not working properly

Post 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!!
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: IIS Webserver - SEO not working properly

Post 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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply