Issue when I deploy my wordpress website on GAE - wordpress

I followed all the steps to deploy my wordpress website on GAE (Running WordPress in App Engine)
When I am entering my address:wp-dot-YOUR_PROJECT_ID.appspot.com
I am automatically redirected to: wp-dot-YOUR_PROJECT_ID.appspot.com/admin/configure.jsp
Which is definitely not my website. And if I change the path, I have an error 404.
Have you already faced this issue?
thank you

I notice that you refer to you site as wp-dot-YOUR_PROJECT_ID.appspot.com when it should actually be YOUR_PROJECT_ID.appspot.com.
On first uploading, navigating to YOUR_PROJECT_ID.appspot.com should redirect to YOUR_PROJECT_ID.appspot.com/wp-admin/install.php of this doesn't happen automatically try navigating to the install.php page.

Related

Redirection Error When Accessing the wp-admin Page on a WordPress Site Hosted on GCP App Engine

I have a problem with my WordPress site hosted on GCP App Engine. When I try to access the wp-admin page, I first receive a 302 followed by a 301 that redirects me to the homepage.
I have already tried to deactivate my theme and all the plugins from the database, but that has not changed anything. I also added var_dumps to index.php in the wp-admin folder, but none of them are executed because the redirection happens before.
I also deleted my .htaccess file to make sure the redirection is not coming from there. Could you give me some leads to solve this problem? Thank you in advance.

How to fix WordPress admin login redirect to non-existent Multisite installation?

Recently I moved a WordPress Multisite to a single installation with the Duplicator Pro plugin. Everything worked great and the site has been running as a single site for more than a month without problems.
When going to "example.com/wp-admin" I get redirected to "example.com/wp/?redirect_to=https%3A%2F%2Fexample.com%2Fwp-admin%2F&reauth=1/wp-admin/setup-config.php" and it gives an error stating there is no wp-config file found.
Now when I try to log in on "example.com/wp-login.php" I get redirected to "example.com/wp/wp-login.php?redirect_to=https%3A%2F%2Fexample.com%2Fwp-admin%2F&reauth=1" and it prompts the WordPress install.
It seems like it adds '/wp/' to the url which could be from the Multisite installation. I can also see a folder in the WordPress installation named 'wp', when changing this to 'wp_OLD' for example it justs redirects to a 404 page after logging in.
I have to add that the frontend of the site still works perfectly fine, it's just the logging in that's not working.
This problem just appeared randomly as there have been no changes to the website in the last couple weeks. Trying it in different browsers and with cleared cookies didn't help.
How can I stop the admin login from wanting to redirect to the /wp/ folder?

Cloning wordpress live site to localhost (mamp) - redirect to live site

I am new in this and I am struggling with cloning a WordPress live site to localhost for development. After reading many different tutorials, I finally succeeded to clone the live site to localhost (http://localhost:8888) but when I try to login into the WordPress admin area at first it did not open at all but after trying a few times it opened but redirected to the live site.
I changed the URLs in phpmyAdmin but I always have the message "0 rows affected". I changed the URL in wp_config.php.
define('WP_HOME','http://localhost:8888');
define('WP_SITEURL','http://localhost:8888');
After this in phpMyAdmin inside my database --> wp_options I changed the site URL and home with the new localhost URL http://localhost:8888.
Nothing of these is working. What am I missing?
I recommend to make a clone by some plugin (f.e. Duplicator). It will makes for you all of the stuff like changing the url in DB, and if is anywhere a problem it gives you error report.
You can install Duplicator, make a full copy of you website (just clicking next...next), after that download it to your PC (or devie where is localhost). After that, run the downloaded php file and complete the DB login. After that, if you have correct DB with correct login credentials you should have running website copy on localhost.
More details you could find in this video: https://youtu.be/NLYyecIXOU0

I get 404 for all pages in local wordpress installation except admin

I have local version of wordpress, installed via windows web installer,
so I have IIS Express 8 and Webmatrix 3. After some modification of website (no idea what caused), I have all pages with 404 error. Except home page, I have 403.14 – Forbidden and it tries to open index.php in \My Web Sites\Wordpress folder, so, basically it is 404 as well. I can connect to login, admin page. I basically tried out everything I had found on first two pages of google, so I came here for advice. Is there any way to fix it?
Many thanks in advance!
...
I accidentally deleted index.php from root. Got new from clean install. Works.

Wordpress clone on Dreamhost

So I created a new subdomain on Dreamhost. One-click installed Wordpress. Fresh Copied the olddomain.com to newdomain.com exported all the tables with the drop attribute to the new wordpress database via phpmyadmin. Then followed this post to update the urls.
The site doesn't load, giving me this error message:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies.
I would make sure to check the 'www' rules in Fully Hosted (from the web panel: Manage Domains > Web Hosting > Edit), compared with your site URL settings in the WordPress dashboard. Make sure those aren't conflicting first.
If you need further assistance, just let me know the domain name and I can take a look. Please also feel free to start a LiveChat from the panel or submit a ticket; our support team is here to help 24/7!
Thanks!
Ellice S
DreamHost Staff
I finally ended up creating an empty site and then using the WP Duplicator plugin. Worked like a charm!

Resources