I''ve rebuild my site and many url has changed. I want to redirect 301 these url. However, I don''t know how to do it with passenger. Any advice?
Justin James Grevich
2009-Nov-11 04:59 UTC
Re: How to 301 redirect with passenger(mode_rails)?
Do you have access to the apache config file, or can you use .htaccess files? On Nov 5, 2:56 am, Masuda <msd....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve rebuild my site and many url has changed. > I want to redirect 301 these url. > However, I don''t know how to do it with passenger. > > Any advice?
This isn''t much of a Passenger issue as it''s an Apache issue (assuming you are using Apache). Look at mod_rewrite: http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html On Nov 5, 2:56 am, Masuda <msd....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve rebuild my site and many url has changed. > I want to redirect 301 these url. > However, I don''t know how to do it with passenger. > > Any advice?