How to remove the /en/ url in the website - url

How to remove the /en/ url in the website
by default site showing as like above.
please check the following url
http://www.plrebooksstore.com
it goes to http://www.plrebooksstore.com/en/
Please help me out
Honney.

In prestashop, country code appears only if you have more than one language.
If en is your only option, disabling the rest will let your store without the code.

Please see the topic discussed here if you need to use multiple languages and you want to remove the default language iso from URLs:
https://www.prestashop.com/forums/topic/550132-how-to-remove-main-language-in-url/

You have 2 languages activated. Just de-activate one language, rewrite the .htaccess file and the links will change

after deactivate one language go to dashboard>>>Preferences>>SEO & URL>>>change disable apache multiviews to yes

Related

Live Preview function in Multilingual Craft CMS website

Struggling a bit with a multilingual Craft CMS website. I am trying to get Live Preview working on both languages I use on my site. The Primary language works just fine, live preview is showing, and all edits are visible. However, if I switch to the secondary language and try to preview I get thre primary version.
In my .env file I setup two environmental variables the following URL's which I use in "Settings > Sites > Base URL":
PRIMARY_SITE_URL=http://mysite.local:8080
PRIMARY_SITE_URL_EN=http://mysite.local:8080/en/
In my Sections settings, I configured it as shown below:
I tried changing the second row in "Preview Targets" to en/news/{slug} however this was without success.
Any help would be much appreciated. Thanks much.
As mentioned by Brandon Kelly from Craft:
Just a single preview target should be necessary, with its URL Format set to {url}. It will show the entry in whichever site is currently being edited.
This solved the problem right away for me.
Thanks Brandon

How is url without protocol differs from a simple one?

I often see people use urls like below for CDN resources.
<script src="//site.domain.com"></script>
I wonder how it's different for browser if it was specified like "https://site.domain.com"
It means "keep the same scheme" than the actual document.
See shorthand http:// as // for script and link tags? anyone see / use this before?
UPDATE : correct link.

Localization to Spanish not working in wso2 api manager

Followed instructions on:
https://docs.wso2.com/display/AM210/Adding+Internationalization+and+Localization
Trying this on google chrome and firefox. Changed the language to spanish, but wso2 does not pick up locale_es.json and still displays english.
Any ideas on how to fix this?
Thanks!
First, you must ensure the locale_es.json file is well-formed (the original one it is not) and has the correct translates.
Then modify 'language' parameters from 'en' to 'es' in the .pot files and the dynamic.po

Changing the name of the Page alias

In Kentico 8.2 the sub-page in the URL is misspelled. The Name Path is spelled correctly.
I see that under Pages > Properties > URLs there is a place to change the alias name. Will correcting the spelling here affect anything drastic change in the website (say, in the code)? I'd be inclined to say No, but I wanted another opinion.
Technically speaking of you make the modification/update Kentico will keep an alias of the misspelling so if anyone has reference to it, they can go to that bad URL and be redirected.
If there is custom code looking for that misspelled URL then it will have to be corrected but as you stayed probably not.
If webparts or widgets refer to that misspelled URL in the path property, they will have to be corrected. You will notice this right away on pages of they are referencing that misspelled URL because your content won't show up.
If you change the page-alias it will add the old alias to the list of page aliases (ie. old links to the page should still work).
Are you specifically using that page-alias in code anywhere to identify the page?
similar to:
var aliasPath = tree.SelectNodes()
.WhereLike("DocumentName", "Tutorials").FirstObject.NodeAliasPath;
but referring to the alias field instead.
Would the page be linked in any wysiwyg editors? I'm not sure if behind the scenes kentico would use page-alias in this instance or the document guid. Although if you retained the old misspelled alias then existing links should work.

Customizing google plus url default comment

Is it possible to add a comment by default when using google plus share link?
The url is the following
https://plusone.google.com/_/+1/confirm?hl=en&url=URL_TO_SHARE
I've trieid adding &message=MESSAGE but that didn't help. Also tried &comment and &text
Just to warn you, this is not an officially supported part of the Google+ platform. I strongly recommend that you use the +1 button to share content to Google+.
That being said, there is no paramater that you can set to specify the message. The closest you can get to this is to use schema.org, open graph or HTML meta elements to specify the description of your target URL just like the +Snippet for the +1 button.

Resources