Issue
I have a website which was built by CakePHP. I want Blog section to be built with Wordpress so I upload a Wordpress folder to /app/webroot/ folder and rename it to 'blog'. I installed Wordpress normally. In the homepage, I show the link to Blog section with the code
<?php echo $this->webroot. '/blog'; ?>
I have checked it and it showed 'http//mydomain.com/blog' but I clicked that link, it automatically redirected to 'http//mydomain.com/app/webroot/blog'.
I just want the link to be redirected to 'http//mydomain.com/blog'. How can I do it?
P/S: I am sorry for my bad English.
Solution
Sounds like, when you ran the WP install you didn't go into the database and change the url paths to /blog. This article should help. http://www.balistupa.com/blog/2010/08/how-to-redirect-appwebrootblog-into-blog-wordpress-cakephp/
Answered By - Tim Joyce
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.