I am trying to setup a "Couch Mode" (distraction free reading) on my WordPress blog as laid out in this article.
The guide in the article follows these steps:
- Create a new page in WordPress with slug
Add the following rewrite rule at the top of the .htaccess file:
RewriteRule ^read/([0-9]+)/?$ /read/?u=$1 [QSA,L]
Save this file as page-read.php
Add this link to to single.php of my theme using
<?php the_ID(); ?>
I did everything as per the article but when I click the "Read story without the clutter" link on my posts it throws an error:
The requested URL /read/761/ was not found on this server.
My local development wordpress installation is:
While the post where I am trying this Couch Mode is: