Invalid Redirect URL (http://www.araphil.com/)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Farid Helal
    Senior Member
    • Mar 2013
    • 102
    • 4.1.x

    Invalid Redirect URL (http://www.araphil.com/)

    I did upgrade my site recently ; now when i Log in , i get this message:
    Invalid Redirect URL (http://araphil.com/)

    I cant find the reason !

    Your help please


    Last edited by Farid Helal; Wed 15 Jul '15, 7:05am.
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    Make sure to redirect your users from the non https to the https site. Your webhost should be able to help with an htaccess

    Comment

    • Farid Helal
      Senior Member
      • Mar 2013
      • 102
      • 4.1.x

      #3
      still i got the message: Invalid Redirect URL (http://araphil.com/)

      This is my .htaccess code , please advice,

      # This allows you to redirect your entire website to any other domain, uncomment the following line
      # Redirect 301 / http://www.araphil.com/
      Redirect http://araphil.com/ https://www.araphil.com/
      #
      Redirect araphil.com/ https://www.araphil.com/
      Redirect www.araphil.com/ https://www.araphil.com/
      Redirect http://www.araphil.com/ https://www.araphil.com/

      Comment

      • donald1234
        Senior Member
        • Oct 2011
        • 1953
        • 4.1.x

        #4
        Seems you are trying to redirect to http and https at the same time, that's not possible.

        what are you trying to redirect to?

        Comment

        • man1c
          Senior Member
          • Apr 2005
          • 134
          • 3.8.x

          #5
          Try adding .araphil.com to Options -> General Settings -> Post Referrer Whitelist

          Comment

          • donald1234
            Senior Member
            • Oct 2011
            • 1953
            • 4.1.x

            #6
            No, what I mean is if you tell me what you want your URL to be, I can give you the correct code for the .htaccess file. It will never work with that code.

            Your options are:

            araphil.com or

            www.araphil.com

            Or above but with https?





            Comment

            • Farid Helal
              Senior Member
              • Mar 2013
              • 102
              • 4.1.x

              #7
              Originally posted by donald1234
              No, what I mean is if you tell me what you want your URL to be, I can give you the correct code for the .htaccess file. It will never work with that code.

              Your options are:

              araphil.com or

              www.araphil.com

              Or above but with https?

              I want to redirect to: https://www.araphil.com
              if any one type:
              www.araphil.com or araphil.com, http://www.araphil.com

              without using this code: ( # Redirect 301 / http://www.araphil.com/ )

              Thank you in advance
              Last edited by Farid Helal; Thu 16 Jul '15, 9:22pm.

              Comment

              • donald1234
                Senior Member
                • Oct 2011
                • 1953
                • 4.1.x

                #8
                Try putting this code in your .htaccess file replacing previous code.
                RewriteEngine on
                RewriteCond %{HTTP_HOST} ^araphil.com [NC]
                RewriteRule ^(.*)$ http://www.araphil.com$1 [L,R=301,NC]
                RewriteCond %{HTTPS} !on
                RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

                See if it works.

                You also need to make sure you have https://www.araphil.com in Admincp -> Options -> Site Name / URL / Contact Details

                ...and of course you will need valid https cert

                Comment

                • Zachery
                  Former vBulletin Support
                  • Jul 2002
                  • 59097

                  #9
                  Why don't you want to use a 301

                  Comment

                  • Farid Helal
                    Senior Member
                    • Mar 2013
                    • 102
                    • 4.1.x

                    #10
                    Originally posted by donald1234
                    Try putting this code in your .htaccess file replacing previous code.
                    RewriteEngine on
                    RewriteCond %{HTTP_HOST} ^araphil.com [NC]
                    RewriteRule ^(.*)$ http://www.araphil.com$1 [L,R=301,NC]
                    RewriteCond %{HTTPS} !on
                    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

                    See if it works.
                    I will try it


                    You also need to make sure you have https://www.araphil.com in Admincp -> Options -> Site Name / URL / Contact Details == YES

                    ...and of course you will need valid https cert
                    = YES

                    Thanks

                    Comment

                    Related Topics

                    Collapse

                    Working...