I am working on a subdirectory to develop my site (www.site/wp) and getting errors as the ADD VIDEO button and PLAYLIST titles point at the main directory (www.site)
How can I solve this problem?
If you have installed separate wordpress and video gallery in your sub directory, please make sure that you have entered “Site Address (URL)” as http://www.site/wp in the following path WP Admin -> Settings -> General. If you have entered correctly, then please find the code
get_bloginfo('url')in all the files of Contus Video Gallery and replace with
If you are still facing the same issue, please contact our supporting system at apptha.com.
Love the possibilities of this plugin, but have this issue.
I want to use it on my personal site and also have a client who wishes to purchase this for use on his sites.
When you say “in all the files…”
can you help me by listing which files need to be fixed?
Or is there any other way to do this?
Sub directory installs are common…i must imagine there is a solution for this?
I addressed the issue several times to the developpers. Their answer: This is a WordPress issue… But as you wrote it’s a common installation (and part of the Codex too).
I wrote an explanation how the plugin can be installed in a subdirectory in German at
If you do not understand some parts, please ask me.
These are the files you need to modify.
\wp-content\plugins\contus-video-gallery\ContusFeatureVideos.php \wp-content\plugins\contus-video-gallery\ContusPopularVideos.php \wp-content\plugins\contus-video-gallery\ContusRecentVideos.php \wp-content\plugins\contus-video-gallery\ContusRelatedVideos.php \wp-content\plugins\contus-video-gallery\ContusVideoCategory.php \wp-content\plugins\contus-video-gallery\ContusVideoSearch.php \wp-content\plugins\contus-video-gallery\admin\models\video.php \wp-content\plugins\contus-video-gallery\admin\views\playlist\addplaylist.php \wp-content\plugins\contus-video-gallery\admin\views\playlist\playlist.php \wp-content\plugins\contus-video-gallery\admin\views\video\video.php \wp-content\plugins\contus-video-gallery\admin\views\videoads\addvideoads.php \wp-content\plugins\contus-video-gallery\admin\views\videoads\videoads.php \wp-content\plugins\contus-video-gallery\front\views\videohome.php \wp-content\plugins\contus-video-gallery\front\views\videomore.php \wp-content\plugins\contus-video-gallery\front\views\videoshortcode.php
If you have any other queries feel free to contact us.
Thank you so much for listing all of those files!!! I went ahead and found/replaced the above terms for each of those pages and uploaded the files again via FTP.
Everything seems to be working great. Love the plugin and the new element this provides to a website.
The only file that you listed that I did not find in the recently downloaded plugin files was:
Quick question, if we buy a license, can we use on multiple websites or just per website?
Thank you. And thank you so much for the help.
For your kind information, as per our company norms our plugin is valid for single domain. If you want to use our plugin in the subdomain or sub directory then you can very well use the same license for the domain which you have. Suppose if you want to use our plugin for the multiple domains then you need to purchase the license for the each domains. Also please note that we have the developer license key, you can use it for multiple domains once you purchase . If you are interested, please contact our business development team at firstname.lastname@example.org, so that they will help you on your request.
Thank you. I have emailed the address you provided for more information regarding that key.
Thank you for all of your help,
Thank you for contact us. Please share the name or ticket no. So that I can check with high priority and update the status ASAP.
The person responded quickly. We are discussion regarding the purchasing of this key. I wanted to clear some problems with the plugin before I advise my client to purchase this for his sites.
We have updated the fix for the thread http://wordpress.org/support/topic/how-to-access-original-video-filesvideo-files-in-general?replies=3 and “subdirectory” issues in live package. So you can get the updated package in http://wordpress.org/plugins/contus-video-gallery/.
That’s great to know.
So far, and just now, I believe I have the plugin working right, except for a couple of redirects for the author and category links to make it work with the subdirectory install (everyhing else redirects well with the site(url) fix you had recommend in another post where you listed the files that needed changing).
I suppose the update will also come via the WordPress admin?
I will download my current plugin files because they are good as is, and will also be glad to test the changes to make sure they work well.
Thank you for the update,
Err, i meant in this post. This is the post where you listed those changes.
Thank you for your update. If you have any other queries feel free to contact us.
The person I have communicated with regarding dev. key is
Arun@apptha.com. There doesn’t seem to be a ticket #.
- The topic ‘Error due to installation of WP in subdirectory’ is closed to new replies.