Unusual Wordpress Issue, Any Ideas?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DumpManager
    Confirmed User
    • Nov 2012
    • 402

    #1

    Unusual Wordpress Issue, Any Ideas?

    Hey everyone,

    I just ran into a bit of a weird situation and can't seem to find help on it. I've tried searching but couldn't find any info, so I was hoping you folks can help me out.

    So I remade one of my sites with a nice new wordpress layout. I have it up and running in a sort of beta mode because I am still tweaking it here and there. I noticed after a while that I had the www still in my website address so in the general settings on wordpress I changed it and removed the www's from the URL. It now works fine without the www's as I wanted it to.. BUT, just by pure accident I typed in www before my site and found out there are two versions of it on the same address.

    The new version of my site is just "http://thewebsitename" etc
    the old version is "http://www.thewebsitename" etc

    They seem to not be connected either because when I am signed into my new one and go to the old one I am not signed in anymore - like it's a totally different wordpress site.

    Any ideas how to fix this? I would prefer that if someone enter the www's in the url for any page on my site it would redirect them to the same "non-www."page instead of to the old website which for whatever reason is still there. Like how with GFY if you enter "gfy.com" you come here, and if you enter "www.gfy.com" it changes to gfy.com and still comes here.

    Thanks everyone,

    - DumpManager
    Actual Free Porn Cams - 100% Real Actual Free Porn Cams and Porn Cam Sites
    HD High Res Porn - The Hottest HD Digh Def 18+ Teen Porn, Milf, Lesbian & Erotica.
  • Miguel T
    ♦ Web Developer ♦
    • May 2005
    • 12473

    #2
    .htaccess:

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


    This will make whatever comes from Domain Name Registration and Web Hosting | Domain.com , go to: domain.com (without www)

    Probably updating your permalinks will help... Just go to the page, and click Save.

    Full Stack Webdeveloper: HTML5/CSS3, jQuery, AJAX, ElevatedX, NATS, MechBunny, Wordpress

    Comment

    • Focus
      Last of a dying breed.
      • Jun 2004
      • 669

      #3
      Originally posted by Zuzana Miguel
      .htaccess:

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


      This will make whatever comes from Domain Name Registration and Web Hosting | Domain.com , go to: domain.com (without www)

      Probably updating your permalinks will help... Just go to the page, and click Save.

      Comment

      • DumpManager
        Confirmed User
        • Nov 2012
        • 402

        #4
        Originally posted by Zuzana Miguel
        .htaccess:

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


        This will make whatever comes from Domain Name Registration and Web Hosting | Domain.com , go to: domain.com (without www)

        Probably updating your permalinks will help... Just go to the page, and click Save.
        Thank you so much for the help. I'll give this a shot later on, really appreciate your assistance. Happy Christmas / holidays everyone.

        - DumpManager
        Actual Free Porn Cams - 100% Real Actual Free Porn Cams and Porn Cam Sites
        HD High Res Porn - The Hottest HD Digh Def 18+ Teen Porn, Milf, Lesbian & Erotica.

        Comment

        • j3rkules
          VIP
          • Jul 2013
          • 22111

          #5
          Originally posted by DumpManager
          Thank you so much for the help. I'll give this a shot later on, really appreciate your assistance. Happy Christmas / holidays everyone.

          - DumpManager

          Comment

          • CustomBusinessSoftware
            Confirmed User
            • Nov 2012
            • 689

            #6
            hope its fixed if not we can look at it and help
            Grow Your Onlyfans @10 usd per day TG @bonsaiplantsnursery

            Comment

            • kuskka
              Confirmed User
              • Jun 2013
              • 134

              #7
              StackOverflow can be a good source for Wordpress issues, they have a board 100% dedicated for it.


              Comment

              Working...