The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
Hello,
I added new languages pack to my site and i would like to add in the header of desktop: ( For example page it's page 2 of recent videos )
<link rel="alternate" href="http://www.domain.com/recent/2/" hreflang="x-default">
<link rel="alternate" href="http://de.domain.com/recent/2/" hreflang="de">
<link rel="alternate" href="http://fr.domain.com/recent/2/" hreflang="fr">
and on mobile header:
<link rel="alternate" href="http://m.domain.com/recent/2/" hreflang="x-default">
<link rel="alternate" href="http://m.de.domain.com/recent/2/" hreflang="de">
<link rel="alternate" href="http://m.fr.domain.com/recent/2/" hreflang="fr">
What would be the code between href=" " ?
Offline
href="http://de.domain.com<?php echo $_SERVER['REQUEST_URI']; ?>"
Offline
Thank you.
Would you also know how to create subdomains for each languages? For example fr.domain.com de.domain.com etc...
Offline
what you mean how to create? you have to point it to your server from your domain registar for each subomain ( at least that i did )
Offline
My subdomains fr.domain.com and de.domain.com are created but they are pointing to english homepage. My host told me that i need to edit script config file to point them to each languages but i don't know how to do it.
What do i need to edit exactly?
Offline
You cant do nothing about that. u have to install ( not run install ) asp for each domain, fr.domain.com and de.domain.com etc
and edit config.php to add details from main site. but my opinion is to not try this if you dont know how to make it work
Offline
If i understand correctly i need to install files ( without videos and thumbs ) for each subdomain, edit the config of each subdomain to point to the main sql and set the language as default for each subdomain.
It's really complicated. They should add an easiest way to do this.
Offline
it is complicated.
Offline
Could you please let me know which code i need to add to config to force a language? For example: i added
'language' => 'fr-FR',
But it doesn't work.
Offline
This will not work. I'm adding this feature in the 3.x version of the script.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Pages: 1