Yes, there is an HTTP status code specifically for that: Status: 301 Moved Permanently Location: http://yoursite.com/new/page/location
http://www.somacon.com/p145.php On Jun 12, 2:30 am, Sam Sherlock <[email protected]> wrote: > seo redirect old url to new one. > > new one being cake address > - S > > On 12 June 2010 10:07, fadhli - <[email protected]> wrote: > > > I have to usewww.example.com/home/index.phpaddress because it was used > > in the website address rating. > > > On Thu, Jun 10, 2010 at 12:12 AM, cricket <[email protected]> wrote: > > >> On Jun 8, 11:44 pm, fadhli - <[email protected]> wrote: > >> > hi everyone. > > >> > i'm new in cakephp and i want to know how to makehttp:// > >>www.example.com/home/index.phpincakePHP. > >> > controller without 's' (home not homes) > > >> In routes.php: > > >> Router::connect( > >> '/home', > >> array('controller' => 'homes', 'action' => 'index') > >> ); > > >> > and to view page i must use php > >> > (index.php not index.ctp) extextion. > > >> There's no need to have index.php in the URL. And your URLs should not > >> ever have "something.ctp" in them. The .ctp files are templates; > >> they're not supposed to be accessed directly through a URL. > > >> Check out the new CakePHP Questions sitehttp://cakeqs.organd help > >> others with their CakePHP related questions. > > >> You received this message because you are subscribed to the Google Groups > >> "CakePHP" group. > >> To post to this group, send email to [email protected] > >> To unsubscribe from this group, send email to > >> [email protected]<cake-php%[email protected]>For > >> more options, visit this group at > >>http://groups.google.com/group/cake-php?hl=en > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help > > others with their CakePHP related questions. > > > You received this message because you are subscribed to the Google Groups > > "CakePHP" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<cake-php%[email protected]>For > > more options, visit this group at > >http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
