On a multilingual joomla website, i have virtual subfolders for each langage, like this :
example.com/en/category/page
example.com/de/category/page
example.com/fr/category/page
But, in Google Webmaster Tools, i have 404 when it crawl on this :
example.com/en/category/page?lang=de
example.com/de/category/page?lang=fr
etc.
I tried this :
RewriteRule ^en/mypage$ http://www.example.com/en/mypage? [L,R=301]
But of course it make looping redirection that doesn't work.
How can I solve this kind of problem?
Is there a way to replace the langage param to always get something like this :
example.com/en/category/page?lang=en
If I understand your question correctly, then one solution would be to change your site map. This is how I usually do it on my multilingual Joomla sites.
1 - Install Xmap
2 - From the Joomla backend > Xmap, I create a new site map and under the menu option, I include all the menu links I want to be indexed, in all languages
3 - After publishing and saving, note the Xmap ID for this new site map.
4 - Create a new text file, similar to below. Save this to the root of your website as sitemap.xml
Note that you may need to change the xmap id to mantch 3 above, and you will need to add a <loc> entry for each language on your site
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>http://your_domain/index.php?option=com_xmap&view=xml&id=1&lang=en</loc>
</sitemap>
<sitemap>
<loc>http://your_domain/index.php?option=com_xmap&view=xml&id=1&lang=fr</loc>
</sitemap>
</sitemapindex>
5 - Check that you can now reach the sitemaps for each language directly using the URLs from your <loc> lines above, e.g.:
http://your_domain/index.php?option=com_xmap&view=xml&id=1&lang=en
6 - Submit http://your_domain/sitemap.xml to Webmaster tools as the location of your site map. Google is smart enough to fgure out the language settings after that.
Good luck!
It's a little late but here the solution i used (David's answer was a very good start).
Xmap didn't exist anymore, and OSmap isn't the best solution because it doesn't follow the Google recommandations for multilingual sitemaps, wich says that it needs <xhtml:link rel="alternate"[...] for each links.
So : I used OSmap to get all links quiclky; then I manually create a properly formatted sitemap. Then I posted my sitemaps to webmaster tools (I got one for each language), and i place a sitemap_index.xml to help crawlers to find them.
Related
I have a large PHP based website with hundreds of files. All internal links are root relative, in this format:
News Homepage
<a href="/news/article-title-here/">Article<a>
Contact Us
I am planning to localize the website (using gettext) into subdirectory structure, for example French language would point to:
News
Article Title
Contact Us
Other languages would similarly point into their relevant subdirectories.
I know I could modify all links and add some sort of language variable, e.g.
News
However, I would like to do avoid going through all files and updating all links manually this way. Is there a way to achieve this without modifying the existing links? I looked around and tested some URL Rewrite solutions, <base-href> tag based solutions (does not work for root relative links), but could not find anything that would work reliably. Any help is appreciated.
I use indexed_search and RealUrl and I need it to show the whole url in the search result.
Right now it is only showing that part of the url which is related to pages and not the part that is related to my extension.
Now it shows: domain.dk/products/
But it should show: domain.dk/products/product/product-title
I dont know whether it is in RealUrl configuration or in Indexed Search I should make som changes.
There are some pretty good explanations on the web, showing how to index database/extension records with the crawler extension. Try this one as a start, it shows everything step by step and with screenshots, so I guess it should be useful.
If this is not enough, there are ready-to-use examples for tt_news and other extensions in the crawler documentation.
I want my website to have indentation in google result search.
After taking reference of many websites, I found this one website "www.traveloka.com"
Inside the website, I can't find any meta keywords stuffs.
But the website is well indented.
My question is :
- does meta keywords really needed to have google indent my search result ?
- if yes, why the website www.traveloka.com is well indented without meta keywords ?
- if no, what matters then ? Beside having the page have href linking to each other ?
UPDATE :
While doing SEO, I found this website :
chlooe.com
It reports SEO advises, which ones to be changed, etc.
I'll follow the instructions there. any thoughts ?
If by indentation you mean ... it's called sublinks.
Meta tags are no longer important for most search engines. They now rank the pages according to content so in your site's content, use strong keywords to get better ranking.
Having a specific page title helps a lot too.
As for the meta tags, personally, I like to leave it in but they are no longer mandatory.
The Google site links are generated automatically by Google depending on your content.
Here are a few tips:
1) Have a sitemap.xml in your website. This will tell the crawlers which pages are available on your site. To generate a sitemap.xml, I use http://www.xml-sitemaps.com/
2) Submit that sitemap to google webmaster tools.
3) Use clean urls. For example www.mydomain.com/contact, .../about-us, .../portfolio, ... etc. These help search engines seperate the content and create sub links depending on the most important content.
4) Most important of all, get traffic on your website... no traffic = poor ranking.
This is not a full tutorial but just some tips. Search for "google sub links" to learn more.
Hope this helps
https://support.google.com/webmasters/answer/47334?hl=en
How to make unique permalinks even if the post included in multiple category ?
Custom Structure /%category%/%postname%
multiple permalinks for same article effecting the facebook like count
presently seems to be like this, how can make this only for one ?
You can use help from "SEO plugins", just search on the wordpress plugins.
recently I'm using Yoast SEO plugin, http://wordpress.org/extend/plugins/wordpress-seo/
to customize the permalink with categories.
We are creating the variation structure for a multilingual 2010 site. We would like our navigation to be based upon the site/subsite structure of the site collection. The problem is that the out-of-the-box SharePoint navigation creates links from the site name, which happens to be localized to the source site. We are ok with the URL's having the source site's name in it, we just want the navigation to use localized texts.
I know that a work-around is to turn off site-based navigation on the target site and do it manually, but this will become cumbersome as we anticipate having a few hundred subsites.
An example of what we would like our navigation to look like:
EN-US (English Source Site)
Link in Navigation | URL
Home | www.consoso.com/en-us/Pages/default.aspx
Work | www.consoso.com/en-us/Work/Pages/default.aspx
de-DE (German target site)
Link in Navigation | URL
Heim | www.consoso.com/de-de/Pages/default.aspx
Arbeit | www.consoso.com/de-de/Work/Pages/default.aspx
I think you don't have that much options. For each web, you need to enable the multilanguage option; it doesn't seem like this is inherited. Any changes made to the subweb's title don't automatically reflect in the navigation of the parent site. I tried like this:
Created an English site and enabled Dutch language on it.
Adapted the site title to postfix EN for English and NL for Dutch.
Created an English subweb, language settings are disabled by default. I called the subweb 'subweb' and verified that it displayed on the navigation of the parent site.
Adapted the site title for the subweb and postfixed it again with 'EN' and 'NL'. These changes don't reflect to the parent web in any way, it still lists 'subweb' for both languages.
If you now edit the navigation links for the parent, you can change the titles for both languages and those translate ok.
So I don't think you have that many options, it's just not there ootb. What could work (and perhaps is the most easiest) is creating a timer job which recursively processes your site collections / webs and recreates the navigation links for all subsites. With a little logic there, you could also discard any other (external) links.
But perhaps you found a good alternative in the meantime? I'm also researching the multilanguage / variation options, so I'm eager to find out :)