Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

.html to / 301 redirect question


Reply


4 Posts   1172 Views

Avatar
CHD

Community Member, 218 Posts

12 July 2011 at 4:28am

I've just finished a website redesign for a client.
I kept as much of the URL structure in tact as i could, however the main difference is that their old site links were all ending in .html now obviously with SS they dont, my question is do i need to bother with a 301 redirect for EVERY page??

they all work fine still because SS ignore extensions anyway, but my client is panicking because he spent so much on link building and SEO and now think all of the "juice" will be lost. can anybody shed any light on this?

cheers.

Avatar
swaiba

Forum Moderator, 1808 Posts

13 July 2011 at 12:17am

I've not had to do that, but the manual page might help...

http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html#RewriteRule

Avatar
zenmonkey

Community Member, 532 Posts

13 July 2011 at 4:56am

Take a look at http://www.internetofficer.com/seo-tool/redirect-check/ as long as its registering as a direct link you're good. It wouldn't hurt to add a canonical links to your header to avoid loosing juice between http://mysite.com/page and http://mysite.com/page/ :

<link rel="canonical" href="$AbsoluteLink">

Cheers

Avatar
CHD

Community Member, 218 Posts

13 July 2011 at 5:02am

thanks a lot for your help, that site says the links are direct, so it isnt even detecting a redirect between .html and / which i assume is good!
also added the canonical link, thanks for that tip