Welcome to WebmasterWorld Guest from 54.159.50.111

Forum Moderators: ergophobe

Message Too Old, No Replies

301 redirect via OpenCms/7.5.4

     
1:59 am on Dec 7, 2011 (gmt 0)

New User

joined:Nov 8, 2011
posts: 4
votes: 0


Hi everyone,

How would I be able to implement a 301 permanent redirect from my www.website.com/index.html page to my www.website.com/ page via OpenCMS/7.5.4

Thanks!
Steve
3:15 am on Dec 7, 2011 (gmt 0)

Moderator This Forum

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 25, 2002
posts:8137
votes: 99


it makes most sense to do this in your httpd.conf or .htaccess using mod_rewrite (i.e. at the server level, rather than at the CMS level)

RewriteEngine On
RewriteRule ^index.html$ [website.com...] [R,301]
5:27 am on Dec 7, 2011 (gmt 0)

New User

joined:Dec 1, 2011
posts:2
votes: 0


301 redirection can be solve that
(1)htaccess
(2)java script

THank You.
5:57 am on Dec 7, 2011 (gmt 0)

New User

joined:Nov 8, 2011
posts: 4
votes: 0


Thanks! Got it now. Cheers!
Steve