No. The supplied public discussion states that a redirect’s source and destination URLs do not need to use the same domain, path, or file extension. For example, eastservicea.com/widgets.php can redirect to statewideservicea.com/widgets. However, whether a redirect is possible and how to name a URL to benefit search rankings are separate questions. Ranking advice should not be treated as a requirement for a redirect.
Old URLs need destinations, but the new URLs do not have to look the same
This website merger example involves changes to both the domain and the path. The person asking wanted to know whether widgets.php had to remain unchanged after the move to the new website. The respondent said it did not and considered changing it to widgets acceptable. In this example:
- The domains can differ: The URL changes from eastservicea.com to statewideservicea.com; it does not have to stay on the original domain.
- The path can change: The source is /widgets.php and the destination is /widgets; they do not need to match character for character.
- The file extension can be removed: The respondent still considers the redirect acceptable without .php.
The point is to decide where the old URL should redirect, not to make the new URL copy it exactly. This exchange describes the changes above as possible, but provides neither setup instructions nor evidence of the website merger’s results.
Keeping similar wording is ranking advice, not a requirement for a redirect
The same respondent also recommends keeping the old and new URLs as similar as possible. They believe URLs are a ranking factor and want the page to continue ranking for the same keywords. They consider changing widgets.php to widgets acceptable, but believe changing it to abracadabra would not help rankings.
This is search engine optimization advice from a public discussion, not an official search engine rule or a guarantee of rankings. Even if a URL name is considered unhelpful for rankings, that does not make a redirect technically impossible. As for whether similar naming can preserve rankings, the supplied discussion offers only the respondent’s reasoning, with no verified results to establish a conclusion.
Redirect URLs: perspectives from across the web
Can the same base path redirect to different pages depending on its parameters?
Yes, according to the description in the supplied affiliate URL example, though no actual configuration details or verification results are provided. The person asking says the same base path redirects to different destinations depending on the value of the url parameter. To understand where this type of URL redirects, you therefore need to look beyond the base path to the parameters and their corresponding destinations.
If the destination varies with the parameters, must you use a 302 rather than a 301?
The supplied discussion does not establish that a destination varying with the parameters requires a 302. In the affiliate URL example, the person asking chose a 302 for that reason and asked whether the choice was correct. This was their reasoning, not an established rule. The discussion also mentions that the marketing department recommended a 301, but does not provide enough information to determine which is appropriate for this case.
References
- Combine websites without hurting SEOwebmasters.stackexchange.com — Source used in the article above.
- Combine websites without hurting SEOwebmasters.stackexchange.com — Source used in the article above.
- 301 vs 302 redirect for ?url=URLwebmasters.stackexchange.com — Discusses: Can the same base path redirect to different pages depending on its parameters?; If the destination varies with the parameters, must you use a 302 rather than a 301?
