yolene
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Install the exact same WP configuration in a sub-folderhaving only one database shouldn’t be a problem, BUT then wp needs to know which tables to use : you need to specify the prefix of the tables of your second wp installation. I don’t know how this property would be called; if you can login at yousite.com/en/wp-login then find it in general options. If you can’t then go and search for it directly in the database (through phpmyadmin through your hosting service).
good luckForum: Fixing WordPress
In reply to: Install the exact same WP configuration in a sub-folderwell i explained in the previous post :
So i’ve created a subdirectory “fr” (for the 2nd language), and i’ve copied all the files there, i’ve set up a second database, and in the wpconfig.php file i changed the name of the database.
and then last but not least
i realized i shall check the database : there was the answer, i had omitted to change the value of siteurl in the wp_options table. I changed it by adding /fr/ and now it works just fine.
if there’s something you don’t understand or don’t know how to do please say what exactly and i’ll explain in more details
Forum: Fixing WordPress
In reply to: Install the exact same WP configuration in a sub-folderthanks, you set me on the right track, although the change to make wasn’t in wp-config.
I was searching in wp-config and was about to test by changing/** Absolute path to the WordPress directory. */
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(__FILE__) . ‘/’);but then i realized i shall check the database : there was the answer, i had omitted to change the value of siteurl in the wp_options table. I changed it by adding /fr/ and now it works just fine.
I’ve just explained that in case someone has the same problem.
So issue closed. ThanksForum: Fixing WordPress
In reply to: Install the exact same WP configuration in a sub-folderYeah setting it up is not that hard (yet harder then wp.org says), but then i keep reading posts of things which don’t really work out, espacially for the kind of website i want to have. So i don’t care if it takes more work to do everything 2 times, at least it doesn’t takes days spent on forums for problem solving 😉
Now talking about problem solving …
So i’ve created a subdirectory “fr” (for the 2nd language), and i’ve copied all the files there, i’ve set up a second database, and in the wpconfig.php file i changed the name of the database.
So all smooth.
BUT, now i thought ok let’s log into my 2nd website so i got
domainname.com/fr/wp-admin … the problem it automatically redirects me to domainname.com/wp-admin, which is the admin for the english website, not the french one …how to solve that ?
When i check domainname/fr/index.html all seems fine, the 2nd website is there, but well i’d like to be able to administer it 😀
Thanks a lot for your help