301 redirect not working Drupal 7

Fix for htaccess 301 redirects

Where you see the code:

<IfModule mod_rewrite.c>
RewriteEngine on

Directly after RewriteEngine on write your 301 redirects like:

RewriteRule ^oldpagepath$ http://www.newwebsite.com/newpagepath/$1 [L,R=301]

It’s also advisable before you insert your custom 301 rules, to redirect all traffic from .mydomain.com to www.mydomain.com and avoid duplicate content penalties from Google plus make social sharing/tracking etc better.

RewriteCond %{HTTP_HOST} ^mydomain\.com$ [NC]
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [L,R=301]

Why are rewrite rules important for SEO?

When Google and other search engines receive a 301 response from your server, they will update their records to point to the new address but they will also transfer any existing page rank for the old page directly onto the new one, so just make sure the new page is even more optimised and work on climbing up those rankings!

- Posted - Categories
Website Design Cork City - Online Marketing Cork

Web Design Testimonials

“Hilary is an experienced web designer who understands the most complex coding issues web designers can face. Very easy to work with and always meets her deadlines.”

Paul Feeney - printing.com

“Hilary is the most passionate, multi-talented web expert I know! She is totally committed to delivering the absolute best for her clients, and is a pleasure to work with and be around. Not only does Hilary deliver beautiful websites, they are also fully standards compliant, and use the most up-to-date technology. I would have no hesitation recommending Hilary and Proximo Web Design to anyone – and I often do!”

Lauren O'Donovan - Digital Strategist at Creative B'stro

“I worked with Hilary for a time and during that period I found her to be extremely helpful and articulate. Her work was of highest standard and I was also able to observe how she interacted with her clients. While providing a top class service she maintained friendly and helpful services with them, listened to what they wanted and made appropriate suggestions. Hilary also assisted me with my work and provides services to the local community at large. I have no hesitation in recommending Hilary for any work.”

Andrea Harte - Undergraduate at University of Limerick

“Hilary is quite an exceptional web designer and has a great eye for detail. After we gave her our concept from the outset she returned with an excellent offering. Superb designs, very efficient web design, best advice and we always got the feeling she was always looking after us. At every stage in dealing with her she has out done herself and truly is a gifted designer. Comes highly highly recommended by us and we have gotten huge praise from others we have referred to her. Keep up the excellent work Hilary.”

Owen Purcell - mybodyworks.ie

Hilary at her Company Proximo Design created a webpage for me at Gourmet Burger Bistro this year. I wanted to get it up and running quickly and I could not have been more satisfied with the speed and quality of her results.
Best of luck in the future Hilary and I look forward to continuing our business relationship.
Michael Condon
Gourmet Burger Bistro

Michael Condon Owner, Gourmet Burger Bistro

Contact us!

We would be delighted to hear from you.

Email

Send your project details to hello@proximowebdesign.ie and we will get in touch!

We help you with
Web Design. Online Marketing. SEO. Social Media. Content Creation.