Wordpress with WooCommerce on AWS Beanstalk - wordpress

I've launched my wordpress site on beanstalk and everything works great, however every time I re-deploy the site using beanstalk I need to go the admin page in wordpress and deactivate and active the WooCommerce plugin in order for the WooCommerce pages to be visible again (otherwise I start getting 404s everytime I go to cart or any other WooCommerce page). I am using the StoreFront template with only CSS changes. I have installed the AWS Services and S3 plugin for uploads. I have using Aurora DB for my database so that never changes or goes away. What am I missing here? I've checked the DB and all the WooCommerce_*_page_id values are set. Any help here would be appreciated. Thanks!

solved it! WordPress was writing out it's .htaccess file... just so happens the main page wasn't affected by this and only the woocommerce pages where... added that to my zip... beanstalk deploy works like a charm now!

Related

Added new WordPress site on GCP with Marketplace. Publishing fails. Link cloaker fails

In Launching WordPress installation, in GCP, I cannot post with the error "publishing failed.". I tried both without updating and with updating to WP 5.4.1. I am having a hell of a time deploying WordPress in GCP. The permalinks don't work and I change the timezone, i am guessing or set the Site URL to vetsforweed.net and updated the A record at my Namecheap DNS to the external ip. sometimes the site locks up and I have to delete the vm instance and redploy. I have installed WordPress at least 10 times trying to get a working installation.
I switched to the classic Editor, I am able to publish. the post uses the permalinks setting of Post name: and it tells me the post link is : http://34.73.194.87/petition for a post titled "Petition" and I get a 404 Not found. I had done Settings...Permalinks to Post name:. I am so stuck!
What a nightmare! I cannot get anything to work with WordPress 5.4.1, no posts show up with a permalink. I cannot even click the date to see the post. It does show up in the list of Posts. Argg!
Is WordPress 5.4.1 known to be broken? What can I do to get a WordPress site up and running well? I appreciate you for your assistance.
I switched to loading WordPress Certified by Bitnami and Automattic and this worked, completely. So far. Now I have to import a WP export that is 136MB. Firs, I will deploy WordPress Certified by Bitnami and Automattic there.
Thanks for assistance.

How do I copy a woocommerce application from live server to localhost

I am new to WordPress. I have a WordPress woocommerce application, which I want to copy to local server.
But all the links still point to the same server. E.g. when I login it takes me to live website as the action target is sth like : www.example.com/wp-login.php.
How to change all links to point to local servers so that I can develop locally.
I have done the same with WP CLONE Plugin.
https://wordpress.org/plugins/wp-clone-by-wp-academy/
Try this.
WordPress has absolute links inside its database, i.e. http://yoursite.org. To make site functional on another domain or localserver you have to change all links inside database. Any manual manipulation with database may corrupt it.
The robust way to move your site is usage of Duplicator plugin.
Easiest way is to use WP All in One plugin, you export whole wordpress and woocommerce, and only thing you need to change when you set it to localhost are permalinks

WordPress website pages are redirecting to adult site pages

I have a website built on WordPress platform. Today, when I opened the website and when I clicked anywhere on the website, adult site pages are opening up continuously.
Can anyone please suggest what could be done to resolve the issue?
Your site is hacked by someone and some script injected in your WordPress installation or database which causing to load this video your website need to scan your website using plugin like SECURI You can get this on Securi.net
Here are some solutions that you can try(Remember to take a backup before using this)
Check and clean all your recently modified files
Contact your hosting provider if you are not using dedicated server.
If you have some inactive themes and plugins which you don't need more remove them.Hackers can hide script there.
-You can upload new word-press core files which you haven't customised.
Install fresh copy of themes and plugins if you not customised them.
Change your secret keys in your wp-config file.
Check users in your word-press and delete suspected ones.
Check permission of your installation directory .if not secure them make changes.
Change you WordPress password
If this all not works to solve problem let me i will look into it.

All admin and frontend pages are working except admin dashboard in wordpress

In wordpress, All admin and front end pages are working except admin dashboard is now working... i changed in htaccess. permalinks and checked in theme and plugin
On dashboard below error is coming
The yve.today page isn’t working
yve.today is currently unable to handle this request.
HTTP ERROR 500
Please help how to resolve this
I believe you have changed something either in your functions.php of theme or installed a new plugin so because of that you are seeing this error.
A 500 error means there is something wrong with a piece of code being executed, this would in your case (most likely) be caused by a plugin or your theme, the only way to test this is through deactivation.
I suggest to access your server via FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/WhatYourThemeName/, open functions.php and remove the code you added recently. or find it the recent plugin have installed recently and deactivate that to check.
I personally would recommend installing WordPress locally and testing any changes there before you do it on your live site.

WordPress images and pages broken after host migration

I have created a WordPress site (my first) but since moving the site to a new domain all the images and pages/posts are broken and return a 404 error. Ive ran search and replace but it doesn't seem to have worked.
www.phoenixworldwideent.com
Manual website migration is very difficult to do. So you can transfer your website in few minutes without any issues using duplicator plugin. you just need to installed the plugin and followed the installation wizard.
you can read or watch step by step video tutorial HOW TO CLONE WEBSITE TO NEW HOST USING WORDPRESS DUPLICATOR
Go to your dashboard, log in, go to settings.
Change the following:
Site Address
Wordpress Address
Save. That should work.
did you try save permalinks some times the problem happen because permalinks need update
other point if you can go to old site and use this plugin to move your site agin
https://wordpress.org/plugins/duplicator/
It turns out there were some issues with the httpd.conf file and httpaccess files. The permalinks and database details were correct. I got this outsourced in the end so not 100% sure what the issue was but I shall update this post with more info when I get it :)

Resources