seo

how to edit header tag in joomla website

有些话、适合烂在心里 提交于 2019-12-12 09:15:51
问题 my website is created in joomla 1.5 , i wants to edit my website pages header tags. is there any extention available. 回答1: I'm assuming you mean you wish to edit the content of your head tag. That is elements between . The <header></header> tag is only used in HTML5 and quite sure that's not what you meant. As for the head tag, you add that yourself in your template and can add any content you wish between those tags. In most CMS's you have complete control in what appears between the head

Robots.txt file in MVC.NET 4

半世苍凉 提交于 2019-12-12 08:29:41
问题 I have read an article about ignoring the robots from some url in my ASP MVC.NET project. In his article author said that we should add some action in some off controllers like this. In this example he adds the action to the Home Controller: #region -- Robots() Method -- public ActionResult Robots() { Response.ContentType = "text/plain"; return View(); } #endregion then we should add a Robots.cshtml file in our project with this body @{ Layout = null; } # robots.txt for @this.Request.Url.Host

HTTP status code for overloaded server

空扰寡人 提交于 2019-12-12 08:22:09
问题 Some hours my web site's server has too much load. Which HTTP status code should I send to the Googlebot that visits my website? Is " 269 Call Back Later " this suitable for this case, or 503 Service Unavailable or do you have any more suggestions? 回答1: 503 means the service is temporarily unavailable so it is appropriate to use while the server is overloaded. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html The Wikipedia article defines 269 as the initial response for a request that

What is a good way to have a SEO URL system built up in PHP?

安稳与你 提交于 2019-12-12 07:41:56
问题 I want to have "pretty" and SEO oriented URLs in my site. I've build up my own tiny framework for this site and almost everything is complete now. One thing I'm still puzzled up is the pretty/SEO URLs system that I will use. I know there's many way to achieve this and I'm looking to balance best practices/ease of implementation on this one. So far I'm thinking to have all URLs of the site to point to a specific PHP file (let's say index.php) that will contain a file/URL dictionary that will

Add Friendly URLs to Multi lingual ASP.NET website, without using MVC

不打扰是莪最后的温柔 提交于 2019-12-12 06:44:14
问题 I have a project developed in ASP.NET webforms, the project has content in 2 different languages which can be selected from a dropdownlist, that project is available for download from the following link: http://www.mediafire.com/download/4d7dbdthh2094s6/test-idiomas-urls.rar I need that when I select any of the languages, the URL change from this: example.com/Default.aspx to this: example.com/en/home or example.com/es/home. I have excluded ASP.NET MVC. How could I make that work? 回答1:

Site Performance: rel=canonical vs redirect 301

杀马特。学长 韩版系。学妹 提交于 2019-12-12 06:32:05
问题 From this page on the blog of Matt Cutts, he says that rel=canonical should be a secondary choice if you can't use a 301 redirect. Is there any performance issue with using a 301 redirect instead of a rel=canonical ? 回答1: In my experience, the performance difference is negligible. There are more steps involved in the implementation of 301 redirects, so rel=canonical might perform slightly better. The extra steps are typically executed very quickly and should not add any noticeable delay or

Yii - Remove 'index' from URL

与世无争的帅哥 提交于 2019-12-12 06:24:15
问题 How do I remove index from http://localhost/dashboard/index/create I have my urlManager setup like this: 'urlManager' => array( 'urlFormat' => 'path', 'showScriptName' => false, 'rules' => array( '<controller:\w+>/<id:\d+>' => '<controller>/view', '<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>', '<controller:\w+>/<action:\w+>' => '<controller>/<action>', ), ), And this gives me clean URLs like this http://localhost/dashboard where dashboard is a module with a default

AngularJS SEO htaccess: redirect root domain to snapshot

此生再无相见时 提交于 2019-12-12 06:12:26
问题 I use angular with html5 mode $routeProvider.otherwise({redirectTo : '/index' }); $locationProvider.html5Mode(true).hashPrefix('!'); and for that I have htaccess to handle google indexing # Rewrite anything with google appended string to english version of the snapshot RewriteCond %{QUERY_STRING} ^_escaped_fragment_= RewriteCond %{HTTP_HOST} ^touchtyping.guru [NC] RewriteRule ^ snapshots%{REQUEST_URI}-en.html [L] # Rewrite everything else to index.html to allow html5 state links RewriteRule ^

Redirect URLs with #! dynamic content

孤街浪徒 提交于 2019-12-12 05:39:26
问题 I had a temporary site made on Wix, and will soon need to move to a new one made in Zend Framework 2. For SEO reasons, not to lose the ranking gained so far, I need to 301 redirect the page URLs of the old site to pages in the new one, the problem is that Wix uses some weird addresses like www.mysite.com/#!about/etc, so the Redirect 301 rule in .htaccess doesn't work as the stuff after the # is not seen as a part of the link. How can I redirect from such URLs without losing their Google juice

Make clean URLS and retrieve query string

女生的网名这么多〃 提交于 2019-12-12 05:03:57
问题 Is there a way to insert relative URLS in php code such as /forums/(forumID)/ into tags while setting up my site? Then when I am trying to get which forumID the current page is, to get it via a $_GET request without using a template system like Smarty, CakePHP etc or Apache rewrite module? Or is it a huge headache? I just want to be able to not be bound to one web server type (Apache). 回答1: ... carried on from OP comments. These frameworks read the request again in their respective languages