Right - I posted something like this a long time ago, but my client has come back with some info they want for 2024 for a new website design.
They currently have a website built in Wordpress and lots of products for people to view in a database which are all in Woo Commerce and using Oxygen. There are around 3,000 plus items which will need to be on there.
Now they love this part of their website but want everything else changed.
I want to build them a website purely in Blocs - but they want their page in Wordpress to stay exactly the same in Woo Commerce - what would the best way to do this, by mixing the two, so no conflict.
If it was me, I would use a static website for all of the content that is not part of products and woo commerce and then in a sub domain (my-website/store/) place the store which is powered separately by WordPress.
They have their website hosted by another company and want to keep the hosting the same - so I would need to get them to move the store only to a sub domain and give me the link and I then just build the whole site - they will just maintain that sub domain.
So I guess I will get the FTP logins from them for the domain and I am good to go.
One factor you will need to consider with this method is SEO, all product URLs will obviously change, this may be a deal breaker for your client.
If that’s the case, you may be able to come up with some htaccess trickery which @brechtryckaert may be able to help with .
The alternative would be to build a custom WordPress theme with Blocs to replace the current one, however, this is a bigger job, with more learning and many potential pitfalls (since the current setup is a WP page builder, which store all style data in the wordpress database ).
However… (there’s always a but) an .htaccess file will only be performant when kept under 300 to 500 lines. With over 3000 products, that would be too much (and a huge task) to manually enter each redirect.
Is the current site using a specific structure in the product urls? For example domain.extention/product/name ? Because then you could do a sort of wildcard redirect based on the /product part:
RewriteRule ^/?product/(.\*)$ /store/$1 [R,L]
The above example would take any /product/ url and redirect it to a /store/ variant.
Could you dm me the exact domain of the site? I’ll run a test on the site (basically generate a gtmetrix.com report) which would allow me to see what would be best used to optimize the sites’ performance.