SEO and hard links with dynamic URLs

With ASP.NET MVC (or using HttpHandlers) you can dynamically generate URLs, for example in this question that includes a header.

What happens if the title changes (for example, it is edited) and there is a link pointing to a page from another site, or was Google Pagerank calculated for this URL?

Think everything is lost right? (The link points to nowhere, and the page counter is calculated)

If so, is there a way to avoid this?

+3
source share
7 answers

I use the same system as here, all after the number in the URL is not used in the db request, then I 301 redirects something else to be the header.

, , . PHP, htaccess, .

+4

, , , , , .

, , , . , , .

0

, SEO URL- - . , 301 , (: Google) , .

EDIT: 301 !

0

, Stackoverflow , , . :

SEO URL-

, , " " . , , PageRank ( URL-, , Google URL-).

0

URL- 301 Redirect. Google pagerank URL.

0

If the document has been moved to a different URL, the server must be configured to return an HTTP 301 status code (permanently moved) for the old URL in order to tell the client to which the document was moved. With Apache, this is done using mod_rewrite and RewriteRule.

0
source

The best thing that will help Google in this case is to return a permanent redirect to the old URL to the new one.

I am not an ASP.NET hacker, so I cannot recommend a better way to implement this, but Going to the topic looks pretty productive :-)

0
source

Source: https://habr.com/ru/post/1697237/


All Articles