homepage Welcome to WebmasterWorld Guest from 54.145.183.169
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Content Management
Forum Library, Charter, Moderators: ergophobe

Content Management Forum

    
301 redirect via OpenCms/7.5.4
sjcbayona



 
Msg#: 4395001 posted 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

WebmasterWorld Administrator ergophobe us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4395001 posted 3:15 am on Dec 7, 2011 (gmt 0)

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



 
Msg#: 4395001 posted 5:27 am on Dec 7, 2011 (gmt 0)

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

THank You.

sjcbayona



 
Msg#: 4395001 posted 5:57 am on Dec 7, 2011 (gmt 0)

Thanks! Got it now. Cheers!
Steve

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Content Management
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved