Table of Contents
回复内容:
Home Backend Development PHP Tutorial 做网站,是要更注重用户体验,还是想方设法的去迎合SEO优化呢?为什么?

做网站,是要更注重用户体验,还是想方设法的去迎合SEO优化呢?为什么?

Jun 17, 2016 am 08:31 AM
ajax javascript seo

因为有时很多好的用户体验,都是采用AJAX来做的,比如无刷新分页。然而,搜索引擎的网络爬虫现在还无法识别这些Javascript代码,会影响到网站的收录。做网站到底是用户的体验为重,还是SEO优化为重呢?很纠结。

回复内容:

SEO是任何一个不想放弃搜索引擎的流量的网站必须做的,你可以不专门做,但是需要一个懂点SEO的人或者懂信息架构的人
SEO并不会和用户体验冲突,都是为了网站更好的实现目标

用户体验和SEO是一个并重的东西,在做SEO的情况下市不影响用户体验的,规避一些搜索引擎不能识别的技术,不会对网站的用户体验造成太多影响

规避的只是重要内容不用js、AJAX等实现,并不是说不能使用 而且SEO有时为了减少信息干扰会主动屏蔽很多内容(就是用这些技术)
像文章的内容你不能用ajax、评论你就可以使用
等等

若现在还有人说SEO和用户体验冲突,那么就从自己出发找找问题吧 这么多人回答了,看了会晕,专业的看不明白,不专业的看不懂。

我给你说个段子,告诉你什么叫用户需求或者用户体验:

小明在淘宝上买了个移动硬盘,卖家问我是男的女的,我回答说是男的,她问自己用还是给老婆用,我说自己用。结构寄到后发现里面有好多AV片。我问卖家,如果我当时回答是女的,你会在里面放什么片?卖家说:韩剧。“这才是业界良心啊”于是我决定给卖家全部5星的好评,这才是接地气,超预期,想客户所想的,忧客户所忧的优秀卖家。

那些整天把用户体验挂到嘴边的,你们真的用心做到了吗? 这两点并不会冲突,现在也有大把的SEO方法去两者兼顾。 全站ajax?做好平稳退化再谈SEO吧。 那你先要弄清楚自己是想让网站更容易被收录,还是想网站能留住用户? 把搜索引擎当作用户,去做用户体验吧,少年 我觉得想清楚 衣食父母 是哪边, 答案自然就明朗了

我的想法是:
1,网站推广 不是只有SEO一种途径。根据目标用户群采取合适的推广方式和活动,也许效果会不同
2,能不能按模块分别用ajax和迎合SEO来做?或者默认SEO,站内引导用户修改个性化设置获得更好的体验? 个人觉得最开始的时候,先把seo放在一边,把内容做好,定位清晰,给用户最好的一面,搜索引擎总是会收录的,只是效果比较慢而已,但是你和你的网站都不浮躁,这点很重要。
做一个网站最终还是要拿来给人看的,所以基于这一点搜索引擎也一直在完善自己,尽量在技术的角度把自己拟人化,对搜索技术来说一个长期的过程,所以才会出现做seo和用户体验的一些小矛盾。
但这种矛盾是可以化解的,所以站长们不要把seo太当回事儿,用心做好你的用户体验吧。 个人认为用户体验和SEO不相冲突
SEO的核心是内容,内容做好了SEO就搞好了大部分
但是用户体验高并不意味着大量的Ajax,像QQ空间里的内容用搜索引擎搜不到,并不是因为它SEO不好,而是它根本就不想搜索引擎抓取它的内容而设计了门槛。就拿Ajax加载来说,很多网站没有了分页,用户往下滚动就逐步加载内容,这个问题,一方面多用于社交微博类的,没有帐号不能登陆根本抓取不到内容,另一方面,这种加载模式不过是把分页的设计做到一个页面上,如果你想被抓取,那完全可以保留带链接分页的功能就可以了

就比如一个论坛,使用了很多脚本,又需要登录才能查看内容,那么完全可以单独开个板块把其他板块的精华内容转载进去,这要搜索引擎能抓取到高质量的内容,未登录的用户也可以查看到,但是却增加了内容被盗取的可能,开放和封闭的对立,找到一个平衡点是关键 看对商业利益的影响
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to solve the 403 error encountered by jQuery AJAX request How to solve the 403 error encountered by jQuery AJAX request Feb 20, 2024 am 10:07 AM

Title: Methods and code examples to resolve 403 errors in jQuery AJAX requests. The 403 error refers to a request that the server prohibits access to a resource. This error usually occurs because the request lacks permissions or is rejected by the server. When making jQueryAJAX requests, you sometimes encounter this situation. This article will introduce how to solve this problem and provide code examples. Solution: Check permissions: First ensure that the requested URL address is correct and verify that you have sufficient permissions to access the resource.

How to solve jQuery AJAX request 403 error How to solve jQuery AJAX request 403 error Feb 19, 2024 pm 05:55 PM

jQuery is a popular JavaScript library used to simplify client-side development. AJAX is a technology that sends asynchronous requests and interacts with the server without reloading the entire web page. However, when using jQuery to make AJAX requests, you sometimes encounter 403 errors. 403 errors are usually server-denied access errors, possibly due to security policy or permission issues. In this article, we will discuss how to resolve jQueryAJAX request encountering 403 error

How to solve the problem of jQuery AJAX error 403? How to solve the problem of jQuery AJAX error 403? Feb 23, 2024 pm 04:27 PM

How to solve the problem of jQueryAJAX error 403? When developing web applications, jQuery is often used to send asynchronous requests. However, sometimes you may encounter error code 403 when using jQueryAJAX, indicating that access is forbidden by the server. This is usually caused by server-side security settings, but there are ways to work around it. This article will introduce how to solve the problem of jQueryAJAX error 403 and provide specific code examples. 1. to make

PHP and Ajax: Building an autocomplete suggestion engine PHP and Ajax: Building an autocomplete suggestion engine Jun 02, 2024 pm 08:39 PM

Build an autocomplete suggestion engine using PHP and Ajax: Server-side script: handles Ajax requests and returns suggestions (autocomplete.php). Client script: Send Ajax request and display suggestions (autocomplete.js). Practical case: Include script in HTML page and specify search-input element identifier.

How to get variables from PHP method using Ajax? How to get variables from PHP method using Ajax? Mar 09, 2024 pm 05:36 PM

Using Ajax to obtain variables from PHP methods is a common scenario in web development. Through Ajax, the page can be dynamically obtained without refreshing the data. In this article, we will introduce how to use Ajax to get variables from PHP methods, and provide specific code examples. First, we need to write a PHP file to handle the Ajax request and return the required variables. Here is sample code for a simple PHP file getData.php:

PHP vs. Ajax: Solutions for creating dynamically loaded content PHP vs. Ajax: Solutions for creating dynamically loaded content Jun 06, 2024 pm 01:12 PM

Ajax (Asynchronous JavaScript and XML) allows adding dynamic content without reloading the page. Using PHP and Ajax, you can dynamically load a product list: HTML creates a page with a container element, and the Ajax request adds the data to that element after loading it. JavaScript uses Ajax to send a request to the server through XMLHttpRequest to obtain product data in JSON format from the server. PHP uses MySQL to query product data from the database and encode it into JSON format. JavaScript parses the JSON data and displays it in the page container. Clicking the button triggers an Ajax request to load the product list.

Optimizing website SEO: practice of pseudo-static hiding php suffix Optimizing website SEO: practice of pseudo-static hiding php suffix Mar 07, 2024 pm 12:27 PM

As we all know, optimizing the SEO of a website is a very important part of website operation. The default URLs of dynamic web systems (such as PHP) used by many websites have extensions (.php, .html, etc.), which will affect the SEO effect of the website. In order to improve the optimization effect of the website, a common practice is to change the dynamic URL to a pseudo-static URL to hide the extension name and improve the user experience and search engine ranking of the website. This article will take "pseudo-static hidden php suffix" as the theme, introduce how to achieve this optimization in PHP websites, and

PHP and Ajax: Ways to Improve Ajax Security PHP and Ajax: Ways to Improve Ajax Security Jun 01, 2024 am 09:34 AM

In order to improve Ajax security, there are several methods: CSRF protection: generate a token and send it to the client, add it to the server side in the request for verification. XSS protection: Use htmlspecialchars() to filter input to prevent malicious script injection. Content-Security-Policy header: Restrict the loading of malicious resources and specify the sources from which scripts and style sheets are allowed to be loaded. Validate server-side input: Validate input received from Ajax requests to prevent attackers from exploiting input vulnerabilities. Use secure Ajax libraries: Take advantage of automatic CSRF protection modules provided by libraries such as jQuery.

See all articles