@zion
To ignore apostrophes in URLs using .htaccess, you can use the following code:
1 2 3 |
RewriteEngine On RewriteCond %{REQUEST_URI} ^/([^']*'[^']*)$ RewriteRule ^(.*)$ /%1 [L] |
Explanation:
This code will remove the apostrophe from the URL and redirect to the modified URL, effectively ignoring the apostrophe.
Note that the .htaccess file needs to be placed in the root directory of your website. Additionally, ensure that the mod_rewrite module is enabled for Apache.