Uploading to a domain with WordPress extension - php

Hey guys am about to host a website and I think I may have a looming issue at hand I have been editing a website on WordPress online mywebsite.com/wp-login.php but have not publish it (still a blank domain) now few weeks after I decided to start the project all over again using MVC php now I want to know if I can still upload my site to mywebsite.com without having any issue?

You may want to move all your custom php files to a sub directory and put the wordpress site's files on the root directory. That will be safe I guess.

Related

Joomla upload zip and run in plesk

I try to host a site in plesk created with joomla.
I have installed joomla from Applications -> Joomla Install.
I can log in to the backend interface and see the general by default joomla template.
However in plesk in Files -> httpdocs where the site exist I have upload my joomla work from my local disk and extract it and their are all my files.
What should I do to configuration.php file in order to make the public url to see the results from the content I uploaded, or in other files?
I mean I have a zip file with the joomla content. I uploaded to http docs and extracted but in the public url I receive error. Why this is happening?
I noticed that index.php was overwriten when I openned the joomla from the application and after that I can't understand what changed.
Joomla consists of files and a database.
One of the easiest ways to transfer a website is to use the free or paid version of Akeeba Backup which backs up the files and the database into one file. You can then use the free Akeeba Kickstart utility to restore the files and the database on the target location.
I don't have rep points to comment, which is why this is posted as an answer. Sorry!
Can you give a little more information? You installed Joomla from the Plesk panel, so you should have all of the Joomla code files and directory structure. What is the "joomla work" you want to upload -- a complete site like Neil's answer I think assumed? Graphics files? Text documents? If it's artwork or the like, it would go in your "media" folder under the Joomla document root (httpdocs I would guess), and be accessible through the media manager.

How to access php project from localhost (Apache)

I know this question may first appear to be a duplicate of others, but I'm asking this because I have WordPress installed in my /var/www/html directory. I was learning WordPress a couple of years ago before creating a website and never used it again.
Well, I'm creating a php project using PhpStorm and testing in my browser. I'm following a tutorial so I can configure my databse (phpmyadmin), and the instructor keeps going to his localhost, which displays the directory structure as seen here:
Since I have WordPress on my localhost, navigating to that takes me to my WordPress installation, which is not what I want to access.
I would rather ask this question on here before I potentially break my Apache configuration, so how can I access this project? Do I need to remove WordPress completely? It would be nice to keep it for future testing since I'm slowly getting into making plugins.
What are your suggestions? I can't really say much as far as "what have you tried?" since I don't know where to begin.
Running in Chrome within my PhpStorm IDE takes me to localhost:63342/projectName/respectivePhpFileName.php, but I can't access it outside of the IDE yet.
Any help would be appreciated.
Just move your Wordpress outside your htdocs folder...I think he is using something like XAMPP so in that way is very easy to do it, because the folder without an index will be detected as a directory not a Wordpress URL (correct me if I'm wrong). So if that doesn't works, just go to your htdocs (/var/www/html or opt/lampp/htdocs in Linux) directory (or where your wordpress is stored) and move it to other folder (like My documents) where you can backup it, and that's it, you can create that folder and keep following that tutorial.

Is the Wordpress /wp-admin folder generic?

Can you replace the /wp-admin directory of a Wordpress installation with another one without issues?
This question is very open, but my current context is that I'm transferring a Wordpress site from one server to another. I've just come to download the site via FTP, and the /wp-admin folder has disappeared. (I probably did something wrong, but I did not knowingly delete the folder). I have a development version of the site, and am wondering if it will cause problems to just use the /wp-admin from that.
Has anyone come up against a similar thing before, and does anybody know if this folder is generic?
You need to replace the folder with one of the same version. See http://codex.wordpress.org/WordPress_Versions
There are, of course, updates and bug fixes along the way in many, but not all, versions, and a copy of wp-admin of a version not the same as the rest of the install will break things.
Check the file version.php in wp-includes to find the version of your WordPress install. ( version.php is not in wp-admin). And file modification dates are not a reliable way to check versions.)
See https://wordpress.org/download/release-archive/ for all versions.
As long as no modifications to the core of WordPress have been done, you should be fine, but make sure that the wp-admin folder you're uploading belongs to the same WordPress version your website is running. You should face no issues at all.
Firstly, if you did have a Dreamweaver then try to search a word 'wp-admin' in Entire Website Folder in the search's Dreamweaver option.
Secondly, change all text that contain a word 'wp-admin'.
Third, change the folder's name.
Then test your wordpress, if there are errors so try to solve it or post a comment.

CodeIgniter and normal website

I have a web hosting which hold a website I run.
I'm learning CodeIgniter so I would like to upload it a file in that web hosting and run some test and learn, CodeIgniter just for test, and keep using the website normally for users.
Is there any related or known issues or problem by running both ? I don't want the website to get frozen or act weird wit this.
Install codeigniter in it's own folder in a subdirectory instead of in the web root directory.
You will have to modify your config:
Installing a CodeIgniter application in a subfolder
Create a New Folder for your CodeIgniter Learning and Upload all CI files there including System folder and other.
If you Upload the the files with current website files folder it may create some issue.

How to restore a Wordpress into which another web app was installed

So I created a database in cPanel to install SMF into for my WordPress website, but I accidentally made my home URL the place to host the forums. It overwrote my entire website. I can't access any of the pages anymore without it redirecting me to my SMF forum. I deleted the database that the forum was connected to and it's just giving me an error now if I try to go to my website. Is there anyone that can point me in the right direction here?
I guess you'd have to try and restore the files on the top level, most importantly index.php and .htaccess.
When that is done, you'll have to hope that SMF didn't overwrite any important Wordpress directories. If it didn't, your install should work again.
index.php and any other files in the top directory you should be able to copy from a raw Wordpress install.
The only exception is the .htaccess file which contains the routes for pretty URLs (if you use those - if you don't, skip this paragraph). This file has been generated specially for your install. To re-create it, you should be able to access your wp-admin directory already, and update the permalink structure.

Categories