Embedding Overview
Learn about the different ways to implement SEOFlow redirects in your Shopify store.
Implementation Methods
1. JavaScript Implementation
- Pros:
- Easy to implement
- No server configuration needed
- Real-time updates
- Cons:
- Requires JavaScript
- Slight performance impact
- Client-side processing
2. Server-Side Implementation
- Pros:
- Better performance
- Works without JavaScript
- More reliable
- Cons:
- Requires server configuration
- More complex setup
- Manual updates needed
Choosing the Right Method
Consider These Factors
-
Store Size
- Small stores: JavaScript implementation
- Large stores: Server-side implementation
-
Technical Requirements
- Server access
- Development resources
- Performance needs
-
Update Frequency
- Frequent updates: JavaScript
- Infrequent updates: Server-side
Implementation Steps
JavaScript Implementation
- Copy the embed code from SEOFlow
- Add to your theme's
layout/theme.liquid
- Place before closing
</body>
tag
Server-Side Implementation
- Download redirect rules
- Configure server (Apache/Nginx)
- Test implementation
Best Practices
Performance Optimization
- Minify JavaScript code
- Use async loading
- Cache redirect rules
Security
- Use HTTPS
- Validate redirects
- Monitor for abuse
Maintenance
- Regular testing
- Update implementation
- Monitor performance
Troubleshooting
Common Issues
-
Redirects Not Working
- Check implementation
- Verify code placement
- Clear cache
-
Performance Issues
- Optimize code
- Review redirect rules
- Check server load
-
Configuration Errors
- Verify settings
- Check permissions
- Review logs