: Site not indexed after moving site from WordPress to Magento I moved a site from WordPress to Magento. But now Google webmaster does not index the site. I have submitted the sitemap, but it
I moved a site from WordPress to Magento. But now Google webmaster does not index the site. I have submitted the sitemap, but it remains pending. I also have a robots.txt file which has the following content
User-agent: *
Allow: /
sitemap: www.example.com/sitemap.xml
Is there anything I have to do after moving from WordPress to Magento?
Edit :
I feel the problem is with robots.txt because in my crawl errors page in google search console, robots.txt fetch shows an orange status instead of a green tick. Under that tab, it shows a message 'Google couldn't crawl your site because we were unable to access your site's robots.txt file'. But when I go to mydomain.com/robots.txt, it displays my robots.txt file.
,I have tried Fetch as google in search console. It fetches completely when I use 'fetch' and partially when I use 'fetch and render'.
More posts by @Megan663
1 Comments
Sorted by latest first Latest Oldest Best
As W3dk says in the comments, a more correct robots.txt file would be:
User-agent: *
Disallow:
sitemap: www.example.com/sitemap.xml
But your biggest problem is most likely that you didn't redirect your old URLs to your new ones. You say:
There is a slight change in URL structure in my website, but I don't have problem if the old url shows 'page not found'.
Google is going to index pages right away if you redirect the old URLs to the new ones. Making this kind of change without redirects kills your inbound link profile, and Google's trust in your site. It may take months or years for your site to get indexed and enjoy rankings as good as it used to have. Implement the redirects.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.