How can I change a URL using .htaccess in wordpress within cakephp?

I have Integrated multisite wordpress in cakephp .
here I have first site that is:

1)mydomain.co.uk/news/

Read More

and second :

2)mydomain.co.uk/app/webroot/news/help/

now I want 2nd url like mydomain.co.uk/news/help/

so how to do that? any idea ? .htaccess help?

Related posts

Leave a Reply

1 comment

  1. You’ll want to look into CakePHP Routing. It lets direct a string URL into a Controller/Action among other things.

    Routing is a feature that maps URLs to controller actions. It was
    added to CakePHP to make pretty URLs more configurable and flexible.
    Using Apache’s mod_rewrite is not required for using routes, but it
    will make your address bar look much more tidy.

    Routing in CakePHP also encompasses the idea of reverse routing, where
    an array of parameters can be reversed into a string url. By using
    reverse routing, you can easily re-factor your applications url
    structure without having to update all your code.