Forum Moderators: Robert Charlton & goodroi
[edited by: aakk9999 at 11:56 pm (utc) on May 25, 2014]
[edit reason] Exemplified [/edit]
I tried in google webmaster tool to apply for removal of urls, but I cant use this kind of urls example2.example.com/blog, they are not accepted
I changed the subdomain, so the links dont work anymore. But I need to make google reindex them again, any idea how? Is thee any program for it?
If you are creating an add-on domain in cPanel, make sure you remove 'public_html' from the folder location so that the new domains content sits in a folder that is a 'sibling' to the public_html folder in the folder tree. I normally name this folder the domain name of the new site.
This will stop this duplicate problem from occuring, because there will be no second path to the website content.
However, when you create the Add On Domain, the suggested location (ie the default) is to put the content in a subfolder of the public_html folder.
This is poor practice because the OP's problem can occur: spiders can find the content in 2 places - at newdomain.com and at olddomain.com/newdomain/
can I just move the folder of pamelaanderson to one step above, so it will be next to public_html, unassign the domain, and assign it again?