I am actually building a custom theme for my blog and I use single quotes for HTML everywhere like:

<div class='div'></div>

Does this cause me redirection to index.php??

My site correctly redirects at 301, mod_rewrite is enabled and responses to links but open index.php. Is this because I used single quote??


No, it's not. Single quotes can't cause redirects.

  • 1
    Not even if they try, like really, really hard? – admcfajn Oct 18 '18 at 9:44

No, it is perfectly fine to use single quotation in HTML, and it has nothing to do with the problems you are experiencing.

Have you tried to refresh permalinks in the Dashboard? Check this out: Flushing Permalinks in WordPress.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.