Welcome to WebmasterWorld Guest from 54.167.5.15

Forum Moderators: ergophobe

Message Too Old, No Replies

301 redirect via OpenCms/7.5.4

     

sjcbayona

1:59 am on Dec 7, 2011 (gmt 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

ergophobe

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

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



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]

outdoorweddings

5:27 am on Dec 7, 2011 (gmt 0)



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

THank You.

sjcbayona

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



Thanks! Got it now. Cheers!
Steve
 

Featured Threads

Hot Threads This Week

Hot Threads This Month