Support

Admin Tools

#27296 Google promoting non existent site

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Friday, 07 April 2017 17:17 CDT

dorsetakeeba
 I don't know if this is relevant to admintools but here goes.
I developed a new site by setting up a new joomla system under an existing one www.xyz.com/newsite this way I could get agreement from the client to invest in a new url and hosting when he was happy with the project. So now I have set everything up with a new url www.newsite.com and everything works OK. My problem is that Google discovered the development site and insists on putting that at the top of search results even though I have removed the /newsite folder from the original website (it now gives a 404 error). I have been on to the Google webdashboard site and registered the new sitesbut after about 3 weeks Google insists on listing my non existent development site at the top of the search results. I tried putting a disallow xyz.com/newsite in Robots.txt but that hasn't changed anything.
I was wondering whether admintools is stopping Google from discovering that the /newsite folder no longer exists. Any suggestions?

Thanks

dlb
Under normal circumstances, no, Admin Tools would not block Google. But if you used GeoIP blocks to block the US, for example, that would block Google. So it could be done, in several ways, but it doesn't by default.

If you can't beat them, join them. Set the development directory back up and put an .htaccess file in it to do a 301 redirect to the new site.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

dorsetakeeba
I decided to have a go with your "can't beat them join them " strategy.

I haven't done this before but I recreated an empty folder www.xyz.com/newsite and put a file called .htaccess in it containing the line

Redirect 301 /newsite http://www.newsite.com/

Do I need anything else in the folder as it just comes up with a 404 article not found when I call www.xyz.com/newsite ?

Thanks

dorsetakeeba
correction it is actually redirecting to www.newsite.com/newsite which of course doesn't exist what am I doing wrong?

dlb
The subdomain has to exist the way it did before.

I had to do this earlier this week with one of my sites. Here's what my Google search turned up:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^subdomain.xyz.com$ [NC]
RewriteRule (.*) http://zyz.com/$1 [R=301,L]
</IfModule>

That is working for me.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!