FAQ Database Discussion Community


Use `robots.txt` in a multilingual site

seo,sitemap,robots.txt
Having to manage a multilingual site, where users are redirected to a local version of site, like myBurger.com/en // for users from US, UK, etc.. myBurger.com/fr // for users from France, Swiss, etc... How should be organized the robots.txt file in pair with the sitemap? myBurger.com/robots.txt // with - Sitemap:...

Redirect all urls ending in “/”

apache,.htaccess,mod-rewrite,seo,rewrite
I need to redirect all URLs ending in "/" to urls that don't end in "/". Example: domain.com/ -> domain.com domain.com/page1/ -> domain.com/page1 domain.com/category1/ -> domain.com/category1 domain.com/// -> domain.com I've tried the following approaches, but none work: RewriteRule ^(.*)\/+$ http:\/\/www\.%{HTTP_HOST}/$1 [R=301,L] RewriteRule (.*)\/+$ http:\/\/www\.%{HTTP_HOST}/$1 [R=301,L] ...

I made a website using Yeoman/Grunt with Node.js just to build my application, how do I use the prerender or seo4ajax and index it?

node.js,gruntjs,seo,prerender
I made a website using Yeoman; grunt , generator-angular, $routeParams ... with Node.js just to build my application , how do I use the prerenderor seo4ajax and index it? Using Node.js as an application server could set like this: Run this on the command line: $ npm install prerender-node --save...

Will google index my “getdata.php” file?

php,.htaccess,seo
I have links like /getdata.php?name=somebody&id=123 masked by .htaccess like /somebody-123 I catched google (or another bot) in Google Analytics looking at my "getdata.php" file. Normally it's impossible to get that file (if you don't know that it exists because it doesn't get mentioned anywhere in a code and it just...

How to write my rewriterule so I can have friendly url

.htaccess,seo,rewrite,opencart,friendly-url
My SEO expert asked me to do HTTP 301 redirect to a friendly URL in an Opencart installation. This Opencart installation use SEO url so I have this url (native url in opencart) : http://www.qcbikeshop.com/index.php?route=information/information&information_id=9 and the SEO url is : http://www.qcbikeshop.com/Livraison-Gratuite However, my SEO expert want me to do...

Couple of questions about robots and content blocking

php,seo,bots,robots.txt
I'm configuring the robots.txt file for robots, and can't really understand what dirs I should block from them. Of course, I've read some infos at the internet, but yet there's some gap between what I want to know and what I've been found so far. So, it would be nice...

disqus SEO google crawler doesn't load comments

seo,disqus
I see in google webmaster We were unable to load Disqus. If you are a moderator please see our troubleshooting guide. instead of comments. But i read in the Internet, disqus comments are readable by google Crawler. As i understand to show "We were unable to load..." google had to...

SEO, content duplication and pagination [closed]

pagination,seo
I have a layout similar to this, only it's not debates, so I'll use this as an example for the question. As you can see, they have 3 different tabs, for rounds, comments and votes but these are all in one page, whereas in my case, I have different pages...

Convert MVC Website to be Responsive

mobile,model-view-controller,seo
While investigating the Google SEO issue with respect to not having a mobile web site. I've learned recently that lack of proper mobile site would reduce the search ratings, and a different content for a mobile and a desktop sites might hurt your SEO as well. Currently we have a...

Two URLs that you can use to hit the homepage

redirect,seo,sitecore
Having a sitecore website. Situation is for every country, there are two URLs that you can use to hit the homepage. www.abc.com/en/home and www.abc.com/en We only want one - this is bad for both SEO and analytics. I want to retire www.abc.com/en/home and want www.abc.com/en to only work. I already...

proper use link hreflang

html,seo,multiple-languages
I use below link tag for multiple language, have two question should I add <link href="http://domain.com/" rel="canonical"> in url http://domain.com/?hl=en or http://domain.com/?hl=es? should I add <html lang='en'> in url http://domain.com/?hl=en and <html lang='es'> in http://domain.com/?hl=es? <head> <!-- … --> <link href="http://domain.com/" hreflang="x-default" rel="alternate"> <link href="http://domain.com/?hl=en" hreflang="en" rel="alternate"> <link href="http://domain.com/?hl=es"...

Prevent Google indexing an AngularJS route

javascript,html,angularjs,seo,robots.txt
Usually, if I didn't want Google to crawl a page, I would add the page to my robots.txt file like so: User-agent: * Disallow: /my-page To prevent Google indexing that page, I would remove the page from my sitemap.xml add the following meta tag to the <head> of the page:...

google rich snippets (reviews) showing completely incorrectly?

seo,rich-snippets,google-rich-snippets
I'm working on rich snippet review data for a website; there aren't any reviews rich snippets showing on a page that google links to, but the SERP result shows a 5 star rating with 800 ratings? here's the search to see the rating: artworx and here's the page google links...

Best JSON-LD practices: using multiple