A company I’m working for had a WIX based site. I recreated the site on WordPress moved the hosting and redirected the domain. I then attempted to do the page redirects to the new URLs on the WordPress site with the standard .httaccess file 301 redirects.
Redirect 301 /#!product/prd1/1063533171/42%22-workstation-(mc-42) http://www.mydomain.com/product/workstation/
I have now found that WIX uses a hashbang (#!) in the url link structure.
How can I execute my 301 redirects and retain my previous page rank?
i managed to redirect from wix to wordpress by adding this code (by Themee) to the functions.php on my theme directory.
as i understood, this only help to redirect your visitors to the correct URL, but not help to SEO.
i think the next code (in the .htaccess file) should help SEO, but still need some modification that i dont know about. this was an help by “barryhunter” from Google Forum.
its an example of one page redirect. the person who helped me said can check if its working on this page: http://www.rexswain.com
its will be nice if someone can determine what exactly should be written in the .htacess file.
I had the same situation. The only solution I found is to create redirect.js file with the following content:
Then you should upload this file to your server and include it between
<head></head>
tags. This should do the trick.Since wix URLs are hashtags, they cannot be redirected via .htaccess. You must use javascript to redirect urls, e.g.: