If anyone is using WordPress to blog you might wonder how do rewrite your urls from http://www.domain.com/blog?p=73 to http://www.domain.com/blog/post-name? We have the answer.
It includes mod rewriting and permalinks. Under the “Options” in the wordpress admin area, there is a tab called Permalinks. Under custom structure I used this “/index.php/archive/%postname%/”. And then make the change to your .htaccess file with the rewrites. It will look something like this
“RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ – [S=34]
RewriteRule ^feed/(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?&feed=$1 [QSA,L]
RewriteRule ^(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?&feed=$1 [QSA,L]
RewriteRule ^page/?([0-9]{1,})/?$ /blog/index.php?&paged=$1 [QSA,L]
RewriteRule ^comments/feed/(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?&feed=$1&withcomments=1 [QSA,L]
RewriteRule ^comments/(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?&feed=$1&withcomments=1 [QSA,L]
RewriteRule ^comments/page/?([0-9]{1,})/?$ /blog/index.php?&paged=$1 [QSA,L]”
A good resource if you have any questions regarding rewriting urls is modrewrite.com
This will help in your search engine ranking because the spiders will be able to read those urls. They have a hard time reading anything with a question mark in the url.
Also are you receiving numerous amounts of SPAM in your comments? What can you do? There is a anti-spam image plugin that helps tremendously. It cut our spam from about 300-400 to about 15-20. Here is a link to the plugin. Very easy to install.
