谷歌分析设置后更改页面位置

发布于 2024-08-21 16:08:23 字数 442 浏览 6 评论 0原文

当前的网站结构设置为所有 ASPX 页面都位于主文件夹中。它变得越来越难以维护,所以我想创建新文件夹并移动相关页面。这会将 URL 从

http://mydomain.com/DoStuff.aspx

更改为

http://mydomain.com/DoingFolder/DoStuff.aspx

我担心这会扭曲谷歌分析结果。是否建议我进行此更改?如果是这样,有没有办法链接更改前后的页面位置?

另外,当我实现 URL 重写时会发生什么?我会再次遇到同样的问题吗?有人吗?

The current website structure is setup such that all the ASPX pages are in the main folder. It's becoming increasingly difficult to maintain, so I would like to create new folders and move the relevant pages. This would change the URL from say:

http://mydomain.com/DoStuff.aspx

to

http://mydomain.com/DoingFolder/DoStuff.aspx

I fear that this will skew up the google analytics results. Is it recommended I do this change? If so, is there a way to link the page locations of after and before the change?

Also, what would happen when I implement the URL rewrite? Would I run into the same issue again? Anyone?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

剪不断理还乱 2024-08-28 16:08:23

因此,总的来说,我认为添加文件夹是一个好主意,以便您的两个用户可以通过 URL 直观地看到他们所在的部分,并帮助搜索引擎找出这些区域,谁知道您甚至可能会得到一个(小) SEO从中受益。

我的建议是在 Analytics 中设置第二个配置文件,然后添加一个过滤器,从请求中删除文件夹名称,并在报告中留下与当前相同的平面结构。 (注意,请在具有相同跟踪代码的新配置文件下执行此操作,以避免出现无法撤消的重大混乱)。

干杯

Z

So in general I think it is a good idea to add the folder for both your users to visually see the section they are in via the URL and to help the search engines figure out the areas and who knows you may even get a (small) SEO benefit out of it.

What I would advise is to setup a second profile in Analytics and then add a filter which removes the folder name from the request and will leave you with the same flat structure in your reports as you have currently. (NB Do this under a new profile with the same tracking code to avoid major mess-ups that you can't undo).

Cheers

Z

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文