大网数据广告活动
网站运营与故障问答

Does URL masking effect SEO?

· 52CE 我爱测

Does "URL masking" effect SEO? For example: masking "www.domain.com/p/page.html" to subdomain.domain.com *Means everyone who visits "subdomain.domain.com" , see "www.domain.com/p/page.html" page, but the top address bar shows "su…

问题原文

原帖链接 · Dorel · CC BY-SA 3.0

Does "URL masking" effect SEO?

For example: masking "www.domain.com/p/page.html" to subdomain.domain.com

*Means everyone who visits "subdomain.domain.com", see "www.domain.com/p/page.html" page, but the top address bar shows "subdomain.domain.com"

Edit: I have a blogger site, and the URL-redirect-masked/Hidden Frame Mask records are created on my DNS. Currently, "subdomain.domain.com" is indexed, and I have removed the original page "www.domain.com/p/page.html" from google index to avoid duplicate.

The masking is done with frameset:

<frame src="www.domain.com/p/page.html" name=mainwindow frameborder=no framespacing=0 marginheight=0 marginwidth=0></frame>

已采纳解答

原帖链接 · MrWhite · CC BY-SA 3.0

The masking is done with frameset

Using a frame, often called "framed forwarding" for masking the real URL is generally bad for SEO and delivers a bad user experience.

The URL inside the frame is not hidden from search engines (or users). There are essentially two separate pages/URLs and both can be indexed. The only page with content is the inner/framed page, so this will likely be the page that will be returned in search results (if it is indexed).

I have removed the original page "www.domain.com/p/page.html" from google index to avoid duplicate.

You can't remove the inner/framed page from the index without removing the actual content from the index. Without the content being indexed then you are obviously not going to rank for anything on that page. The outer "frameset" is simply a container, by itself it has no content.

There is no "duplicate". They are two different URLs. One simply contains the other in a frame.

When the user navigates your site the URL in the address bar does not change (as you suggest) and they are unable to bookmark individual pages. This can be confusing and frustrating for users.

<frame src="www.domain.com/p/page.html"

Incidentally, without the scheme (eg. http://) on the URL this is likely to break in most browsers (historically this would have only worked in IE).

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2017-02-14)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。