旧域名重定向至新域名内页不影响排名:URL转发及301/302选择咨询
Alright, let’s break down your questions clearly—since you want to send traffic from olddomain.com to newdomain.com/keyword-abc while keeping your hard-earned search rankings, here’s the playbook:
First: Pick the Right Redirect Type (301 is Non-Negotiable)
If you want to fully pass the old domain’s SEO authority to the new target page, permanent 301 redirects are the only way to go. Temporary redirects (302/307) tell search engines "this page is just temporarily moved"—they won’t transfer any ranking weight, which defeats your goal. Save 302s for cases where you plan to move the content back later.
How to Implement the Redirect (Two Reliable Methods)
1. Server-Level Configuration (Best for Speed & Stability)
This is the most efficient approach, as it bypasses WordPress entirely and works directly at the server level.
For Apache Servers (Using .htaccess)
Head to your old domain’s root directory, edit the .htaccess file, and add this code at the very top (before any WordPress rewrite rules):
<IfModule mod_rewrite.c> RewriteEngine On # Match the old domain (case-insensitive) RewriteCond %{HTTP_HOST} ^olddomain\.com$ [NC] # Redirect all traffic to the new domain's specific page RewriteRule ^(.*)$ https://newdomain.com/keyword-abc [R=301,L] </IfModule>
[NC]ensures the match works forOldDomain.comorOLDDOMAIN.COMtoo[R=301]flags this as a permanent redirect[L]tells the server to stop processing further rules after this one
For Nginx Servers
Edit your old domain’s server block in nginx.conf (or your site-specific config file) and replace the existing content with:
server { listen 80; listen 443 ssl; server_name olddomain.com www.olddomain.com; # Direct all traffic to the target page with 301 return 301 https://newdomain.com/keyword-abc; }
Don’t forget to restart Nginx afterward with sudo systemctl restart nginx.
2. WordPress Plugin (If You Don’t Have Server Access)
If you can’t edit server files, use a trusted redirect plugin like Redirection or Yoast SEO:
- Install and activate the plugin
- Create a new redirect rule:
- Source URL: Leave blank (or enter
olddomain.com) to match all traffic from the old domain - Target URL:
https://newdomain.com/keyword-abc - Redirect Type: Select 301 Permanent
- Source URL: Leave blank (or enter
- Pro tip: Double-check that the plugin isn’t conflicting with your theme or other plugins—test the redirect in an incognito window to confirm it works.
Is URL Forwarding from Your Domain Registrar Safe for SEO?
It depends on how the registrar implements it:
- 301 Forwarding: If your registrar lets you set the redirect type to 301, this is identical to the server-level method—it’s safe and will pass SEO authority.
- Frame/Masked Forwarding: This is a hard no. It embeds the new page in an iframe on the old domain, so search engines will still see the old domain’s empty/old content instead of the new page. This won’t transfer any ranking weight, and could even get you flagged for cloaking.
Always confirm your registrar’s URL forwarding uses a true 301 redirect before relying on it.
Bonus SEO Steps to Protect Your Rankings
- Update your Google Search Console (GSC) settings: Submit a sitemap for the old domain, then use the "Change of Address" tool to notify Google you’re moving to the new domain.
- Audit external links: If you can, reach out to sites linking to your old domain and ask them to update links directly to
newdomain.com/keyword-abc—this strengthens the authority transfer. - Ensure the new target page has content relevant to the old domain’s core topics: This helps search engines connect the dots and pass rankings smoothly.
内容的提问来源于stack exchange,提问作者Ken

