Hello,
My SEO friend explained that your blog posts rank better when you remove the word 'blog' from your url. For instance if my blog post is:
http://mysite.com/blog/category-name/post-title
The post will have better SEO weight if the word 'blog' is removed to read:
http://mysite.com/category-name/post-title
That's because your category-name is now at the 2nd level rather than 3rd. And your post-title is now at 3rd level rather than 4th. Is there anyway to keep the word 'blog' for blog_list.html - but eliminate 'blog' from all posts?
Below is my current CouchCMS code. Hoping there is a way to alter it to work in this way.
Thank you!
Amber
-------------------------------------
#blog.php
RewriteRule ^blog$ "$0/" [R=301,L,QSA]
RewriteRule ^blog/$ blog.php [L,QSA]
RewriteRule ^blog/.*?([^\.\/]*)\.html$ blog.php?pname=$1 [L,QSA]
RewriteRule ^blog/([1-2]\d{3})/(?:(0[1-9]|1[0-2])/(?:(0[1-9]|1[0-9]|2[0-9]|3[0-1])/)?)?$ blog.php?d=$1$2$3 [L,QSA]
RewriteRule ^blog/[^\.]*?([^/\.]*)/$ blog.php?fname=$1 [L,QSA]
RewriteRule ^blog/[^\.]*?([^/\.]*)$ "$0/" [R=301,L,QSA]
My SEO friend explained that your blog posts rank better when you remove the word 'blog' from your url. For instance if my blog post is:
http://mysite.com/blog/category-name/post-title
The post will have better SEO weight if the word 'blog' is removed to read:
http://mysite.com/category-name/post-title
That's because your category-name is now at the 2nd level rather than 3rd. And your post-title is now at 3rd level rather than 4th. Is there anyway to keep the word 'blog' for blog_list.html - but eliminate 'blog' from all posts?
Below is my current CouchCMS code. Hoping there is a way to alter it to work in this way.
Thank you!
Amber
-------------------------------------
#blog.php
RewriteRule ^blog$ "$0/" [R=301,L,QSA]
RewriteRule ^blog/$ blog.php [L,QSA]
RewriteRule ^blog/.*?([^\.\/]*)\.html$ blog.php?pname=$1 [L,QSA]
RewriteRule ^blog/([1-2]\d{3})/(?:(0[1-9]|1[0-2])/(?:(0[1-9]|1[0-9]|2[0-9]|3[0-1])/)?)?$ blog.php?d=$1$2$3 [L,QSA]
RewriteRule ^blog/[^\.]*?([^/\.]*)/$ blog.php?fname=$1 [L,QSA]
RewriteRule ^blog/[^\.]*?([^/\.]*)$ "$0/" [R=301,L,QSA]