SEOMOZ found basically all my articles and says they need a 301 redirect ?
-
Hope someone can HELP. So my site looks like it has the proper 301 redirect to www. for the main domain. But for some reason my articles that have a /trackback on them redirect to same address with out the trackback at the end. How do i fix this? seomoz is saying all my articles need a 301 redirect .all like 100.
Thanks any help would be great
-
You need to use regular expressions in your .htaccess file to create a blanket rule that redirects all pages on your site. Here is an example:
<ifmodule mod_rewrite.c="">RewriteEngine on
# Redirect non-www to www
RewriteCond %{HTTP_HOST} !^www.mydomain.com [NC]
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]
# Redirect index.html to the root
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html
RewriteRule ^index.html$ http://www.mydomain.com/ [R=301,L]</ifmodule>If you're using a separate CMS for your blog (and maybe even if you're not) you will want to make sure the .htaccess file for that is properly set as well. Look for this file in your blog folder and if one exists adapt the code above to include your blog folders URL.
-
Thank you. i was reading about that but wasn't sure that wold fix all of the articles.I also just found my rss feed not working Not sure if that has anything to with it . why does it only say i need 301 on my articles not any other pages on site?
-
Hmm good question! This is the crawl report you're referring to, or something else?
-
Yes crawl report ,would i have to redirect each article url?
-
If you're talking about the column in the report "301 (permanent redirect)", its telling you whether the page returns a 301 status or not. It is not giving you a recommendation about whether or not to 301 the page.