I have a site http://recipepub.com and I want to add a blog to it. Now I've tried adding a wordpress blog, but it doesn't work and now I've just tried to add a TYPO blog, but that also doesn't work! At http://recipepub.com/chefblog where the blog is installed, This error appears: Routing Error Recognition failed for "/chefblog" Any ideas on the problem and how it can be fixed? Thanks in advance Rich
simple way is you can install blog as subdomain. the error is coz , rails standard format is servername/controllername/actionname/parameters you installed your blog in chefblog , so the folder is named yourserver/chefblog in rails conversion, it looks for a controller named chefblog and it didn't find any and give back an error message. try reinstalling WP, you have option to make it a subdomain or folder , make it a subdomain ie, http://www.chefblog.yourserver instead of http://www.yourserver/chefblog or you can tweak some settings in enviornment.rb to make it works.
Thanks man! I actually tried making a subdomain but the guy who sold me the site actually said it won't work because it has something called a "simlink" or something? Any ideas?
Ok, i will give few ways try it hope all will work for you copy this code and name it chefblog_controller.rb #---------- code start here ----------------- class ChefController < ApplicationController def index redirect_to "/chefblog/index.php" end end #------------ ends here --------------- upload it to apps/controller directory
or you can make an index.html in chefblog directory which redirect to index.php . copy paste following code and save it as index.html and upload to chefblog directory <meta HTTP-EQUIV="REFRESH" content="0; url="http://recipepub.com/chefblog/index.php"> hope it any of it works.