I've got an existing website, that's been up for over 10 years, and it has 1000's of pages. Can I swap out my current index.php and still have the rest of my site run correctly?
I'd like to run this as the main index page, not as a subdirectory, but I'm worried about trying to implement the .htaccess in this format: /123/why-do-birds-sing (requires htaccess file)
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
</IfModule>
If I do this, will the .htaccess file try to rewrite my old urls?