• Good day,

    I’ve gone through some of the forum comments to see whether I can find a similar issue but can’t find the fix needed for my site.

    My intentions are to redirect my site from https://www.techtechy.com to https://techtechy.com permanently but managed to do some directs but weirdly.

    Either way doing a SEO check it is telling me the following message:

    Be careful! Your website without www doesn’t redirect to www (or the opposite). It’s duplicate content!

    How do I fix the above and the redirect issue on my site please?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Bump deleted.

    How did you redirect it?

    Thread Starter bohdanruz

    (@bohdanruz)

    Hi, Thanks for getting back to me.

    I am only familiar with the term bump in lines of scheduling post. I’m not sure what you mean by Bump deleted?

    I’ve placed some code for redirection in my .htaccess file. This is the code:

    #RewriteEngine On
    #RewriteCond %{HTTP_HOST} !^techtechy.com$
    #RewriteRule (.*) https://techtechy.com/$1 [R=301,L]

    I hope this answers your question?
    Is there anyway for me to get rid of this error?

    Be careful! Your website without www doesn’t redirect to www (or the opposite). It’s duplicate content!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Your post “could someone please advice on the above?” has been deleted. It was called a ‘bump’ because it moves your post to the top of the list without adding any information of value.

    Yeah, it looks like that redirect isn’t working (I went to https://www.techtechy.com and it’s just hanging). The #’s in front of the code, though, are commenting it out. It should be this:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^techtechy.com$
    RewriteRule (.*) https://techtechy.com/$1 [R=301,L]

    Make sure that’s ABOVE the calls for WordPress, though!

    Thread Starter bohdanruz

    (@bohdanruz)

    (Urgent response would be much appreciated)

    I guess my comment I send not long ago got deleted again.

    I’ve tried what you said but doing so in the order my code is currently put’s my whole website to a stop. can you advice how to this correctly with the code below and have it call for wordpress as you mention in your last note please?

    #RewriteEngine On
    #RewriteCond %{HTTP_HOST} !^techtechy.com$
    #RewriteRule (.*) https://techtechy.com/$1 [R=301,L]

    #DirectoryIndex index.php

    # 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

    Thread Starter bohdanruz

    (@bohdanruz)

    the issue has just been resolved.

    thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘redirect of www. to https:// not working’ is closed to new replies.