seo

ASP.NET MVC - What is the best way to build a search form that works properly with SEO and users without JS?

对着背影说爱祢 提交于 2020-01-05 06:28:07
问题 I'm working on building a search engine in my application, and because I don't want to have a Querystring in my URL, I'm currently using Javascript to submit the searchTerms for me. Basically I am NOT using a "form", but rather just an input <input id="searchBox" class="search" name="searchTerm" tabindex="1" onfocus=" this.className = 'search-alt'; if (this.value=='search...') this.value = ''" type="text" onkeypress="searchKeyPress(event,this.form)" maxlength="80" size="28" value="search...">

SEO friendly 301 redirect .htm to .aspx

倖福魔咒の 提交于 2020-01-04 23:22:31
问题 I currently have a small-midsize website with .htm extensions. I have redesigned the full website, this time using a .aspx extension. I want to issue 301 redirects to keep my search engine rankings, but am unsure of how to do so from an .html page in a spider friendly way. With research I have repeatedly encountered references to ISAPI redirects (but no where can I seem to find a full explanation, just a link to isapiredirect.com, which does not load). Other than this I have been advised to

SEO friendly 301 redirect .htm to .aspx

↘锁芯ラ 提交于 2020-01-04 23:22:30
问题 I currently have a small-midsize website with .htm extensions. I have redesigned the full website, this time using a .aspx extension. I want to issue 301 redirects to keep my search engine rankings, but am unsure of how to do so from an .html page in a spider friendly way. With research I have repeatedly encountered references to ISAPI redirects (but no where can I seem to find a full explanation, just a link to isapiredirect.com, which does not load). Other than this I have been advised to

Sitemap script [closed]

Deadly 提交于 2020-01-04 14:31:33
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I have a finished website that I need to generate a google sitemap for. Can you recommend a script that can do so? I need something that will crawl the website exactly like google. I have found scripts that crawl all of the files in the website folder, but I have a members-only part that I do not wish to be

Sitemap script [closed]

狂风中的少年 提交于 2020-01-04 14:31:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I have a finished website that I need to generate a google sitemap for. Can you recommend a script that can do so? I need something that will crawl the website exactly like google. I have found scripts that crawl all of the files in the website folder, but I have a members-only part that I do not wish to be

[SEO] - [DeDe]优化SEO

六月ゝ 毕业季﹏ 提交于 2020-01-04 09:28:39
dede如何做SEO DEDE是同类型CMS系统里面SEO做的比较好的一个了,但是还是有些地方不能尽人 意,下面就给大家具体讲讲针对DEDE可以做的一些优化,一些SEO 本文是最好网总结实践DEDE SEO 的经验,分享给各位DeDe的站长们的礼物! 希望大家一起努力,搞好DEDE SEO 让搜索更快收录你的站点,提升你的网站流量! 本文 技术参数不高,简单才是美. 本文将 DeDe CMS SEO 优化共分五部分: 1.网址优化 技术参数: 2.标签优化 技术参数: 3.Tag优化 技术参数: 4.结构优化 技术参数: 5.权重优化 技术参数: 一.DEDE SEO 之一:网址优化 案例: 最好网 方法详 解: 全站采用静态html,如:内容页(文章,图片,软件下载等),这样利于搜索的收录,且打开速度比动态页面快多了. 但 这远远不够, 因为如果用默认的模板生成文件后,网址会变得极长.我们接下来要做的就是:把文件移动到根目录,减少URL路径中的 / 的数目,理论上来讲, / 的次数越少,意味着页面所在搜索引擎中的权重越高. 说白了也就是距离网站根目录越近,权重越大! 要如何实现呢? 简单得很,在DEDE 后台: 栏目管理 修改栏目 高级选项中: 文章命名规则:改为:news/{aid}.html 这是我的做法, [你可以根据你的目录名来改news为你自己想要的名

Which is better: meta-refresh-url-redirect or htaccess 301 redirect?

霸气de小男生 提交于 2020-01-04 06:34:18
问题 Which is a better way to redirect a url to another location such that it helps SEO? method 1: <meta http-equiv="Refresh" content="0;url=http://destinationSiteHere"> method 2: .htaccess 301 redirect Please suggest which method is better with respect to Search Engine Optimization? 回答1: The 301 redirect is what you want as it is what tells the search engine the page has moved permanently. 回答2: 301 Redirects Are Much Better than Meta Refresh Redirects The biggest reason why it’s a bad idea to

Why isn't “renderAllHiddenFieldsAtTopOfForm” not working?

馋奶兔 提交于 2020-01-04 05:29:10
问题 In a .NET 4 web application I've set the property "renderAllHiddenFieldsAtTopOfForm" to "false" in the web.config. Unfortunately the hidden fields are still at the top. Why is this? Does some other setting override it? "pages" property in web.config: Screenshot of top of the form: ide it? 回答1: From the docs: all system-generated hidden fields are rendered at the top of the page. This makes sure that the information in these fields is sent to the server even if a postback is performed before

SEO - 301 redirect via 404 page

不问归期 提交于 2020-01-04 04:32:07
问题 I am new to this so I will try to explain myself clearly. I am doing my 301 redirect from a custom 404 page. Now I got it working my question is more regarding how google would treat this. Cause we going to a 404 page would google just record it as a 40 page or would it actually record the 301? As i said I am new to this and have looked through google to try and find an answer to this. Anyway any help or comment would be greatly appriciated. thanks in advance 回答1: Best practice in this case

单页面开发和多页面开发的区别

人盡茶涼 提交于 2020-01-04 00:43:35
(盗图镇楼) 多页应用 每一次页面跳转的时候,后台服务器都会返回一个新的html文档,这种类型的网站就是多页网站,也叫多页应用。{页面跳转——>返回html} 优点是:首屏时间快,seo效果好;缺点是:页面切换慢; 为什么多页应用的首屏时间快? 首屏时间叫做页面首个屏幕的内容展现时间,当我们访问页面的时候,服务器返回一个html,页面就会展示出来,这个过程只经历了一个http的请求,所以页面的展示速度非常的快。 为什么搜素引擎的优化效果好(seo)? 搜索引擎在做网页排名的时候,要根据网页的内容才给网页的权重,根据权重的大小来进行网页的排名。搜索引擎可以识别html的内容,而我们每个页面的内容都放在html中,所以多页的应用,seo的排名效果好。 多页应用没有缺点吗? 有!多页应用的每次跳转都需要发出一个html请求,如果网络比较慢,在页面之间来回的切换时,就会发生明显的卡顿。就是切换慢。 单页面应用 第一次进入页面的时候会请求一个html文件,刷新点击一下会切换到其他组件,此时路径也相应的变化,但是并没有新的html文件的请求,页面内容发生变化。原理是:     js会感知到url的变化,通过这一点,可以用js动态的将当前的页面内容清除掉,然后将下一个页面的内容挂载到当前的页面上。这个时候路由不是后端来做了,而是前端来做,判断页面到底是显示那个组件,清楚不需要的,显示需要的组件