Title: [Plugin: WP Db Abstraction] Permalink issue
Last modified: August 20, 2016

---

# [Plugin: WP Db Abstraction] Permalink issue

 *  Resolved [MicioDue](https://wordpress.org/support/users/miciodue/)
 * (@miciodue)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-db-abstraction-permalink-issue/)
 * Hi,
    Waiting for a working 1.1.5 version of the plugin, here’s another issue.
   Same scenario of my [previous post](http://wordpress.org/support/topic/wp-db-abstraction-broken?replies=2),
   WP and PHP updated to new releases (but the same is with with previous versions…
   Admin page options-permalink.php : Default setting is OK, any other setting causes
   a 500.0 error on this page! More strange, if you reload the page many times, 
   SOMETIMES the page loads correctly. I tried a clean installation on a test Windows
   Server using Web Platform Installer and MySQL: no permalink issue. I then installed
   SQL Server 2012 Express and DB Abstraction plugin, then reconfigured WP site 
   to use both: 500.0 error choosing permalinks other than default! I don’t know
   where this issue comes from, but it definitely seems to be related to a SQL Server-
   based WP installation. Tried different versions of the plug-in: 1.1.4, 1.1.3,
   1.1.2, all the same. I found another user (“ravetroll”) experiencing the same
   issue in [this thread](http://techsugar.wordpress.com/2011/03/02/how-to-install-wordpress-on-iis-7-5-using-sql-server-2008/)
   so it’s not just me. Someone has any ideas? The rest of WP wite seems to work
   fine, but the same crash occurs on the whole site with a theme I recently bought
   that requires permalinks and my client is not happy…
 * [http://wordpress.org/extend/plugins/wordpress-database-abstraction/](http://wordpress.org/extend/plugins/wordpress-database-abstraction/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [tjdad](https://wordpress.org/support/users/tjdad/)
 * (@tjdad)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-db-abstraction-permalink-issue/#post-3057298)
 * I had exactly the same problem. When trying to change Permalink from default 
   to any other type. Howeevr, I noticed even though you get 500 error on web page,
   the table “WP_options” in MYSQL would still be updated with “permalink_structure”
   to the new permalink type, such as “/%postname%/”. I think the problem is translation
   layer failed to properly handle those special characters “/%” when retrieving
   the value of permalink_structure from the table.
 *  Thread Starter [MicioDue](https://wordpress.org/support/users/miciodue/)
 * (@miciodue)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-db-abstraction-permalink-issue/#post-3057303)
 * It seems to be the “/%” sequence to give the error, in fact. If you try to set
   permalink_structure to a completely different value, e.g. “/a”, of course it 
   leads to 404 errors when browsing the site but does not cause pages to crash.
   
   I wonder if this can be solved on the plugin side or on the WP side itself…
 *  Thread Starter [MicioDue](https://wordpress.org/support/users/miciodue/)
 * (@miciodue)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-db-abstraction-permalink-issue/#post-3057304)
 * I solved! 😀
 * I found an answer in [authors’ home page](http://wordpress.visitmix.com/development/wordpress-3-1-update)
   stating this:
    _This will mean, if you use mssql on Windows, that no unicode 
   functionality will be available and you will not be able to change the character
   set or collation. The application will be “locked” to windows 1252 for a character
   set. In addition there are limitations on column name length and other problems
   that may pop up. The best solution is to use pdo\_sqlsrv or the sqlsrv extension–
   both are available precompiled and very easy to install on windows, and you can
   install them side by side with the mssql extension if you””””re using it for 
   other legacy code.
 * Replacing mssql driver with pdo-mssql driver seems to have solved the permalink
   issue, and perhaps many others I didn’t notice so far. 🙂
 * Perhaps ‘%’ character caused an Unicode misunderstanting? I don’t know, but if
   anyone tries this solution please confirm it works, thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: WP Db Abstraction] Permalink issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-database-abstraction.svg)
 * [WP Db Abstraction](https://wordpress.org/plugins/wordpress-database-abstraction/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-database-abstraction/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-database-abstraction/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-database-abstraction/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-database-abstraction/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-database-abstraction/reviews/)

## Tags

 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * 3 replies
 * 2 participants
 * Last reply from: [MicioDue](https://wordpress.org/support/users/miciodue/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-db-abstraction-permalink-issue/#post-3057304)
 * Status: resolved