Mobile app version of vmapp.org
Login or Join
Sue5673885

: Should I replace non-user friendly URLs with friendly ones, and if so, how? I have just added my site to Google Web Master Tools and discovered that some links (for example: In the section

@Sue5673885

Posted in: #301Redirect #CleanUrls #GoogleIndex #GoogleSearchConsole

I have just added my site to Google Web Master Tools and discovered that some links (for example: In the section "Search Query / Top pages") have a URL format like:
example.com/page.php?id=1234

This format can also work, but all my internal links have a format like:
example.com/1234. So I can only suppose that Google had scanned all those links before I made changes to my .htaccess file.

My questions are:


Should I care about those non-user friendly links already in the
index and hope that Google will correct itself soon?
If I should - how do I remove those wrong links and replace with
correct ones?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Sue5673885

2 Comments

Sorted by latest first Latest Oldest Best

 

@Cooney921

I agree with the other answer but would like to add one suggestion. Having gone through a similar situation, my suggestion is that you ask yourself if it's worth the effort to change a lot of urls or just a small number of the most important ones.

Go to Google and do a search. The keywords in the results will be bolded in three spots -- the title, the url and the meta description. The title has the largest type and gets the most attention as a result. The bolded keywords in the url enhance the results and even may contribute slightly to higher rankings but aren't necessary for getting clicks from searchers.

A user friendly url will not matter on links that show up on page 8, 10 or whatever on the search engines where people rarely seem them. They will matter for the ones on page 1.

I would correct the most important links with the highest ranks in the search engines and don't worry about the rest. I found they weren't worth the extra work of changing them and maintaining a lengthy 301 list.

10% popularity Vote Up Vote Down


 

@Ann8826881

Should I care about those non-user friendly links already in the index
and hope that Google will correct itself soon?


This depends on what you want search engine users to see in your search results: the clean URLs: example.com/1234 or URLs with parameters: example.com/page.php?id=1234

Clean URLs are generally more understandable and recognizable to search engine users, hence they're more likely to click on them. Since you went through the trouble of creating them, they would likely be your preferred version to index for your search results.

You can indicate to Google which of the two types of URLs to index is the preferred one, and hence avoid duplicate content issues, through canonicalization, in which you'd add a rel="canonical" link to the <head> section of the non-preferred URL's page pointing to the preferred URL.


If I should - how do I remove those wrong links and replace with correct ones?


To encourage search engines to drop the URLs with parameters in favor of the clean ones, you can 301 redirect the URLs containing parameters to the clean URLs using your web server (e.g., with an Apache .htaccess file), which will let search engine bots know they've permanently moved. Over time they'll enventually be dropped and replaced with the clean ones.

You should also add the clean URLs to your sitemap, and remove any URLs with parameters from it. Then you can resubmit your sitemap to Google. You might also use the Fetch as Google tool to trigger crawling for your site and the clean URLs.

Finally, you should also block the URLs with parameters from being crawled again by disallowing them in your robots.txt as covered here. For example:

Disallow: /*?id=

The / indicates the root directory, and * is a wildcard for anything up to ?id=, followed by anything after it.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme