Posts tagged ·

wordpress

·...

Redirect to my blog

no comments

This blog was created in the directory /blog/ so we needed to ad a little piece of code to redirect browsers to this blog.

So instead of going to http://pieter.blinkenshell.org/blog/ you can also browse to http://pieter.blinkenshell.org to get on this blog.

Edit (when your on blinkenshell):

/public_html/index.html

and add:

<html>
<head>
<meta HTTP-EQUIV=”REFRESH” content=”0; url=http://[YOUR.USERNAME].blinkenshell.org/blog/”>
</head>
<body>
</body>
</html>

Sure there are many other way’s to do this..

Disable comments in WordPress

no comments

Ofcourse you can disable the comments in the admin dashboard

Settings > Discussion >
[ ] Allow people to post comments on new articles

But on some themes it will still show up on your blog.

So I took a dive into my theme files:

/blog/wp-content/themes/[mytheme]

and took the comment text out of:

comments.php and index.php

Done