Forum Moderators: phranque

Message Too Old, No Replies

.htaccess 301 redirect for

.htaccess 301 redirect

         

sonnypro

6:12 pm on Sep 28, 2008 (gmt 0)

10+ Year Member



Hello all,

I've been searching for an answer to this problem for 20 days, and hopefully someone here knows the solution.

I've tried redirecting www.example.com
from www.example.com/index.php to www.example.com/news/
via .htaccess.

Redirect 301 /index.php http://www.example.com/news/

is this code will catch any traffic on my old path and redirect it on the "news" folder.

At help would be very greatly appreciated!

Thanks!

jdMorgan

9:56 pm on Sep 28, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi sonnypro,

Welcome to WebmasterWorld!

I'm not sure what your question is.

Have you tested the code after completely flushing your browser cache?

Does it work?

If it does not work, what seems to be the problem?

Jim

sonnypro

7:44 am on Sep 29, 2008 (gmt 0)

10+ Year Member



Hello Jim

My question is

is this right code for me: Redirect 301 /index.php http://www.example.com/news/

g1smd

7:57 am on Sep 29, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What does it do when you try it?