Read more about web design Cork and drop us a message!

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$$1 [L,R=301]

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

RewriteCond %{HTTP_HOST} ^mydomain\.com$ [NC]
RewriteRule ^(.*)$$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

Back to Top

Random Web Design Testimonials

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