Mobile app version of vmapp.org
Login or Join
Megan663

: 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

@Megan663

Posted in: #Googlebot #GoogleSearch #GoogleSearchConsole #Magento #Sitemap

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'.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Megan663

1 Comments

Sorted by latest first Latest Oldest Best

 

@Eichhorn148

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme