-1

Suppose I have a website for a company which I want to SEO.

Think of two scenarios:

1) There is only index.php, and for /about /contact sections I do it like this: index.php?what=about , index.php?what=contact etc. and I change the url using .htaccess, so the links become www.company.com/about , www.company.com/contact and every page has unique content of course.

2) Everything has their own page. i.e. :

  • http
    • index.php
    • about.php
    • contact.php

I think that these two scenarios are the same, if they have the same content. I mean Google should not care about the server-end right? Or am I wrong? Please inform me before I go any further :)

Thanks !

4

1 回答 1

1

这两种情况都一样好,对于 SEO,重要的是只有您拥有唯一的 URL。
谈到技术方面,对于小型项目,您使用的天气并不重要,index.php?what=contact或者contact.php选择您喜欢的任何东西
对于较大的项目,使用第一种方法更实用,应用程序将所有客户端请求发送到一个页面(无论是 index.php ) 然后运行查询。

于 2013-07-13T10:49:25.690 回答