I want to customize the structure of my wordpress permalinks slightly beyond what's offered by default. I want to add #/ before the /%postname%/, so that instead of current permalinks:
http://www.mybusinesssite.com/about/thecompany
I get this:
http://www.mybusinesssite.com/#/about/thecompany
EDIT: Here's what's not working: The actual permalink for the page is http://www. mybusinesssite.com/about/thecompany
– but when I load that page into the main index page, the url display changes to http://www. mybusinesssite.com/#/about/thecompany
. The page displays just fine, but it can't be properly bookmarked, because accessing http://www. mybusinesssite.com/#/about/thecompany
via bookmark leads the user to the initial state of the page, rather than the page with the content loaded from /about/thecompany. What I want to do is have the actual page permalink as #/about/thecompany
. Then I will split that url in segments with JavaScript, remove the initial #/
segment, and add everything else after the JavaScript hash. As a result, I will have #/about/thecompany
in he url, which will be the actual url of that page.
How can this be done?