 Gabriel
|
Support,
I am trying to use WPML with a wordpress installation which is a sub directory.
I do not wish to use the default permalink structure, as I am mainly using pages.
Tried using /%year%/%monthnum%/%postname%/ however, it wasn't accepting it.
Putting the install on the root would be the easiest but not the ideal scenario for me.
Please advice,
G.
|
 Amir
|
"/%year%/%monthnum%/%postname%/" is the recommended permalink structure.
When you say that it's not accepting it, what do you mean? What error message are you seeing?
|
 Gabriel
|
Thank you for replying so quickly Amir.
The HTACCESS file is there, as stated in your documentation.
On the language URL format I get in red "It looks like languages per directories will not function.".
Just to confirm, my installation is on domain.com/cms and not domain.com
Thank you again,
G.
|
 Amir
|
That's fine. Our other website runs in a directory too and works without problems:
http://www.icanlocalize.com/site/
I suggest that you make the .htaccess file writable. Then, go to settings->permalinks, choose Year/Month/Name from the radio box (don't type it in manually) and save. This should refresh the .htaccess file. If you see a message about not being able to write to .htaccess, handle that first.
Then, go again to WPML->Languages.
Can you also share a link to your site, so that we can see what's going on there?
|
 Gabriel
|
Ah, excellent so trying to do the same thing.
.htacess is now 777 for testing purposes.
Permalinks is now http://www.domain.com/2011/06/sample-post/
domain is http://www.icomdp.org
WP installation is http://www.icomdp.org/cms
Still says "It looks like languages per directories will not function. Details"
We are getting there, thanks for your help.
Gabi.
|
 Amir
|
Well, I see that we're getting back a 404 error on your front page:
http://www.icomdp.org/cms/
This is what triggers the warning.
Add some content (at least one post) to all languages and test when it's not reporting 404 for the front page.
|
 Gabriel
|
Amir, that 404 is because the index file is in the root and the wp installation is in the sub folder, when you go to the root, you don't get an error message, however, when you go directly into the installation folder it does.
I'll add the content per language and check it out 
Thanks very much for all your help so far,
G.
|
 Amir
|
If you know that there are no content on the main blog page, you can just ignore that warning. WPML says that it looks like it's not going to work, but you can save the 'languages per directories' anyway.
|