Multiple sub-directories pointing at same file

Hello,

I have a webpage: www.domain.com/Xyz. I need /xyz and /XYZ to find the same file. Do I duplicate the original /Xyz folder and rename them to /xyz and /XYZ?

Content in the sub-directories will be duplicated which isn’t great for search engines. That also means when I update the file in the /Xyz sub-directory, I’ll have to update other folders as well.

Is there a way that I can configure the server where it ignores capitalization and uses just the characters of the sub-directory? Any other ideas?

You can handle this through .htaccess file using RewriteCond and RewriteRule

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.