Okay... This has given me a gigantic headache (both figuratively and literally) all morning and thank goodness I've finally managed to hack a solution to it... Technically it isn't a hack, but it sure smells like one.
We have an unusual situation where sales & marketing has its own WordPress installation at the root of our website and the support group has its own separate installation under /support.
The web server that we're currently using is an IIS 7 server, which means that WordPress is operating with no .htaccess files and using web.config. Each base directory has a web.config. Each WordPress is using its own Database and has its own database user.
So... Problems arose when enabling permalinks (pretty ones) for the support site. I couldn't figure out why going to any of the site pages was yielding a 404 error (emitted by WordPress' PHP.)
My hosting provider couldn't figure it out either - which really got me worried, so after slogging around endlessly, and reading about all the other people using multiple installs and having minor configuration issues, I really started to pull my hair out lol... I then ran across an obscure post about a guy mentioning WordPress and ASP.NET configuration inheritance issues. This led me to other posts about nested ASP.NET applications issues, which ultimately led me to the following magic:
<
location
path
=
"."
inheritInChildApplications
=
"false"
>
Thanks to the wonderful person found at:
http://articles.runtings.co.uk/2010/04/solved-breaking-parent-webconfig.html
Basically, IF you have a WordPress installation in a sub-directory of your website that is hieararchically a child of another WordPress installation, and you're on an IIS web server, you need to edit the root WordPress installation's web.config file and surround it with the location element.
After doing that, my permalinks started working again just fine. (Thank G-d...)
Tuesday, April 29, 2014
WordPress Multiple Install IIS URL Rewriting Problems
Posted by Hans 0 comments
Tuesday, April 8, 2014
Visual Studio 2010 Web Publish over FTP
It seems like you can't use TLS or SSL to protect your FTP data when publishing from Visual Studio, but I just found out that you can.
There's no direct "FTPS" publishing mode, you simply select "FTP" and then make sure you use the correct protocol in the URL (i.e. "ftps://ftp.mysite.com/somefolder")
Many people probably knew that but I didn't...
Posted by Hans 0 comments
Labels: FTP, FTPS, SSL, TLS, Visual Studio 2010, Web Publish
Tuesday, April 1, 2014
Wide Fit Soccer Cleats (Boots) - Nike CTR360
I have wide, flattish, feet and love to play soccer - and this can be a problem when you're feet are size 12 1/2 to 13.
I've taken to wearing turf shoes the past two seasons because they're so much more comfortable than regular cleats - even Copas (which stretch well, but have a really narrow plate) are a problem as they are fine during the game but the next day my feet really hurt...
Luckily I was browsing Nike's website to see if they had any wide-fit boots now (almost nobody does) and lo and behold - they have a customizeable boot called the Trequartista III that comes in a wide fit.
Nike CTR360 Trequartista III FG iD (Wide) Men's Firm-Ground Soccer Cleat
You have to order direct from Nike's online store, and they're not cheap at $135, but you get to customize the studs, plate, upper, tongue, laces, et cetera - but most importantly they have 12 1/2 WIDE fit.
Thank God... Sadly you have to wait 25 days while they make them and ship them to you though...
Mine will look like this: