Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I need to redirect CakePHP installation host to my domain.

Location of my Cakephp installation:


I'm currently using URL Frame to direct to


When I load, I see all links in the site is pointing to the hosting location - example -

It should be pointing to

Any simple way to fix this?

Probably very simple to solve it, but I can't bend it. Help much appreciated.

share|improve this question

migrated from Nov 11 '11 at 23:10

This question came from our site for professional and enthusiast programmers.

1 Answer 1

In short you generally can't. URL Framed "Redirects" are just a hidden frame pointing at your website, your website is browsed within that frame.

Most if not all framed redirects won't pass the path part of the url to the frame source.

You could coerce Cake to produce the URL's you desire but because framed redirects are usually just static HTML there is no intelligence present to strip off the /product/1 part and then request into the frame.

Not only that, because you would be requesting the framed redirect page on each click, you would gradually be browsing a frame within a frame within a frame and so on. Meanwhile, and because it's a frame you still won't see the address in the address bar change.

share|improve this answer
To add to this, you would need a host that allows you to point your domain at their nameservers, so the domain works properly. –  DisgruntledGoat Nov 12 '11 at 17:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.