最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

theme development - I used single quote to design HTML of my WordPress blog. Now site redirects to index.php everytime than page

matteradmin9PV0评论

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??

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??

Share Improve this question edited Oct 18, 2018 at 9:34 Jacob Peattie 44.3k10 gold badges50 silver badges64 bronze badges asked Oct 18, 2018 at 7:13 Rishabh JhaRishabh Jha 11 bronze badge 0
Add a comment  | 

2 Answers 2

Reset to default 1

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

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.

Post a comment

comment list (0)

  1. No comments so far