Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 134700

akashmain on "Redirect www to non-www"

$
0
0

hello everyone,

I have installed wordpress at domain.com, blog.domain.com, ads.domain.com, article.domain.com and smf forum at forum.domain.com and pligg at domain.com/bookmarks.

My domain.com for all domain,subdomain and subdiretory is working but when i try to go http://www.domain.com or http://www.blog.domain.com these are not working.

What do i need to add or edit in .htaccess file?

My .htaccess for root domain means domain.com is as follows -

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

# END WordPress

# BEGIN wtwp_cache
# END wtwp_cache

# BEGIN wtwp_security
# END wtwp_security

For seeing this error please visit http://aaatechnologyservices.com/ and http://www.aaatechnologyservices.com/

Please help me,

One thing i want to know more that is it not possible to make http://www.aaatechnologyservices.com/ primary and http://aaatechnologyservices.com/ secondary, it means i want to know that when user login to http://aaatechnologyservices.com/ it will redirect to http://www.aaatechnologyservices.com/?

Many Thanks In Advance !!!!


Viewing all articles
Browse latest Browse all 134700

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>