WordPress.org

Ready to get started?Download WordPress

Forums

BulletProof Security
[resolved] getting site to show with www (16 posts)

  1. TH777
    Member
    Posted 1 year ago #

    Hi, my site is not showing up when I put http://www.soulsecretservice.org only as soulsecretservice.org. I've never had this issue before. I was told to modify the htaccess file and add something like this:
    RewriteEngine on
    rewritecond %{http_host} coolexample.com [nc]
    rewriterule (.*)$ http://www.coolexample.com/$1 [r=301,nc]

    Where do I add this? Wanted to check cause I don't want to mess up my Bulletproof security. Thanks!

    http://wordpress.org/extend/plugins/bulletproof-security/

  2. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    You first want to check your WordPress settings and make sure you have the URL settings that you want to have. Either non-www or www.

    Settings >>> General
    WordPress Address (URL)
    Site Address (URL)

    Rewriting www to non-www and vice versa
    http://forum.ait-pro.com/forums/topic/htaccess-redirect-www-to-non-www-htaccess-redirect-non-www-to-www/

  3. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Did this answer your question? If so, please resolve this thread. If not, then post a status update. Thanks.

  4. TH777
    Member
    Posted 1 year ago #

    No, unfortunately it did not resolve the issue. I have my settings set to http://soulsecretservice.org but I need the http://www.soulsecretservice.org to show up as well. I just don't know what to do. I've never run into this issue before. Both versions have always showed up before for the other sites I've created.

    If I change them both (in the settings) to http://www.soulsecretservice.org then the site is completely non visible. Thanks for your time! :)

  5. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Wow I have never seen this before. What appears to be wrong is that your DNS A record is not correct. You need to check with your web host.

    The www site is being seen as a separate domain then soulsecretservice.org. When you create subdomains you do actually have separate domains and then the www is a separate domain, but something is very odd/wrong about your sites. It must have something to do with DNS.

    typical subdomain examples - these would all be separate websites/wordpress installations

    www. example.com
    blog.example.com
    forum.example.com

  6. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Your CNAME is wrong that is the problem.

    [host] => http://www.soulsecretservice.org
    [class] => IN
    [ttl] => 3600
    [type] => CNAME
    [target] => soulsecretservice.org

  7. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    oops my mistake. your CNAME is fine, but something is screwy with DNS since you have the same domain displaying 2 different websites when you visit the non-www and the same www domain?

  8. TH777
    Member
    Posted 1 year ago #

    nothing shows up on the www. site On all my other sites the www automatically resolves over to the non www domain automatically. For some reason this one isn't. Not sure what this wackiness is caused from. I really appreciate you taking the time to look into this. You are an angel.

  9. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    When I visite the www site I see the WordPress Twentytwelve theme installed on that site.
    /wp-content/themes/twentytwelve/style.css

    when i visit the non-www site i see the Intro-Theme theme installed on that site.
    /wp-content/themes/Intro-Theme/css/font-awesome.css

  10. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    So you must actually have 2 different folders for each of these websites if these are 2 different WordPress installations.

    /www.soulsecretservice.org
    /soulsecretservice.org

  11. TH777
    Member
    Posted 1 year ago #

    so so weird. There is only one installation of wordpress for soulsecretservice.org. This is the weirdest thing ever! What can I do? Any Ideas? THANK YOU!

    There is definitely NOT 2 installs!

  12. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Yeah I have never seen anything like this before so the only thing I can think of is something like this. You have 2 different databases.

    http://codex.wordpress.org/Installing_Multiple_Blogs

  13. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Any luck figuring this one out?

  14. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    I checked your site and it looks like you got this figured out. www is redirecting to non-www site and i no longer see 2 different sites.

  15. rboulet
    Member
    Posted 8 months ago #

    Can you please relate HOW you figured this out? I'm experiencing the same thing.

  16. AITpro
    Member
    Plugin Author

    Posted 8 months ago #

    Looks like a corrupt WP Super Cache cache problem. This is the Home page for www and non-www below. It's showing that you have 2 cached pages for your Home page. Delete your WP Super Cache cache.

    www site
    
    <!-- Dynamic page generated in 1.681 seconds. -->
    <!-- Cached page generated by WP-Super-Cache on 2013-12-12 14:45:27 -->
    
    <!-- Compression = gzip -->
    
    non-www site
    
    <!-- Dynamic page generated in 1.556 seconds. -->
    <!-- Cached page generated by WP-Super-Cache on 2013-12-12 14:32:03 -->
    
    <!-- Compression = gzip -->

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic