I have read and tried these previous questions on Stack Overflow networks, these solutions doesn't solved my confusion. So I am asking the same question again.
The questions that I've researched and doesn't solve my problem
Question 1
Question 2
Question 3
Question 4
Question 5
Question 6
I'm just trying to install WordPress on OpenShift by custom way than the one click install. I've cloned my openshift git repo on my desktop. Extracted, added and pushed wordpress.tar.gz to the repo and installed correctly so that i could login to the admin site.
my repo files look this way,
deena@home:~/Desktop/wordpress$ ls -al
total 76
drwxrwxr-x 7 deena deena 4096 Feb 4 23:20 .
drwxr-xr-x 13 deena deena 4096 Feb 6 22:11 ..
drwxrwxr-x 8 deena deena 4096 Feb 4 23:20 .git
-rw-rw-r-- 1 deena deena 9 Feb 4 16:41 .gitignore
drwxrwxr-x 2 deena deena 4096 Feb 4 16:41 libs
drwxrwxr-x 2 deena deena 4096 Feb 4 16:41 misc
drwxrwxr-x 9 deena deena 4096 Feb 4 16:41 .openshift
drwxrwxr-x 2 deena deena 4096 Feb 4 16:41 php
-rw-rw-r-- 1 deena deena 2130 Feb 4 16:41 README
I want to put the .htaccess file on this repo so that wordpress can use this in some RW mode. Where can I place the htaccess?
one man said on the listed question to place it on the config directory then action_hook to use it on the base directory, where's the config directory? should I do any hard work to make it work? (I don't know whats action_hook honestly) some questions were answered to place it on the base dir, that's the listed dir, some other said to place it in the app directory, the wordpress directory seen here. I tried placing in the base as well as the app directory nothing happens other than the wordpress is reinstalled the next time I point my browser to the app URL.
So making the question clear again, in layman terms, where to place the htaccess file to make it accessible for WordPress?
thanks.
peace