New on LowEndTalk? Please Register and read our Community Rules.
How to redirect thousand of links on website?
I was changing wordpress theme back then, and it restructure all my permalink, but there's a lot of plugins to make it easy. But now, I want to change wordpress to other cms, and there's no plugin supported.
Just want to know if there's any way to redirect thousand of links without wordpress plugin, and got feature to import via csv or other doc. Using litespeed webserver bcoz many people said it's the fastest
Comments
You can look into .htaccess and url redirecting based on regex
When I changed links, I have an PHP script as 404 handler.
nginx config: nginx-site
PHP script: p-redirect.php
Related article: yoursunny.com is in Git and Completely Rebuilt "Query Strings in Jekyll Site" section
Sed
Cloudflare workers. An exotic option but an effective one and you don't need to do anything on the server: https://brianli.com/how-to-bulk-redirect-urls-with-cloudflare-workers-and-workers-kv/
weird flex but ok