Forums

non www version is not working (5 posts)

  1. nsathees
    Member
    Posted 2 months ago #

    I have many wp blogs under addon domains. They all work well except the letest 2.8.4 version.

    I have installed as non www version
    http://Yaalpaanam.com

    But when I try http://www.Yaalpaanam.com to redirects to

    http://yaalpaanam.com/yaalpaanam.com/

    every other page and post working except the home page.

    Thank you,

  2. nsathees
    Member
    Posted 2 months ago #

    any one can hint me which file is responsible for redirectig except .htaccess file, I can look in to it!

    my .htaccess as follows . . .

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

    # protect wpconfig at all cost
    <files wp-config.php>
    Order deny,allow
    deny from all
    </files>

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

  3. nsathees
    Member
    Posted 2 months ago #

    No one else have this problem?

  4. nsathees
    Member
    Posted 2 months ago #

    All my last sites where installed with 2.8.3 or earlier version and upgraded to 2.8.4

    But the http://Yaalpaanam.com was installed with 2.8.4

    Could this be the problem?

  5. RVoodoo
    Member
    Posted 2 months ago #

    RewriteCond %{HTTP_HOST} ^rvoodoo\.com [NC]
    RewriteRule ^(.*) http://www.rvoodoo.com/$1 [R=301,L]

    I had that problem a long time ago....I remember this working for me.....

    I don't actually know much about working with .htacess other than the above fixed it...found it after tonnes of googling

Reply

You must log in to post.

About this Topic