I had a temporary site made on Wix, and will soon need to move to a new one made in Zend Framework 2. For SEO reasons, not to lose the ranking gained so far, I need to 301 redirect the page URLs of the old site to pages in the new one, the problem is that Wix uses some weird addresses like www.mysite.com/#!about/etc, so the Redirect 301 rule in .htaccess doesn't work as the stuff after the # is not seen as a part of the link. How can I redirect from such URLs without losing their Google juice? Thanks.
相关问题
- Backbone.js PushState routes .htaccess only workin
- Stop .htaccess redirect with query string
- Stop .htaccess redirect with query string
- .htaccess rule, redirecting old unexistent address
- UrlEncodeUnicode and browser navigation errors
相关文章
- How to get jQuery.ajax response status?
- send redirect and setting cookie, using laravel 5
- hapi.js - 404 route VS static files route
- Dynamic robots.txt
- Multiple htaccess rewrite rule
- How to get the http redirect status codes in Golan
- AWS ALB redirect to https
- When does Googlebot execute javascript?
This code should allow you to transfer the parameters to the final site with a 301.
After some more research, I found out Wix is using Ajax crawling, which is really unfriendly when you need to move away and redirect your pages, as it uses #! in the URLs. I also found out that those URLs get parsed by Google as escaped fragments, so I used
Hope that does the job and redirects my old pages' Google juice to the new ones.