• Hiya

    Google search console tells me that I have duplicate title tags and meta descriptions on / and wp-signup.php. I’m concerned that Google may be penalising me for duplicate content.

    I’ve disabled registration but if you hit a fake domain, eg foo.webhive.com.au, you’re redirected to webhive.com.au/wp-signup.php?new=foo. Maybe that’s where Google finds the wp-signup.php page.

    I’d be happy to get rid of this page completely – I don’t need it.

    I’ve tried this in .htaccess:
    RewriteCond %{HTTP_HOST} ^(www\.)?webhive\.com\.au [NC]
    RewriteRule ^(wp-signup.php)(.*)?$ https://webhive.com.au/ [R=301,L]

    Now foo.webhive.com.au redirects to https://webhive.com.au/?new=foo which is still a duplicate URL. How do I fix this?

    Thanks
    Jackie

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can simply add this to your wp-config.php file and that should turn this behavior off.

    
    define( 'NOBLOGREDIRECT', 'https://webhive.com.au' );
    
    • This reply was modified 8 years, 3 months ago by LumberHack.
    Thread Starter jstallard

    (@jstallard)

    Thanks @lumberhack

    But that seems to redirect all URLs on my website to the home page. Really need to do a plugin audit but I don’t have time to troubleshoot it now!

    Thread Starter jstallard

    (@jstallard)

    This is what I did:
    1 Added the following lines to .htaccess:

    RewriteCond %{HTTP_HOST} ^(www\.)?webhive\.com\.au [NC]
    RewriteRule ^wp-signup.php(.*)?$ https://webhive.com.au/$1 [R=301,L]

    2 Put the following line in robots.txt:
    Disallow: /wp-signup.php
    3 Went into Google Search Console > Google Index > Remove URLs and asked Google to remove the URL (which I won’t insert here because Google might see it!)
    4 Went to Crawl > Fetch as Google and asked Google to crawl https://webhive.com.au

    Hopefully that’s sorted it!

    • This reply was modified 8 years, 2 months ago by jstallard.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘(SEO) Duplicate title tags on / and wp-signup.php’ is closed to new replies.