WordPress installed in a subdirectory. Wrong links in widget

Popular automatic website translation tool

WordPress installed in a subdirectory. Wrong links in widget

Postby jamespro » Fri Nov 22, 2013 1:02 am

I have wordpress installed in a subdirectory, but the website is at the root.

The widget generates links with the subdirectory included, which is incorrect.

e.g. installed in http://www.website.com/wordpress/
but website address is http://www.website.com

I can edit the javascript manually, but if I change a language, it re-generates the wrong links.
jamespro
 
Posts: 11
Joined: Wed Oct 05, 2011 7:38 pm

Re: WordPress installed in a subdirectory. Wrong links in wi

Postby esteban » Fri Nov 22, 2013 10:31 am

I think the problem is that it is a plugin for WordPress, has no effect on the website if you are outside of the WordPress installation.

It has been the same and I could not fix it, if you do I'd appreciate any comments.

Thanks
friv
Last edited by esteban on Tue Nov 26, 2013 3:44 am, edited 1 time in total.
esteban
 
Posts: 1
Joined: Fri Nov 22, 2013 10:26 am

Re: WordPress installed in a subdirectory. Wrong links in wi

Postby Yana » Fri Nov 22, 2013 1:43 pm

Dear Jamespro ,

If your website is in the subdirectory, you need to install GTranslate Pro General version in the root folder and the language code should be after the domain name. For example http://www.website.com/xx/wordpress/ where xx is the language code.
You can find the documentation here https://gtranslate.io/docs/
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm

Re: WordPress installed in a subdirectory. Wrong links in wi

Postby juegosfriv » Thu Dec 19, 2013 8:22 pm

Thanks, i had the same problem.
Last edited by juegosfriv on Mon Jul 07, 2014 5:37 pm, edited 10 times in total.
juegosfriv
 
Posts: 6
Joined: Thu Dec 19, 2013 7:58 pm

Re: WordPress installed in a subdirectory. Wrong links in wi

Postby Yana » Fri Dec 20, 2013 5:35 pm

You're welcome!
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm

Re: WordPress installed in a subdirectory. Wrong links in wi

Postby pikachukm » Sun Jan 12, 2014 6:45 am

This is a great article. It gave me a lot of useful information. thanks
pikachukm
 
Posts: 1
Joined: Sun Jan 12, 2014 6:31 am

Re: WordPress installed in a subdirectory. Wrong links in wi

Postby Yana » Sun Jan 12, 2014 4:08 pm

You're welcome.
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux