Question on 301 redirects after a site redesign
I just got to redesign an old website (from a custom coded platform to Wordpress). The old and new URLs now look like these:
Old url: www.somedomain.com/en/file-path
New url: www.somedomain.com/file-path/
This structure is repeated site-wide.
Is there a single instruction I can add in the .htaccess file (or some other way, maybe using a plugin) that takes care of all the 301 redirects using the above rule?
I don't want to have to manually write redirects for 100s of URLs. Am sure there is a simpler way.
Thanks!
-
empirecapitol -
Thanks - Reply
- 1 reply
SignatureGrow Your Business Online With Mike Klingler and Mike's Books on thriftbooks.com{{ DiscussionBoard.errors[11530502].message }}-
Brrainstormerr -
Thanks - Reply
- 1 reply
{{ DiscussionBoard.errors[11530661].message }}-
Gohar Ilyas -
[ 2 ] Thanks - Reply
{{ DiscussionBoard.errors[11532447].message }} -
-
-
-
empirecapitol -
Thanks - Reply
SignatureGrow Your Business Online With Mike Klingler and Mike's Books on thriftbooks.com{{ DiscussionBoard.errors[11530773].message }} -
-
leesajohnson -
Thanks - Reply
{{ DiscussionBoard.errors[11531497].message }} -
-
Martin smith -
Thanks - Reply
{{ DiscussionBoard.errors[11531763].message }} -
-
Martin smith -
Thanks - Reply
{{ DiscussionBoard.errors[11532971].message }} -
-
jimmy adam -
Thanks - Reply
{{ DiscussionBoard.errors[11537367].message }} -
-
Ron Peters -
Thanks - Reply
{{ DiscussionBoard.errors[11537839].message }} -
-
wickieagentur -
Thanks - Reply
{{ DiscussionBoard.errors[11551409].message }} -