Welcome to WebmasterWorld Guest from 34.231.247.139

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

htaccess redirect question

htaccess redirect question entire site

     
1:11 am on Nov 16, 2013 (gmt 0)

Full Member

10+ Year Member

joined:Apr 11, 2005
posts: 225
votes: 0


How do write a 301 redirect
to redirect entine site to a new domain.

I did a 301 redirect and it works for http
but the https won't redirect.

What is the code for both http and https?
2:06 am on Nov 16, 2013 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:15818
votes: 854


What does your existing redirect look like? mod_alias or mod_rewrite?

Other questions: Are some pages reachable by both http and https, or are they mutually exclusive? You said htaccess, which I assume means shared hosting. Does the new domain live in the same userspace, or under the same primary domain, as the old one? That is: will it pass through the same htaccess?

Does the redirect for https pages simply not take place, or does something else happen?
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members