简体   繁体   中英

Changing CMS to wordpress will change my URLs, how to cope

I am moving a well ranked eCommerce site to WordPress, but the old site has URLs that all end in .htm . I want to avoid breaking links, and avoid losing pagerank, but Wordpress removes periods from custom URLs, so it seems that ending in .htm will not be an option.

What is the best way to handle this situation in terms of SEO? Roughly preserve the sitemap with different URLs and 301 redirect? Use some kind of URL rewriting trick? Any help is much appreciated.

Check out this plugin: http://wordpress.org/plugins/redirection/

You can also manually add redirects to your .htaccess I am not sure if that would work in your case though. Worth a shot, nevertheless. Make sure you put these rules after Wordpress' own block of rules

Redirect 301 /about.html http://yoururl.com/about/
Redirect 301 /contact.html http://yoururl.com/contact/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM