Hello, I hope everyone is doing well!

Quick help needed. I want to ensure my site is as SEO compliant as possible. This includes protection from double content bans due to having several URLs to one page EX: /node/1 and /myfolder/mypage

I heard that having a good htaccess file will ensure that my drupal installation is totally covered in SEO.

Can someone cut and paste me a good htaccess file with all the goodies?
Or tell me where I can get a good template?

Thanks a lot for all your help!

Comments

itowler’s picture

I am not sure about the htaccess file, but there are some good modules that you should be using such as:

Global Redirect
Path
xml sitemap

maybe Pathauto, depends on your setup

3cwebdev’s picture

Also, Drupal's .HTACCESS file in it's root installation folder contains commented instruction for making your site accessible by only www.yoursite.com or yoursite.com.

In other words, you can make your site accessible only by using www, and if someone trys to access your site without it then your HTACCESS file would redirect to the www site.

The could help SEO in that search engines may be splitting your ranking between what it thinks is two different sites. Also, Google webmaster tools has a setting to choose your preferred domain. If you're not setup yet with Google webmaster tools then you should check it out.

JackThompson’s picture

Thanks alot. I really appreciate the help!