Redirect www to non www isn't working

Home Forums BulletProof Security Free Redirect www to non www isn't working

This topic contains 5 replies, has 3 voices, and was last updated by  Nitin 1 year, 4 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #21699

    Eyegrabbers
    Participant

    Hi there,

    I have developed a website http://prolicious.in. Now as per the details shown in various forums and tutorials I have inserted this particular code to redirect http://www.prolicious.in to http://prolicious.in. As per below:

    # Redirect www urls to non-www
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www\.prolicious\.in [NC]
    RewriteRule (.*) http://prolicious.in/$1 [R=301,L]

    However, it isn’t working. On typing http://www.prolicious.in, the message I get is Webpage not available.

    I also saw in one of the support forums that sometimes this happens due to W3 Total cache Plugin. So, I deleted all the plugins and files related to this plugin, but the problem still persists. Could you please look into this and tell me what am I missing?

    Kindly let me know how to resolve this issue. What do I need to change.

    #21704

    AITpro Admin
    Keymaster

    When I check that website/domain name it does not appear to be registered.  So the problem is the domain name itself.  Contact your web host and ask them for help with that.

    #21705

    Eyegrabbers
    Participant

    Hi,

    Thank you so much for such a prompt response. But, I don’t understand. http://prolicious.in works. only http://www.prolicious.in does not. So the domain is definitely registered.

    The domain is registered on Bigrock and hosted at Godaddy. I am sorry but I am not great with this, could you please tell me what further should I be inquiring for and with the Domain Registrar or Web Host?

    #21706

    AITpro Admin
    Keymaster

    Hmm yeah looks like https://whois.net/ is having some problems today and is showing that your domain name is not registered: “prolicious.in is not registered.”

    The problem looks like some sort of DNS problem with the www subdomain so this would still be something that your host should help you with.  Or if you are familiar with changing DNS settings then check the www subdomain in your host control panel.

    The server at http://www.prolicious.in can’t be found, because the DNS lookup failed. DNS is the network service that translates a website’s name to its Internet address. This error is most often caused by having no connection to the Internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing Google Chrome from accessing the network.

    #32260

    Nitin
    Participant

    go to your domain file one option will be there for forwarding to www or non www you can select
    or
    open you hosting page.

    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
    #32366

    Nitin
    Participant

    HTTP Redirect Tool lists all redirects issued by a web server when fetching a URL.

    Have a look on redirect tool https://1nine.com/Web/HTTPRedirect

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.