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.

Migrating a Site to Silverstripe /

What you need to know when migrating your existing site to SilverStripe.

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

Rewrite URL For Old Images


Go to End


2598 Views

Avatar
davede

Community Member, 24 Posts

30 July 2011 at 8:20am

Hi all,

We've moved (most) of our site from WP to SS.

Just got an issue with referencing the old images. We've got all our images using absolute source references to the old WP image directory.

the old path to an image was:

http://www.mymoneycalculator.com.au/guides/wp-content/uploads/2011/06/dividend-dates.png

now the new path is:

http://www.mymoneycalculator.com.au/Images/dividend-dates.png

When I try and use a RewriteRule in the .htaccess file i get shown this message in firefox:

"The action 'wp_content' does not exist in class Hub_Controller"

I'm very new to SS so I have no idea what that means.

Any help would be very much appreciated.

Thanks,

Dave