SEO Services
Home >> Webmaster Forums >> Quinny you have a dead link in blogroll

Quinny you have a dead link in blogroll


chris3471 said: "The FunGuide blog Here's the correct link [url]http://www.cleveland-ohio-funguide.com/cleveland-weblog[/url]"

quinny said: "not no more.... all fixed now"

chris3471 said: "Good job. :D"

Darren said: "Chris, bloggeries.com needs a 301 for the non-www to the www."

chris3471 said: "You'll have to explain that in novice for me I haven't a clue what you just said."

Darren said: "Currently your server is serving up two versions of the same site, which ends up causing problems, depending on how people link to you. Right now [url]www.bloggeries.com/blog[/url] and bloggeries.com/blog will point to the same content, and appear duplicated. Certain malicious competitors will use this to link to you in a potentially negative way. The solution is to redirect all of the traffic from the non-www to the www. so no one can link incorrectly because they're all re-written to a standard page. What you need: Mod-Rewrite and .htaccess In .htaccess add the following [code] RewriteEngine On RewriteCond %{HTTP_HOST} ^bloggeries\.com RewriteRule (.*) http://www.bloggeries.com/$1 [R=301,L] [/code] Make sure you have a backup of .htaccess in case it doesn't work."

chris3471 said: "I'm on it, thanks."

Darren said: "Here's how you'll know it works: when you type bloggeries.com into your browser, you'll see it change to [url]www.bloggeries.com[/url] permanently."

chris3471 said: "I think I got it, I was supposed to do that to the main site .htaccess not the one for the blog right?"

Darren said: "Yep! Appears to be working to me. Great work. That will help avoid a ton of headaches down the road."

chris3471 said: "Thanks for the help."

chris3471 said: "Nope it's not right yet, it only is changing the blog home page, as soon as I click a link it changes back, is that an allowoverride thing?"

Darren said: "You can change it to www. in the Options in the Control panel. I'm not sure why it's not working in that sub-directory."

chris3471 said: "I haven't a clue how, I'm new to cpanel."

Darren said: "I mean in the Wordpress Control Panel."

chris3471 said: "Oh good, that I know how to use. :D *edit* That did the trick. :D"

Darren said: "I'll see if I can figure out why the rewrite isn't working in there. Maybe just add the same lines I had you add to the main .htaccess to the one in that directory also."

chris3471 said: "Tried that, didn't work. The url in there was [url]http://bloggeries.com[/url] so maybe that was the problem."

Darren said: "That fixes the problem temporarily. But if some dumbass gets it in his head to link without the www, there would be a problem. Check the error log of the website and there should be an error message."