Mobile app version of vmapp.org
Login or Join
Lee4591628

: Informing Google of URL Structure Change I have a website and the URLS were constructed like so: /index.php/Topic /index.php/AnotherTopic These were indexed in google and search results returned

@Lee4591628

Posted in: #GoogleIndex #GoogleSearchConsole #Indexing #Redirects #Url

I have a website and the URLS were constructed like so:


/index.php/Topic
/index.php/AnotherTopic


These were indexed in google and search results returned that pointed to these.

However, I've recently upgraded and reconfigured the website and now the URLS look like:


/index.php?title=Topic
/index.php?title=AnotherTopic


The original URLS are returning 404s. The site is linking to the correct URL structure internally, but Google is retaining the old URLS in its search results. I've updated and resubmitted the sitemap which only contains the new URL structure. Also, Google's webmasters tool is going slightly bananas at the fact there's now a spike in 404 errors in its crawl results.


What is the best approach to get Google to remove the old URLS?
Should I try blocking /index.php/ in robots.txt?
Should I be returning 301 codes instead of 404 for the old URLS?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Lee4591628

2 Comments

Sorted by latest first Latest Oldest Best

 

@Shakeerah822

Also do a fetch as googlebot and submit all linked pages, 'if your site has undergone significant changes'.

10% popularity Vote Up Vote Down


 

@YK1175434

In my opinion, the best way to solve your problem is to:


Make 301 redirects from your old URLs to new ones


Google will understand easily if you changed your sitemap.xml, internal links and if there is no more 404 pages.

In your case, Google says you must follow these rules.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme