seo

How to return proper 404 for google while providing user friendly content to the user?

梦想的初衷 提交于 2019-12-11 13:33:19
问题 I am bouncing between posting this here and on Superuser. Please excuse me if you feel this does not belong here. I am observing the behavior described here - Googlebot is requesting random urls on my site, like aecgeqfx.html or sutwjemebk.html . I am sure that I am not linking these urls from anywhere on my site. I suspect this may be google probing how we handle non existent content - to cite from an answer to the linked question: [google is requesting random urls to] see if your site

2019 Google核心算法更新

自作多情 提交于 2019-12-11 12:47:18
所有这些都改变了算法评估网站及其排名的方式。但是,其中三个是所谓的“ 核心算法更新 ”,这意味着它们对大多数索引网站的排名影响很大。Google于2019年3月,6月和9月宣布了这些信息,这不是他们通常要做的事情。这应该使你了解它们在与SEO相关的所有事物的宏伟计划中的重要性。 网站受到的影响有所不同,有些网站的排名和访问量有所增加,而另一些网站则跌至Google的第3页。许多经历了大幅下降的网站都位于利基市场中。 Paul Teitelman SEO Agency的Paul Teitelman说:“这些类型的网站上信息的敏感性质可能会对人们的生活产生深远的影响。” “谷歌长期以来一直在为此而烦恼,这些核心算法更新中的至少一个 旨在将可信赖的YMYL内容推到顶部,同时降低那些包含可疑和不可信赖信息的网站。” Google发出了这些更新的信号。如果你还不了解详情,请参考以下主要内容: (1)Google表示有意继续奖励原创、创新、完整和独特的内容。专注于彻底,准确地回答搜索者的问题。 (2)专业、权威和可信赖准则比以往任何时候都重要。诸如来自知名网站的反向链接,加密以及撰写你的帖子的人之类的东西都可以影响你的自然排名。 (3)Google希望看到你涵盖更广泛的细分市场中的广泛主题。通过将内容确立为利基市场必不可少的内容的方式来提高你的相关性。 SEO远非一门精确的科学

Friendly urls in Laravel , am I doing it right?

a 夏天 提交于 2019-12-11 12:11:30
问题 Here's my route : Route::get('location/{id}/{title?}', array('as' => 'scouting_single', 'uses' => 'ScoutingController@get_single')); The class is simple: public function get_single($id, $title ='') { $location = new Location; if(is_numeric($id)) { $location = $location->find($id); if(isset($location)) { $author = User::find($location->author); $meta = $location->find($id)->metakeywords; if($title == '') { $slug = Str::slug($location->title); return Redirect::to('location/'.$id.'/'.$slug); }

Redirect urls with query string to seo-friendly directory like urls

三世轮回 提交于 2019-12-11 11:37:59
问题 I know this question is asked by many users, also I gone through many questions to find the solutions as I am unable to understand the code used in htaccess file. So please kindly help me to solve this issue. I just want to convert a link like: www.abc.com/project.php?proj-cat=some+project+name to url like: www.abc.com/project/some+project+name OR to like: www.abc.com/project/some-project-name/ I googled and found a website which creates a htaccess rule for you, using this site I got this:

redirecting with htaccess while avoiding search engine penalty

筅森魡賤 提交于 2019-12-11 10:47:43
问题 I have a website that has been up for about 2 years now, it gained some search engine reputation over the time, and now I'm interested in using htaccess on it, to rename things such as: /index.php?act=Login to simply /Login Now the problem is, that search engines will see both urls, and the login page is far from being the only url I will rename. Which pretty much means that my entire website will have double the urls it has now, What can I do to prevent it from causing damage to the SEO? Is

Remove controller name from URLs in Yii2

偶尔善良 提交于 2019-12-11 10:36:09
问题 How can I remove the controller name from URLs in Yii2? I'm aware of simple aliases, but I'm not sure how to apply aliases to a little bit more complex rule, like the following one: 'rules' => [ 'public/<seo_url:.*?>/<category_id:\d+>/<product_id:\d+>' => 'public/product' ] This will create a rule so URLs like /product/this-is-a-slug/94/12 will call the actionProduct in my Public controller. How can I make an alias that would call that same action if I try to access a product using this URL:

In Nginx, how to match and entire URL and Query String and redirect to a URL and Query String

我是研究僧i 提交于 2019-12-11 10:25:56
问题 I have been searching for a while now, trying work arounds and haven't come up with anything useful. I have a (large) list of URL's from an site migration and need to match the entire URL + Query String and redirect to another URL. As far as I can see the following only matches /mens , but not the rest of the query string. rewrite "^/mens?brand%5B%5D=27&section%5B%5D=5&price-min=0&price-max=2000&sort=newest" "/t/gender/men" permanent; The reason it's important is that I have a bunch of

Google Analytics: How to merge canonical URLs for historical data

女生的网名这么多〃 提交于 2019-12-11 09:27:23
问题 I have a single-page online app which relies on query strings. Google Analytics tracking was added, however canonical meta wasn't added until a few days later, so now Analytics is showing several entries for the same page because of a difference in the query string, e.g. "/app/?s=4324,543,12421" and "/app/?s=5234,86754" whereas the canonical is just "/app/". Is there a way to merge data for the extra pages (in Reporting > Behavior > Overview) in GA which have since been canonicalised? 回答1: To

How do search engines crawl Javascript?

江枫思渺然 提交于 2019-12-11 09:08:57
问题 If I add random keywords alt attrb to the images using jQuery document.ready (thinking that the page is already loaded), how does it affect search engines? Will the search engines get the alt attrb that I added with any JavaScript at all? If not how come it can understand Ajax calls sent via JavaScript? I want to add the alt attrb to images that don't have any in my client's site, in case they forget to put an alt text. jQuery will replace the empty ones with keywords. Is this possible? 回答1:

ASP.NET WebForms: Request.GetFriendlyUrlFileVirtualPath() returns empty string

大城市里の小女人 提交于 2019-12-11 09:04:58
问题 I have got simple ASP.NET WebForms project with only few pages and I would like to use friendly URLs (not only for SEO but also localization of URLs). I use .NET 4.5 for this project and have tried to use Microsoft.AspNet.FriendlyUrls nuget package which looked like it might help. But there is one issue. I've got in Global.asax this: void Application_Start(object sender, EventArgs e) { // Code that runs on application startup BundleConfig.RegisterBundles(BundleTable.Bundles); RouteConfig