July 8, 201214 yr How easy is it to implement mod_rewrite? I need to rewrite some URLs to retain the current URLs of a site I am rebuilding, so it's important I don't compromise the good SEO. Does anyone know any good tutorials on how to do this? Thanks. Rich
July 8, 201214 yr Easy enough - couple of lines in your .htaccess if it's enabled. Is there a pattern to the new and old URLs?
July 8, 201214 yr A pattern would be: www.yourwebsite.com/blog/135/this-is-an-article-title www.yourwebsite.com/blog/136/this-is-another-article-title
July 8, 201214 yr Author Not really, the old URL are a mess, but I have to keep them to retain his good SEO.
July 8, 201214 yr Author I have it working now, but they don't redirect... http://www.futureproofdesign.org/biography'>http://www.futureproofdesign.org/biography I've applied 301 redirects, this is my .htaccess content: RewriteEngine on RewriteRule ^otherbits/ba-hons$ bahons.htm [NC,L] RewriteRule ^biography$ biography.htm [NC,L] RewriteRule ^other-bits$ otherbits.htm [NC,L] RewriteRule ^web-design$ webdesign.htm [NC,L] redirect 301 /bahons.htm http://www.futureproofdesign.org/otherbits/ba-hons redirect 301 /biography.htm http://www.futureproofdesign.org/biography redirect 301 /otherbits.htm http://www.futureproofdesign.org/other-bits redirect 301 /webdesign.htm http://www.futureproofdesign.org/web-design Edited July 8, 201214 yr by futureproof
Create an account or sign in to comment