March 1019
Some of my urls are a bit messed up, there is a useless ‘sjm’ folder path in them; this has only been the case since I migrated my blog to GoDaddy and looking on the BlogEngine Discussions there’s an interesting post on just this issue. So there doesn’t seem to be much I can do about it. I’m not really happy with this extra folder path showing up in the urls, it’ll be affecting my SEO-ness – having 2 paths to the same page just means that their ranking is shared and effectively halved.
I have tried to fix this by using URL Rewrite, I have a Windows server and so I thought I’d see if I could write a rule that redirects traffic to the correct address. Unfortunately, so far, I haven’t been able to do that. My process is to write the rule on my local IIS instance and as this is just saved in the web.config all I need to do is ftp it up and test the rules. I think GoDaddy have their own URL Rewriting going on because rules that work fine on my local box cause the application to fall over with errors. The long and short of it is that, at the moment, some of my urls have /sjm/ but they don’t need to. BlogEngine.Net has an internal property for the base url of the site and although I could get in and recompile the dll with a string.Replace(“sjm/”, “”) but then its a pain to upgrade… and from what I’ve read this isn’t as easy as I’ve made it sound because the property is used in quite a few places, those people that have tried say it needs changing in lots of places.
I haven’t given up hope yet though I do want to clean up the urls…
7e526512-2079-41b0-9c86-095b124a9c01|0|.0
Permalink |
Comments (1)