Hello everyone, I hope you’re doing well.
I’m reaching out to ask for some assistance with deploying my WordPress website using Bitbucket. I’ve been trying to deploy it within an existing project there that’s already live. I created a "wp" folder in the project and pushed my entire WordPress site there.
However, when I try to access the site via "website/wp", the WordPress site doesn’t appear, and I’m met with the error message below.
Could anyone advise if I might be missing some configuration steps? Or should the WordPress site ideally be deployed in a separate repository? Any guidance would be greatly appreciated! Thank you in advance.
It seems like you're encountering an issue with deploying your WordPress site like superpowergenerator.com in a subfolder within an existing project. First, ensure that your WordPress installation's wp-config.php file is properly configured for the subfolder setup. You might need to update the WP_SITEURL and WP_HOME values to reflect the correct URL path, like so:
php
Copy code
define('WP_SITEURL', 'http://yourdomain.com/wp');
define('WP_HOME', 'http://yourdomain.com/wp');
Additionally, if you're using Apache, verify that your .htaccess file in the /wp directory is correctly set up to handle the subfolder. It should look something like this:
txt
Copy code
RewriteEngine On
RewriteBase /wp/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wp/index.php [L]
Thank you for your response , and I apologize for the delay . I did not get any notification about your comment . Anyways I will try it , thanks again !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.