Forums

.htaccess file & RewriteCond issue (trying to have direct to www.) (1 post)

  1. matt94gt
    Member
    Posted 1 year ago #

    I am having an issue getting my wordpress site to load the www. version.

    I have tried a 301 redirect directly in cpanel and manually in the htaccess file.

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^2012boss.com$
    RewriteRule ^(.*)$ "http\:\/\/www\.2012boss\.com$1" [R=301,L]

    I have edited my .htaccess file with a ton of different options that I have found online, trying to get it to automatically load the www. version so I don't have duplicate entries on google as well to simplify things.

    When ever I try any of these different methods I get an error stating:
    "Firefox has detected that the server is redirecting the request for this address in a way that will never complete.”

    I have browsed and searched on here and have not found a answer that solves this.

    Thanks for help in advance,
    Matt

Topic Closed

This topic has been closed to new replies.

About this Topic