Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

Filter by
Sorted by
Tagged with
1
vote
0answers
24 views

301 Redirection for a New URL in New Website

I have a internal page in example.com with around 10,000 organic traffic per month, but I am not making any money from it. I am building a new blog called example2.com in near future with monetizing ...
0
votes
1answer
15 views

301 Redirects and Link Values [duplicate]

I recently moved my website to a new domain but seems like the link values are not passed till yet. I researched it a bit and found on Moz documentation that it may take sometime before the link ...
0
votes
1answer
19 views

Redirection from main domain to add-on domain

I want to redirect the main domain to an add-on domain using 301: Is it important that the main domain will be the one pointing to the add-on domain? Does this have any negative effect from a ...
0
votes
1answer
107 views

Most efficient way to forward example.com to example.com/subfolder?

Title says my entire question. I think I saw someone forward example.com to example.com/subfolder and have spent about a week trying to figure out how to best do this. My goal is to have user type in ...
0
votes
2answers
673 views

example.com to www.example.com .htaccess redirect working except one subdir

I've setup a redirect in .htaccess to consolidate example.com to www.example.com traffic on our Apache server. Looks like this: Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^...
3
votes
1answer
1k views

How to Redirect Pages with Query String?

I want to Redirect as seen below: https://example.com/p1/p2?sort=p.model&order=ASC&page=2 to https://example.com/p3/p4?sort=p.model&order=ASC&page=2 Also, I have this code in my ....
5
votes
1answer
2k views

How to redirect a Heroku domain to a custom domain?

Let's say my web can be accessed with www.example.com and example.herokuapp.com. How can I redirect example.herokuapp.com/* to www.example.com/*? Heroku suggests that I use HTTP status 301 Moved ...
5
votes
1answer
314 views

Is it necessary to add a canonical tag for a static site switching from HTTP to HTTPS if there is already a 301 Redirect?

We have a static site that has thousands of HTML pages and are planning to switch to HTTPS in the next few days. As the site is fairly new, we do not have any problems with duplicate content at the ...
2
votes
1answer
26 views

For documents that get generated with a new version id, how should I handle the old URLs? Robots.txt, 301 redirect, or create permanent URLs?

The site I am working on has around 800 products, some of these can have up to 2000 PDF and CAD drawings each. The links to these PDF and CAD files are combined into a single object and then linked ...
2
votes
1answer
705 views

How to redirect all pages of site A, including those with query strings, to homepage of site B

I want to redirect all pages of SiteA to homepage of SiteB. I used this code in SiteA's .htaccess file: <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^(.*)$ https://SiteB.tld/ [...
-1
votes
1answer
20 views

How to direct main domain pages to sub domain [duplicate]

One of my client had a wordpress website say www.example.com.au in wordpress As they wanted to have separate websites for different locations, we created subdomains for each location like sydney....
1
vote
0answers
33 views

How to redirect multiple URL's to the same URL. [closed]

I have been searching for a solution to this but can't find a good answer. I am trying to achieve the following through Wordpress with the Yoast SEO plugin. Here is what I am trying to do: I need to ...
0
votes
1answer
38 views

site lost all traffic after installing ssl and moved to a new domain, 301 redirect

About a month ago, I moved my site from http://www.etihadassessment.com to https://www.cabincrewevents.com. My traffic went from 5k pagesviews a day to only 400-600 a day. I have tested few tools and ...
2
votes
1answer
82 views

Will a shorter version of our domain show up in Google?

Our domain is www.blablablablaXXblablablba.com We do not want to change this, but instead we want to "add" a redirection domain (301 redirect): www.XX.eu (which will make it easier for people to ...
2
votes
1answer
19 views

URLs include a directory without an index page, should it be removed for SEO?

A client's website has the following structure: /products/product-1 /products/product-2 /products/product-3 These product urls are keyword optimised pages for organic search. Google also indexes /...
1
vote
0answers
37 views

.htaccess redirect to new domain with new page name [closed]

Does anyone know how (or if) I can do an .htaccess redirect if both the domain and page name have changed? I can get olddomain.com/page/ to redirect to newdomain.com/page/ (same page name), but not ...
1
vote
1answer
50 views

Do URL redirects negatively affect SEO when part of a site restructuring?

I understand that no 'Link Juice' is lost, when implementing a 301 Redirect for the purposes of redirecting from http to https prefixes. What about redirects, when a site goes under a restructure? ...
0
votes
0answers
47 views

Googlebot not indexing language subdirectory

I've language based subdirectories, which is changed by user's country. Let's say if user request from Poland example.com 302 redirects to example.com/pl example.com/pl 301 redirects to example.com/...
1
vote
0answers
120 views

Why does SEMrush report lots of backlinks from the 301 redirected old website to the new one?

The old version of the website is http://example.com and they 301 redirected it to the new URL, https://example.se. I was checking the domain in SEMrush and it was 2.8k backlinks from the old website ...
1
vote
2answers
50 views

How to ensure historic backlinks point to primary domain

Hope someone can assist with this DNS/Redirection issue. I'll try to keep this to the point. There are two domains and two subdomains to deal with. olddomain.com is with registrar A. newdomain.com ...
1
vote
1answer
292 views

Old 301 Redirect Showing in Search Results Despite Its Removal

One our upcoming eCommerce site was put on a 301 redirect few months back, while the background work was being done. Now the website development has started and the 301 has been removed. We have ...
1
vote
1answer
49 views

Does a 301 redirect at the server level work when the host of the new website is different from the old one's?

We are doing a site migration. the URL path and the protocol will change. Also we will move the website to a new server host. The web agency says that they will do the 301 redirects in server level ...
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
2answers
2k views

How to redirect all pages in /directory/ to webpage with htaccess

I am trying to redirect all pages on my site in one directory to a specific page using htaccess. Example anything like example.com/forums/ example.com/forums/pages example.com/forums/subdirectory/ ...
3
votes
1answer
152 views

Why would googlebot be trying to crawl a URL “https://www.example.com/https://www.example.com/other/things”?

I've been trying to clean up crawl errors on my company's website. In one menu, google bot is trying to crawl every link with an extra-base URL attached. These pages (perhaps obviously) don't exist ...
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 ...
1
vote
1answer
1k views

How do I hide a 301 redirect from my root domain?

I was analyzing my webpage SEO using an online tool where I saw that my HTTP status for my root domain name www.example.com was resulting in a 301 redirect to www.example.com/index.html. I would much ...
2
votes
1answer
3k views

Subfolder non-www redirect

Is there a way to redirect a sub folder to no-www? What I use is: RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L] but this only ...
1
vote
0answers
249 views

.htaccess How to redirect some specific pages, then a blanket rule to new domain?

I am creating a new website on a new domain, and doing page-to-page redirects from the old website for (A) all static pages, as well as (B) all blog posts. A) The static pages follow a new URL ...
1
vote
1answer
194 views

How to use htaccess file for site migration?

We are doing a site migration. The protocol will change from HTTP to HTTPS. The server IP will differ (but in the same region), as the web agency says we can not have the same domain on two IPs. So ...
6
votes
2answers
1k views

Moving from Subdirectory to Subdomain structure

I have a website (powered by Rails/Postgres and nginx) where I had setup a blog and a coupons section as: http://examplecom/blog/ http://example.com/coupons/ Blog is powered by wordpress and ...
0
votes
1answer
43 views

Will client sites on clientsite.mydomain.com affect SEO at www.mydomain.com?

Example: Petterson Rekvisitta is a company I am building a website for. He has a domain: petterson.com, and will eventually move there. During development I set up his site on petterson.mydomain.com ...
2
votes
1answer
329 views

.htaccess - how do i redirect TLDs?

I'm currently using my .htaccess to force all HTTP requests to HTTPS, and that is working very well. However I would also like to redirect some TLDs. For example - http(s)://(www.)example.info -> ...
1
vote
1answer
202 views

Why does the Google toolbar show no Pagerank after a 301 redirect?

As we all know, Google treats sub-domains as completely separate domains so we have to fight for both, to get ranked in search results. One of my client's websites had example.com and blog.example....
1
vote
0answers
77 views

How to know if your site was properly redirected [closed]

How do you know that your site is properly redirected? I have migrated my site from Joomla to WordPress and I gave all the list of webpages to my developer Old website URLs: www.example.com www....
2
votes
1answer
829 views

301 redirect to www from non-www and index.html

Currently the home page of my website is accessible via these URL's: www.example.com, example.com, www.example.com/index.html, and example.com/index.html So I'm trying to set up redirects so that ...
1
vote
3answers
59 views

Buying a domain name - How can I ensure that it hasn't expired or been 301 redirected before?

I'm thinking about buying a domain name from a seller. The Verisign Whois information shows that it was registered in 2011. Are there any instances in which a domain could drop/expire and yet the ...
3
votes
3answers
2k views

Changing main domain, redirect backlinks too?

I have a website and would like to rebrand. I have owned the new domain for about 2 years now and I do have about 40 inbound links from my clients that currently link to the old site. When going live ...
3
votes
1answer
25 views

301 redirecting blog links that don't start with `/blog` to the new blog location

I had a WordPress site that I moved folders - http://example.com to http://example.com/blog. The problem now is that many sites still link to my old blog links to /blog-post so when users click on ...
1
vote
1answer
739 views

Redirect traffic from a specific subfolder to a different domain with preserved path in .htaccess

How can I write a .htaccess mod_rewrite rule to redirect all traffic to a specific subfolder to a different subdomain, but include all the trailing URI and url structure and in a SEO friendly way. ...
1
vote
1answer
218 views

How can I redirect a random URL with a query string to the home page from .htaccess for SEO?

I have been checking the progress of my site indexing in Google, for some bizarre reason best known to itself, there is a very random URL indexed against my domain which doesn't exist. http://www....
1
vote
3answers
1k views

After changing domain name, should I create an XML sitemap with the old URLs?

I've moved old domain to new domain. My site contains many pages (~30M indexed pages). I want to make sure all the old pages pass the link juice to the new domain relevant page (kept same URL ...
2
votes
1answer
332 views

Creating a Combined 301 Redirect in .htaccess

We are being advised by our SEO agency to reduce the number of "chained" redirects we have. So, for example: URL A - http://www.sitename.co.uk/SHOPPING-CATEGORIES/product_name redirects to its https ...
4
votes
2answers
1k views

301 redirect to 404 page?

Currently i'm migrating www. prefix from my urls and use htaccess to do the job. Since we have new software and cleaned database some of the old urls doesnt exists anymore. Therefore some requests ...
0
votes
2answers
54 views

Does putting canonical remove duplicate issue OR we should do permanent redirect [duplicate]

We have certain URLs of the city and their alias-names. For example: Primary URL: /used/cars-in-mumbai/ Alias URL: /used/cars-in-bombay/ We can't remove "Alias URL" as it's hard-coded at multiple ...
4
votes
2answers
103 views

Redesigning an old site, structure change etc

I have an old site built in 2006, it has around 200 pages and 500 pictures. Every single page is of course indexed as well as images. It is very well ranked for targeted keywords and I receive good ...
1
vote
3answers
218 views

Google not detecting new page addresses after redesign

I recently moved our company's site to WordPress. It was necessary since the old site's structure was poor at best. It's now been three weeks and the addresses listed in Google have not changed. They'...
4
votes
1answer
85 views

How to redirect from https://hi@example.com/x, to just https://example.com/x (htaccess)?

I have a weird problem where for some reason search engines see that I have duplicate URLs, like https://hi@example.com/x and https://example.com/x I'd like the first (i.e. with hi@) to 301 redirect ...
1
vote
3answers
843 views

410 or 404 or 301 for SEO for old pages after changing URLs in a site update?

Our site have around 2.1M pages indexed at Google. We made a change to the URL for the indexed pages, for managing international changes, that reflects change in almost all indexed pages. When the new ...
1
vote
3answers
102 views

Use canonical tag instead of redirect 301

I have many URL that I made 301 redirect now after 2 months I want to remove this redirect and set canonical tag instead, is it harmful for SEO and google? Now: example.com/ads/n-151617.html > 301 ...