Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6848129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:49:48+00:00 2026-05-27T00:49:48+00:00

I have a redirect from http://example.com to http://www.example.com . now i want this redirect

  • 0

I have a redirect from http://example.com to http://www.example.com.
now i want this redirect to work when the user is in https protocol. meaning to redirect from https://example.com to https://www.example.com.
is it possible?
if not, how do i redirect https://example.com/page to http://example.com or http://www.example.com

i hope i was clear

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T00:49:49+00:00Added an answer on May 27, 2026 at 12:49 am

    Redirecting from https://example.com to https://www.example.com works in the same way as redirecting from http://example.com to http://www.example.com, except that you have to put the rewrite rules in your SSL-enabled VirtualHost in addition to your plain HTTP VirtualHost section.

    Where you may get a problem is that, for this to work, you need the initial connection to https://example.com to work and be accepted by the browser. For this, you need your certificate to be valid for both www.example.com and example.com. This is typically done by using multiple Subject Alternative Names in your server certificate (you should be able to see this by looking at the details of your certificate). Some CAs issue certificates both with and without the www. prefix.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Someone from our team change the permalink of a page to http://www.example.com/ so this
I'm trying to do the following: I have the url: http://www.example.com/9999 and I want
I have a site http://www.example.com/m/controller/function Today I have removed the directory /m/ from all
We have a site I'll call example.com. Most of the time you see http://www.example.com
I currently have three websites all running from the same DB example websites: www.mysite.com
see: http://www.eat-drink-etc.com/ I have this code in the header of all the sites' pages:
I want to block access to only one directory say http://www.example.com/pictures Every file in
I have the following so far: ^((http[s]?|ftp):\/\/)(([^.:\/\s]*)[\.]([^:\/\s]+))(:([^\/]*))?(((\/\w+)*\/)([\w\-\.]+[^#?\s]+)(\?([^#]*))?(#(.*))?)?$ Been testing against these: https://www.google.com.ar:8080/dir/1/2/search.html?arg=0-a&arg1=1-b&arg3-c#hash https://google.com.ar:8080/dir/1/2/search.html?arg=0-a&arg1=1-b&arg3-c#hash https://google.com:8080/dir/1/2/search.html?arg=0-a&arg1=1-b&arg3-c#hash
It has come to my attention that http://www.example.com/Home/About is considered completely different from http://www.example.com/homE/abouT
I have a website that doesn't seem to redirect from non-www to www. My

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.