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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

.html to / 301 redirect question


Go to End


4 Posts   1599 Views

Avatar
CHD

Community Member, 219 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, 1899 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, 545 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, 219 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