seo

Does displaying none on duplicate content affect SEO/Semantics?

你。 提交于 2019-12-10 13:08:52
问题 Does Display: none on duplicate content affect SEO/Semantics? Suppose you're building a mobile-first, responsive site. At smaller breakpoints, you've opted to show your page's heading tagline ( <h1> ) in the main hero banner. However, later, you'd like to display a company logo in that same spot, and display your tagline in a sub banner. For example: <!-- Assuming following markup --> <header class="hero-banner"> <h1 class="hide-on-lg">Company Tagline</h1> <img src="..." class="show-on-lg" />

What are canonical URLs and how do they affect your SEO?

淺唱寂寞╮ 提交于 2019-12-10 12:50:46
问题 I've heard people mention the Canonical URL tag, but I don't know what it means or what its purpose is. What is it and how does it affect SEO? 回答1: Canonical URLs are used when you would otherwise have different URLs that point to the same content without actually redirecting. So let's say your domain is example.com ; www.example.com and example.com are two different URLs, and if you don't redirect them to a standard (canonical) URL (for instance, example.com ), search engines treat the two

making seo/canonicals urls without mod-rewrite on lamp

99封情书 提交于 2019-12-10 12:38:32
问题 i have a hosting company that does not allow .htaccess (mod-rewrite is disabled) on linux, php, mysql and apache. i want urls to be more seo/canonicals for my site. i have now: /index.php /flowers.php?id=41 /flowers.php?type=deco&mode=texture&color=red etc... is there a way to write something like: /home /flowers/12 /flowers/deco/texture/red without using .htaccess and mod-rewrite? or i need to look for another hosting? 回答1: If you don't use a custom method (like the wikipedia for example)

In a google search result, how do links show up beneath a result

◇◆丶佛笑我妖孽 提交于 2019-12-10 12:25:56
问题 I have a sitemap ready already done. How do I get google results to show a set of links beneath the link? I understand that google generates sitelinks by itself, which in turn cause these type of results to show: Is there a difference between the first image and the second? are they both sitelinks auto-generated by google? If not, what's the difference between the first image and the second? Thank you 回答1: Google adds them if it thinks your site is big enough or popular enough to warrant them

Redirect pages from old to new site - one by one

别等时光非礼了梦想. 提交于 2019-12-10 12:23:34
问题 I'm trying to redirect pages from several old domains on one new domain on a page-to-page basis, that is: page 1: http://www.example.org/default.asp?id=1 redirects to http://www.example2.org/newpage.html page 2: http://www.example2.org/default.asp?id=2 redirects to http://www.example.org/contact.html ...and so on. Every old page will redirect to a specific new page. I have tried to write something in .htaccess along the lines of Redirect 301 http://www.example.org/default.asp?id=1 h-tp://www

SEO duplicate content

丶灬走出姿态 提交于 2019-12-10 12:15:16
问题 If you have an URL like this: Java lib or app to convert CSV to XML file? If someone creates a link on his website, but changes the name like this Java lib or app to convert CSV to XML file? that would cause duplicate content. Is it nessecary to check if the name in the url is the same as the real name of the question and if not do a 301 redirect to the correct URL? I see Stackoverflow.com doesn't do a 301 redirect, but just accepts any name in the URL. Can this cause duplicate content or

How do I enable SEO-friendly URLs in CakePHP?

喜你入骨 提交于 2019-12-10 12:08:28
问题 I want to do something like www.mydomain.com/page-slug point to www.mydomain.com/custom-pages/view/page-slug , something like Wordpress. How can I do this in CakePHP. 回答1: you need to modify the Router in app/config/routes.php Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display')); to Router::connect('/*', array('controller' => 'pages', 'action' => 'display')); There is a big gotcha to this. If your application has any other controllers besides the pages controller

How to change urls in <a> to seo in Opencart 2.x automatically?

旧巷老猫 提交于 2019-12-10 11:47:05
问题 I'm using Opencart 2.x version and shop installed in /shop subdirectory. I know how to enable seo_url (.htaccess.txt -> .htaccess, set RewriteBase to /shop/ and enable SEO urls in admin panel). Seo urls works and my links like information/information_id=1 changed to /faq etc. Problem is that if I add in url_alias table records: inforamtion/contact = contact - this url works, but on the site it still looks like /shop/index.php?route=information/contact not as /shop/contact I supposed that it

robots.txt : how to disallow subfolders of dynamic folder

[亡魂溺海] 提交于 2019-12-10 11:15:45
问题 I have urls like these: /products/:product_id/deals/new /products/:product_id/deals/index I'd like to disallow the "deals" folder in my robots.txt file. [Edit] I'd like to disallow this folder for Google, Yahoo and Bing Bots. Does anyone know if these bots support wildcard character and so would support the following rule? Disallow: /products/*/deals Also... Do you have any really good tuto on robots.txt rules? As I didn't manage to find a "really" good one I could use one... And one last

How to impact the HTML rendering priorities with AngularJS?

不想你离开。 提交于 2019-12-10 10:34:53
问题 I'm prerendering my HTML pages for the search engines bots via PhantomJS through Selenium, so that they can see the fully loaded content. Currently, after PhantomJS reached the page, I'm waiting 5 seconds so that I'm sure everything is loaded. Instead of waiting those 5 seconds every time, one solution I contemplate is to wait until an attribute html-ready on the <body /> tag is set to true: <html ng-app> <head>...</head> <body html-ready="{{htmlReady}}"> ... </body> </html> .controller(