A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

Filter by
Sorted by
Tagged with
1
vote
2answers
1k views

How to properly redirect SEO from an old domain to a new one - should I display a message first?

I have a domain, lets say example.com. I am rebranding the website and moving to example2.com. The example.com domain is well positioned in Google. How do I keep this Google position, or how do I harm ...
2
votes
2answers
145 views

How to find out the domains that 301 redirect to my website?

How can I find out what domains are 301 redirected to my website? For example if a.com, b.com, and c.com are 301 redirected to my website, then how can I know the list of a.com, b.com, and c.com?
1
vote
1answer
55 views

dynamics urls - redirects or rewrite and page SERP position

I'm trying to get my head on this, our site have thousands of links, is an e-commerce site, where products titles require changes on regular basis to get the best of SEO... you know, as usual, we ...
1
vote
3answers
368 views

During a website redesign, how will removing unused pages/URLs affect SEO ranking?

I have been designing a new company website on Wordpress. Its design and content is all entirely different from the old site. The old site was quite confusing, organizationally speaking, with lots of ...
1
vote
2answers
95 views

Buyer wants to rent my domain - risk of 301 redirects and other issues?

I have a domain that has some value. It used to be a big site with a lot of backlinks and SEO ranking history. I tried selling the domain, but a buyer doesn't want to pay the asking price. He instead ...
0
votes
1answer
33 views

Correct way to restyling a wordpress site [closed]

I have a wordpress site that needs a complete restyling (both theme and urls). I'm thinking about do the following steps: 1) Delete the current DB and WP installation on the domain 2) Install clean ...
1
vote
1answer
233 views

301 redirect for new domain whilst maintaining page paths for WordPress site

My client has a WordPress site which is hosted on a CPanel Linux server. Their old URL is https://old-example.co.uk. Their new URL is https://new-example.co.uk. Both URLs are pointing to the same ...
2
votes
1answer
86 views

Which redirect directive with Apache chooose to use among duplicates?

We are using Apache server with a .config file to do permanent 301 redirects. The web site is mostly maintained and content is provided by the client. This particular web site changes very often, and ...
3
votes
1answer
762 views

Full domain .htaccess 301 keeping same paths, but also redirect some URLs to different paths

I believe the following code will redirect my old domain to my new domain keeping the same URL paths. RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.newdomain\.co.uk RewriteRule (.*) https://www....
1
vote
1answer
48 views

Redirect my old WordPress to a new website outside of WordPress?

I had an old WordPress website (example.fr, paid domain) and a friend made me a better website hosted outside of WordPress (has nothing to do with WordPress) and I would just like to redirect all my ...
3
votes
1answer
264 views

HTTP website returns 403.4 even when using Plesk Permanent SEO-safe 301 redirect from HTTP to HTTPS

My domain has a valid and activated "Let's Encrypt!" certificate, and going to https://example.com works as it should and shows as being secure in the browser. Through Plesk Onyx 17.5.3 I have ...
2
votes
1answer
94 views

How to 301 redirect back to a pretty link without creating an infinite loop in .htaccess

I am doing a rewrite from .htaccess file to redirect pretty links to original URLs: RewriteRule ^users/?$ /?status=users [NC,L,QSA] which redirects my SEO/pretty link: example.com/users to the ...
1
vote
1answer
269 views

Should I be returning a 301 or 403 to a bad referrer in my .htaccess?

Getting several amounts of bad requests from a particular URL such as site.foo and I would like to redirect all these requests to a dedicated page. The .htaccess code I've researched and implementing ...
1
vote
1answer
41 views

When can I remove 301 error?

I recently change a domain name of one of my site. This is how I did it. Buy new hosting with new domain name. Move that content and database to new hosting Do 301 redirection to new domain My old ...
1
vote
0answers
51 views

My site doesn't have a SSL certificate, but Google is indexing the HTTPS version [duplicate]

Redirecting to HTTPS causes an error, Google should be indexing the HTTP version. How can I enforce that? I have no forms or logins on my website, I have no SSL certificate. For example: Searching ...
2
votes
1answer
783 views

Do you get referrer data from HTTPS > HTTP > 301 Redirect > HTTPS site?

Referrer data is lost when a HTTPS site links to a HTTP site. If you implement a 301 rediect from your HTTP site to your HTTPS site do you get referrer data? Referring Site | Your Site ...
2
votes
3answers
173 views

Does SEO value get transfered when a 301 redirect points to a page that has another canonical?

I have this scenario: Page A is 301 redirected to another Page B, which has exactly the same content(automated process). But Page B has another rel=canonical Page, the Page C due to some parameters in ...
3
votes
1answer
285 views

Effects of incorrect 301 redirects

I am trying to determine the short-term and long-term effects of bad 301 redirects. We launched a new website, and gave our developer a list of 301 redirects. The developer said they implemented the ...
1
vote
0answers
199 views

If a subdomain or subdirectory is given a 301 redirect does it affect the parent domain in SEO ranking?

I have a website running on example.com, but I wish to have abc.example.com that redirects to another domain altogether like example.net. Is it possible to redirect a subdomain without affecting any ...
1
vote
0answers
78 views

301 Redirects and Merchant center quality

I moved a site to a new platform and the url structure was updated. As far as the Google Merchant Center goes will the 301 redirects suffice or do I need to update my urls within merchant center?
1
vote
0answers
15 views

How do you redirect a reputable domain name to a spelling variation without losing SEO value? [duplicate]

We have a reputable news domain which is about 17 years old. We want to redirect this domain from example-all.tld to exampleall.tld. We will implement a 301 permanent redirect for all URLs. Now ...
3
votes
1answer
2k views

Bluehost - Forward Subdomain with masking

I forwarded a Bluehost subdomain to my home server's IP address. When I enter the subdomain in my browser's address bar, it redirects fine, but it shows the numerical IP address and not the subdomain ...
0
votes
1answer
574 views

Should redirecting URLs be included or excluded from the XML sitemap? [duplicate]

Currently, we're working on optimizing a website for search engines. Would you advise adding to the XML sitemap the URLs of the pages that are being redirected, or the redirect target URLs? In my ...
2
votes
0answers
598 views

How do I redirect a URL with a question mark? [closed]

The ? is not part of a query but used as if it were an actual question. Here's an example: /how-did-penicillin-change-the-world?.html What's the best way to redirect that URL to something like /news....
4
votes
2answers
454 views

Using 301 redirects to change domain and maintain SEO

I’m setting up a Wordpress website with a new domain name to replace my client’s current website. I’d like to redirect the old domain to the new domain in a way that will maintain the search engine ...
1
vote
0answers
38 views

When moving to new domain, should old page redirects be implemented on the the old or new domain?

I am moving our website to new more appropriate domain name. Our current domain has a number of 301 redirects from a former naming structure that we changed a few years back. And we want to maintain ...
1
vote
1answer
1k views

Website redirects to httpss (not https) in Safari and IE but not Chrome

I have made a redirect rule in my .htaccess file for https://pg-flowsolutions.com that specifies that if someone enters an invalid path (for instance https://pg-flowsolutions.com/blablabla) the ...
1
vote
0answers
23 views

How do I implement 301 redirects from a parameter to prevent Google from continuing to index that content? [closed]

I need to implement 301 redirection for example.com/?id=113742 example.com/?id=154242 example.com/?id=XXXXXX All those sites to example.com. I need it in htaccess. I`m using wordpress How do I do ...
1
vote
2answers
1k views

how to deal with URLs containing underscores

I know that hyphnes are preferred to underscores, and I could do a 301 redirect. But some say it's not worth the chaos to change them and I pretty much agree. https://moz.com/community/q/hyphens-vs-...
5
votes
1answer
92 views

Wrong URL Requested But I know what they meant - 404 vs canonical vs 301 redirect

I'm using mod_rewrite to process variables in the URL. For many of my URLs the final portion of the string doesn't matter because I'm not using it. For instance: /review/company-25/jb-hunt I'm only ...
2
votes
1answer
285 views

Simple .htaccess language question (redirection)

I do not know the language of .htaccess, thus the newbie question. I have this code: RewriteEngine On RewriteCond %{QUERY_STRING} ^m=1$ RewriteRule (.*) /$1? [R=301,L] It redirects any urls that ...
1
vote
2answers
76 views

HTTPS indexing after migration

I moved my website from HTTP to HTTPS version month ago, and I made all necessary changes, I made 301 redirect so all old links redirect to the HTTPS version, and I added the new version to webmaster ...
2
votes
1answer
811 views

Is there an SEO reason why I shouldn't redirect the root domain to a subdomain?

Is there any downside to redirecting the root domain and the www subdomain to a subdomain of my choice? For example, redirecting smith.com and www.smith.com to john.smith.com. I was talking to ...
3
votes
3answers
1k views

HTTP to HTTPS: Wait for new sitemap to be indexed?

Running HTTP and HTTPS versions of the site side-by-side. HTTP is canonical right now. Goal is to change that to HTTPS. Created a new site in Search Console and submitted a new sitemap 4 days ago. ...
2
votes
1answer
3k views

301 redirect all child pages to parent directory using .htaccess

I need to 301 redirect all child pages of a specific parent directory on my website. i.e. redirect www.example/com/parent/child and www.example.com/parent/another-child etc. to www.example.com/...
1
vote
0answers
917 views

How to redirect / forward a domain to a specific URL?

So, I tried looking around and haven't found the answer I was looking for. I wanted to ask if it's possible to redirect / forward a domain I bought to a specific URL from another website. So let's ...
1
vote
1answer
55 views

.htaccess redirect for one file

Somehow an erroneous URL of mine got indexed by Google. Which is: www.example.com/index.php/ All I want to do is redirect it to the same URL without the / at the end. I have the below that seems to ...
5
votes
2answers
2k views

GoDaddy's 301 redirect/forwarding has some weird random middleman URL, kills link juice?

I'm trying to use GoDaddy's 301 redirect, which is named as domain forwarding. I set up forwarding DomainA.example to DomainB.example as 301 "type". I noticed DomainA.example is still indexed in ...
1
vote
1answer
1k views

Is it good SEO to 302 redirect from root URL to language and region subdirectory for the user, then tell Google about altenate sites in the sitemap?

We use subdirectories on a global top level domain for a multi-regional site: When a user from Iran enters www.exmple.com it 302 redirects to www.example.com/fa-IR. When user enter from the US enters ...
1
vote
1answer
23 views

New Joomla Website - Confused About 301's

My original Joomla website created numerous URLs that related to the same dynamically generated product page. I have changed website platform (not domain) but the products are the same but now have ...
3
votes
1answer
235 views

Redirect 301 for Apache Sub directory and query string combination

I am getting 404 errors in Google Search Console for URLs like the following: http://www.example.com/newsite12121212121212/eg/st_tour/perma/ http://www.example.com/newsite12121212121212/eg/...
1
vote
0answers
66 views

Are there security concerns with migrating a sub-sub domain to a new platform, leaving another in place, and abandoning a third?

I have been tasked with launching a website for my organization. It is a dept. within a parent organization. Parent Organization Administers domain.com Dept. Organization Administers sub.domain.com ...
4
votes
1answer
521 views

Redirect 301 directive for Apache has no effect for URL with query string

I have this old link http://www.example.com/?page_id=617/ that I want to redirect to the home page. I've tried to implement this redirect with: Redirect 301 /?page_id=617/ https://www.example.com/ ...
2
votes
1answer
46 views

I couldn't create .htaccess redirect

From /etiket/(any page) to /konu/(any page). How can I do it? In .htaccess file. I searched and applied it but couldn't. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase ...
3
votes
2answers
1k views

How bad is it for SEO to use at 302 redirection instead of 301 redirection for HTTPS?

Recently my client has configured HTTPS. I recommended that he implement 301 redirection to 200. His developer could not do that and it is still using 302 redirects. How bad it can affect a website ...
1
vote
0answers
352 views

SEO for multiple domains for the same site

I have a .co.uk site that ranks well (position no. 4 in Google and no. 1 in Bing). After 5 years, I've finally got round to registering the .com for the same site. As this doesn't need to be a .co.uk ...
1
vote
2answers
57 views

When and how does Google Webmasters let you know a “Change of Address” has been successful?

I migrated my blog from one domain to the other and initiated a change of address using Google Search Console's change of address tool recently (three weeks ago). I'm starting to see a comparable ...
1
vote
1answer
47 views

If there is no page, redirecting to the other site

I moved my site and I want to use the old site. The best way to use both is to show the current pages, if there is no page, redirect to the same address on the new site. Can I do this only from the ....
3
votes
1answer
1k views

How to redirect all (www).example.(com/net/org) to https://example.com

How do I setup any URL/URI for http(s)://(www).example.(com/net/org)/somepath to end up at the corresponding: https://example.com/somepath I'm guessing that the solution (if there is one), will ...
2
votes
1answer
151 views

Can I 301 redirect multiples URLs to one page without risking a search engine penalty such as duplicate content?

I have multiples url's directing to a single page, ex: www.example.com.br/phone-calls-right-now www.example.com.br/phone-calls-for-yesterday www.example.com.br/phone-calls-cheaper www.example.com.br/...