I have created an application on Openshift adding a Wordpress cartridge which I have also installed my plugins and themes.
That is all right, but now I would like to add some custom application to my domain. I have already uploaded my custom application with "git push" to my Openshift application.
Now I realised that my default Wordpress cartridge is located in app-root/repo/php/ and my custom application is in app-deployments/current/repo/php/.
When I access my website through my browser I access my Wordpress website which is located in app-root/repo/php/ but I would to know how to also access my custom application which is in app-deployments/current/repo/php.
So when user access http://app-name-domain.rhcloud.com/ the server brings the wordpress website and when user access http://app-name-domain.rhcloud.com/my-custom-application, the server should bring him my custom application.
If you want to add another application to the same gear as your wordpress blog, then you should do a custom wordpress installation instead of using the wordpress openshift quickstart. That quickstart does some trickery in the background to download wordpress, install it, and do some symlinks to run it. You would be best off setting everything up custom in your php directory in your git repo and running it yourself the way you are describing how you want it to run.
Related
I am new to wordpress and loged in to my cPanel account and getting the message.
After research I found that I have to upgrade to wordpress toolkit.
But, Wordpress toolkit is not showing anywhere on cPanel. I would login to Wordpress admin dashboard.
thelearningcenter.pk/wp-login.php
Any idea how to do that. I also change the wordpress admin password but still not able to login. Or my hosting company in charge to upgrade? Or I have to find myself?
Any suggestion or recommendation or step by step reference doc/links from you will be appreciated.
First, take a full backup on your hosting. Re-download Wordpress after backup. After accessing your server with FTP, upload the existing wp.config.php and wp-content directory into the newly downloaded wordpress. In this way, you can reload the core modules of Wordpress without damaging the content of your website.
Use the instant full backup you have to go back in case of any problem.
I hope it solves your problem.
From here we can read:
Though still available as an option, the WordPress Manager interface
is deprecated. Customers can now use WordPress Toolkit to install and
manage WordPress. The WordPress Manager interface (cPanel >> Home >>
Applications >> WordPress Manager) allows you to install and manage
new or existing WordPress® sites within your cPanel interface.
In the order, I would:
check if you can install the WordPress Toolkit from the WHM Marketplace
if you have SSH access, install it using the manual way
If it's not installed, and you cannot install it, because no Marketplace or manual installation is possible: contact your host.
If you installed yourself Cpanel on your server, then you should have required access to upgrade it or its dependencies.
I am getting redirected to my website homepage when I login to the admin area in Wordpress or I get an error message saying 'Sorry, you are not allowed to access this page'
I just migrated my website from one host provider to another using the All in One WP migration plugin. I was able to access the admin area but once the backup, I am either being redirected to my homepage or getting the above error when I try to login. I have already tried to create a new user with admin privileges, modified the wp-config and htaccess files and even updating and changing the prefixes of the database. I have also tried disabling the plugin and theme files and none of them seem to work.
I just want to be able to login to the admin area of my WordPress site.
In such cases the steps I follow to resolve this case are:
Set .htaccess with only the default WordPress redirect rules, which you can check here.
Set the default TwentyNineteen theme as active. Since you do not have access to your admin dashboard you can perform this change by altering the "template" and "stylesheet" rows in your application database which both are located in the "_options" table.
The other option is via SSH. From the WordPress root directory you can execute the following command, which will change the currently active theme to TwentyNineteen:
wp theme activate twentynineteen
NOTE: No matter which option you choose the TwentyNineteen theme should be installed. If you have other WordPress default theme installed rather than TwentyNineteen, you can switch to it.
Deactivate all of the plugins. This can also be performed in two ways without access to the admin dashboard. The first option is to rename the wp-content/plugins folder to:
wp-content/plugins-backup
The other option is once again via the WP CLI tool with the next command:
wp plugin deactivate --all
Another NOTE: In order to use the WP CLI tool, please note that the same should be installed on the server. If you write the command and the terminal respond is:
-bash: wp: command not found
Or something similar ending with "command not found" this means that the tool in question is not installed. In this case you will be unable to use the WP CLI tool or you can ask your hosting provider to install this tool for you.
In my experience with this issue, after all of these changes are performed the access to the admin dashboard is restored. If the issue still persist even after the changes are applied, I would recommend you to contact your current host provider in order to understand if they have any custom Web Application Firewall (WAF) rules, default plugins/optimizations that could cause such issue.
We have a domain hosted in godaddy. The web-site works fine without any issues.
Now we would like to use wordpress and wordpress themes and plugin to build the web-site
How do install or deploy wordpress in godaddy?
Thanks.
In godaddy, there is an option for one click install wordpress.
Or
If you want to install wordpress manually follow the below steps :
Download and unzip the WordPress package if you haven't already.
Create a database for WordPress on your web server, as well as a MySQL (or MariaDB) user who has all privileges for accessing and modifying it.
(Optional) Find and rename wp-config-sample.php to wp-config.php, then edit the file (see Editing wp-config.php) and add your database information.
Upload the WordPress files to the desired location on your web server:
Run the WordPress installation script by accessing the URL in a web browser. This should be the URL where you uploaded the WordPress files.
For more details see this link click here
I applied for a role and part of the application process requires me to build a WordPress site and make it live on a existing domain I own. This will assist the hiring company (example "WebCompany") to view and assess.
I have created the WordPress site locally and want to upload to my domain (e.g. www.mydomain.com.au) with a url extension like www.mydomain.com.au/webcompany.
Would it be as simple as just FTP the WordPress site to the root directory? Or do I need to set things up differently for it to work?
I recommend to install wordpress on your url with the same version, and use this plugin, I use it and helps even if you have info in your database, and your themes, all the stuff,
and then you have to active the plugins on the web, choose permalinks options.
WORDPRESS ALL-IN ONE PLUGIN
for the extension / what you mean really? you want wordpress on a /namefolder
because you can install wordpress in a folder and there's your extension, but if you have already wordpress installed on the public_html/ you can use multisite wordpress options.
Here is the info and I did it with this:
MultiSite Wordpress
I have a wordpress site with database. I need to migrate that site to windows azure. How to proceed with that. I don't want to create a new wordpress site. I need to migrate the existing site to azure
I have migrated the wordpress website from different server to Azure Web App using the plugin and it is easy and working for me.
Download the plugin WP Clone on your existing Wordpress site and, activate it and create a backup. You will get a url which you need to copy.
Second, you need to Create a new Wordpress site in an Azure Web App. Again, download the plugin WP Clone on your Azure Wordpress site and activate the plugin. Select restore the and paste the url link which you copied from your another Wordpress website.
Here are the general steps:
Create a new Wordpress site in an Azure Web App from the marketplace.
Transfer your content from the existing Wordpress site. This will involve using both FTP to transfer files and also doing a database backup and restore.
Setup your custom domain name in Azure when you're ready.
There are details in this series: http://www.davebost.com/2013/07/11/moving-a-wordpress-blog-to-windows-azure-part-4-pretty-permalinks-and-url-rewrite-rules
If you are moving from a Linux VM you can use this tool that I wrote:
https://github.com/Azure/Azure-Apache-Migration-Tool
If you are moving from a Windows VM you can use this tool that I wrote:
www.movmetothecloud.net