seo

Remove Traiing Foward Slash using UrlRewritingNet

ぃ、小莉子 提交于 2019-12-11 05:33:46
问题 i'm doing some work on a legacy asp.net and umbraco site. It's using UrlRewritingNet to set up rules for url manipulation. I'd like to create a rule in the UrlRewritingNet file to remove the trailing slash from the url. eg. http://www.test.com/index.aspx/ to http://www.test.com/index.aspx Can you please help. 回答1: <add name="noendslash" virtualUrl="^(.*)/$" rewriteUrlParameter="IncludeQueryStringForRewrite" redirect="Application" destinationUrl="~$1" ignoreCase="true" /> 回答2: In the later

白杨SEO:再谈知乎,原来知乎还可以这么用?问答类引流推广分享!

烈酒焚心 提交于 2019-12-11 05:22:28
前言:这是白杨SEO公众号原创第112篇。为什么再想到写知乎这个呢,其实很多人对于知乎并没有真正用到极致,顺带讲一讲整个问答类产品如何做品宣或者引流,给你启发。 再谈二字,是因为在11月5号,本公众号发过一篇,你可以看完这篇内容再看:白杨SEO:一文告诉你知乎算法、排名、涨粉、引流和实战技巧。 在讲知乎之前,再跟大家先讲讲问答平台,这样让大家对于问答平台有一个了解,以及了解为什么白杨SEO会觉得他是做品牌或推广引流,甚至找到潜在需求的一个好地方。 (白杨SEO谷歌浏览器问答收藏截图) 1、从是否花钱看: 可以分为付费问答平台和免费问答平台。免费问答平台,国内最大的当然是百度知道。而付费的之前的【分答】,好像现在没什么声音了。当然知乎也推出了【值乎】付费问答,再比如SEO之行,搜外问答也有付费提问的。 2、从分类来看: 问答平台分综合问答和垂直问答。比如,像百度知道,知乎,新浪爱问,360问答,或者后面头条推的悟空问答,这些都是综合问答。比如,装修问答,通信问答,39健康问答,法律问答等这些叫垂直问答。 其实还可以从国内国外来分,社交与非社交来分等等,白杨就不那么细了哈。比如做外贸SEO的,很多人肯定用过answers,雅虎问答等。再比如,知乎你可以理解为真实网络问答社区,早期是邀请制,保证质量。百度问答是搜索,着重解决问题。 看到这里,白杨SEO问你一个问题

htaccess mod_rewrite for Opencart search page URLs

旧街凉风 提交于 2019-12-11 04:54:39
问题 I'm having some difficulty creating an htaccess mod_rewrite rule which would take the following URL: http://www.mydomain.com/index.php?route=product/search&filter_name=SEARCH%20CRITERIA and make it something more along the lines of: http://www.mydomain.com/search/SEARCH-CRITERIA or even http://www.mydomain.com/search?filter_name=SEARCH%20CRITERIA Everything I've tried seems to break the SEO-friendly URLs that are auto-generated by the Opencart framework. How can this be done? 回答1: In Your

Is localization using Cookies search engine compatible?

眉间皱痕 提交于 2019-12-11 04:38:17
问题 I'm in the process of localizing a website. I was going to go the way of setting a cookie to the preferred language, and then display the respective language. And, if no cookie was set it would use the preferred language header, as set by the user's browser - and if the header was not set then it would default to English. So - how does Google's bot work? Will it crawl all websites once each with a different language set in the headers so that it can get each version of the website, or does it

When a url results in a temporary redirect (http 302), what gets indexed?

南笙酒味 提交于 2019-12-11 04:13:31
问题 I'm trying to make our (very heavily AJAX based) website more search engine friendly. We have a system where certain urls redirect to the main page after setting session variables to change the behavior of the main page. This is acheived using the Controller.Redirect method to create an ActionResult. So for instance, the main page is: http://radiotuna.com but if we want to link to a radio station, we use: http://radiotuna.com/s/66258 which redirects to the main page. However in this case, the

SEO and Duplicate URLS

♀尐吖头ヾ 提交于 2019-12-11 03:54:58
问题 I'm updating a website's menu system and adding SEO urls. I'll have two URLs pointing to a similar resource for a while but only one of them will be rendered on the menu. Should I leave the old URLs or delete them? If I leave them then google results wont link to 404 pages but they may be considered as spam. Should I redirect them perhaps? 回答1: Definitely use a 301 permanent redirection, this is what it's meant for. It'd be nice to keep the old URLs up (with 301 redirects) as long as is

Can Search Engines bots crawl pages requiring login?

馋奶兔 提交于 2019-12-11 02:53:55
问题 If a homepage on a website has a content if a user is not logged in and another content when the user login, would a search engine bot be able to crawl the user specific content? If they are not able to crawl, then I can duplicate the content from another part of the website to make it easily accessible to users who have mentioned their needs at the registration time. My guess is no, but I would rather make sure before I do something stupid. 回答1: You cannot assume that crawler support cookies

Is it against to MVC pattern calling a view in another view with variables?

微笑、不失礼 提交于 2019-12-11 02:47:44
问题 edited for clarification and modified example pseudo-code I was trying to understand the concept of mvc and sometimes it gives me some serious headaches. I was facing with a problem and trying to think a solution. I am using codeigniter and the problem is how to make different page titles and descriptions for different categories and searches in my web site. Here is the solution I thought (I know it's not the best way the demonstrate it but don't stuck in details just look at the basic idea):

mod-rewrite forwarding without changing URL

给你一囗甜甜゛ 提交于 2019-12-11 02:37:27
问题 I have a small problem with my Apache configuration when creating "pretty" URLs. I've got it to the stage where typing (or linkig for that matter) to index.html forwards you to index.php?pageID=Forside that is exactly what I want. But how can I get index.html to stay in the address bar of the browser? Right now it forwards and changes the URL to the original one. Here my .htaccess: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d

HTML5 semantic tag usage, will search engines respect large wrapping?

被刻印的时光 ゝ 提交于 2019-12-11 02:13:14
问题 I was planning to use the <nav> tag for a few things, however, the following occurred to me. Take the following markup for example: <nav id="sidebar"> <div class="links"> <a href="/"></a> <a href="/"></a> <a href="/"></a> </div> <div class="links"> <a href="/"></a> <a href="/"></a> </div> <div class="links"> <a href="/"></a> </div> <div class="statement"> random content here, unrelated to navigation </div> <div class="randomstuff"> unrelated to navigation, but still here </div> </nav> Will