How to change image save location in CKeditor Drupal 7? - drupal

I use ckeditor module for my project. In ckfinder folder > config.php,
the default image saved folder is ...
'baseUrl' => '/ckfinder/userfiles/',
My project folder path is...
MAMP > htdocs > drupal > sites > all > themes > bootstrap > images
When I upload the image, ckfinder image folder create the location in ...
MAMP > htdocs > ckfinder
So, the level of drupal theme folder and ckfinder folder is the same.. I don't want to be like this.
I want to create the htdocs folder inside the theme folder. (drupal > sites > all > themes > bootstrap > images > ckfinder folder).
How can I do this ? Please help me...

Related

“Critical error on your website” Wordpress File Shifted

My Problem is all the file and folder of wp-admin/wp-includes is shifted to wp-content folder automatically after certain period of time.
This is my website url : http://tech-webroyals.com/wp_v23_iqmass/
this is my cpanel view of wp-content folder where all wp-admin file relocated
Any help?

Can I unzip WordPress folder directly into htdocs folder?

Can I unzip WordPress folder directly into htdocs folder without creating WordPress folder in it?
To unzip wordpress.zip inside htdocs folder, one blank folder should be there.
So first create blank folder that unzip wordpress.zip inside that folder.
Thanks,
Yes you can, the wordpress files should be installed in the DocumentRoot for the website which I think in your case is the htdocs folder.
When you unzip it it will unzip with a wordpress folder, just move the contents of the folder up a level and remove the wordpress directory.
You just need to configure your wp-config.php file with the relevant access details for the database connection

How can I add CSS file in django

django 2.1
Im using django 2.1 and i cant find my css folder in django
Create new file and add .css after the name which is basically your file extension name.
Your css files must be in app > static > appname folder > css > filename
File hierarchy should be like this as django prefers.

Wordpress - allow files in site root to be accessed

I have a wordress site but I have a simple page which is not part of the wordpress project
http://sitetest.com/mypage.php
How can I make wordpress ignore this file and allow it to be shown
Just upload this php file to your /public_html directory and run as usually http://sitetest.com/mypage.php, it should work.
UPD. I checked and it works for me.
Just put the file in the site root folder. It will be accessible.
Example: if your site root is /var/www/html/ or public_html then put the file in html/public_html folder where others WordPress files & folders are like wp-content, wp-includes, wp-admin etc.

Unable to upload new theme to wordpress from dashboard

I installed wp to a server for the first time. The basic theme works and I can change the settings but I bought a new wordpress theme and was trying to upload it from the dashboard:
But it gives me an error each time:
These were suggestions I found online but didn't work:
So I tried to change the permissions of all of the folders to 755. And then I changed the permissions of the file update.php to 755 also but I still get the same error. I also tried editing the .htaccess of the folder 'AALimo' (folder which contains the wp dir) but that didn't work either. I'm not sure if I edited the .htaccess properly.
I just manually uploaded the theme into the theme directory using ftp instead of the theme uploader from dashboard and that worked.
I did it using C-Panel. I had to upload zip file in WordPress theme folder in public html. extract the zip file and you can install it easily .

Resources