Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

Filter by
Sorted by
Tagged with
3
votes
4answers
1k views

Redirect everything from old domain to new domain

I need to (permanent) redirect all of the following: www.example.com www.example.com/folder sub.example.com sub.example.com/folder Basically, all URLs that are reachable without being intended to: ...
3
votes
4answers
339 views

Will I preserve link equity if I use two redirects?

I'm switching a social media site over to a Drupal platform. I'm planning to implement permanent directs (301) from each old url to the new url. I'm using page titles in the url string on the new ...
3
votes
1answer
126 views

How can I find the number of users who visit my site via a redirect?

My domain foo.com redirects (via a permanent 301) to bar.com. I want to know how many visitors to bar.com come from having first visited foo.com. I'm using Woopra - originally, I thought the ...
3
votes
3answers
313 views

SEO disasters moving domain for a high traffic website?

We're looking at moving our website from http://www.wikijob.co.uk to http://www.wikijob.com/uk as we spread our wings internationally. Our .co.uk website has a PR6 and received around 1/2 million ...
3
votes
1answer
651 views

Are there any tools in Google Search Console for removing URLs with 301 redirects?

In Google Search Console, I am getting 15-20 all different URLs in 404 section which is not in proper format(this URL is too old around 6-7 years and there is no 'Linked from' for this URLs). I want ...
3
votes
2answers
4k views

nginx http to https redirect - just isn't working

I am running my own webserver with nginx on ubuntu 17.10. I have opened ports 80 and 443. Trying to get the HTTP to HTTPS redirect working, but everthing i seem to have tried fails. i am still ...
3
votes
2answers
216 views

Weird 301 redirection by google crawler

I have some pages on my website www.acethem.com which are having 301 redirection but they are not actually 301 redirects. e.g. www.acethem.com/pastpapers/by-year/2007/ is seen as a 301 redirection to ...
3
votes
1answer
4k views

301 Redirect a domain to another domain, but keeping the subdirectories the same

Is it possible to configure a top-domain (http://x.com) (DNS/.htaccess/else?) to redirect to another domain (http://y.com), whilst if you navigate http://x.com/subdir/index.html, you'd see the files ...
3
votes
1answer
9k views

301 Redirect from www to non-www without using VHOST

I have my web application running on EC2 with Apache. I want to redirect www to non-www. On searching Google, I used this but it leads to redirect loop: <VirtualHost *:80> ServerName www....
3
votes
1answer
734 views

Multiple 301 redirect and massive loss of ranking

I just remade from scratch a website for a client, the client ask me to preserve their ranking by making 301 redirect from the original URL to the new URL. For example the following URL: plumber-...
3
votes
1answer
1k views

What does the '^' mean in “rewrite ^ http://example.com permanent;”

I found some configuration of nginx contains: if($args ^~ post=140) { rewrite ^ http://example.com/ permanent; } What does the ^ mean in rewrite ^ http://example.com/ permanent?
3
votes
3answers
201 views

How important is it to 301 redirect forum posts

I am going through the process of porting all forum data from PHP to ASP.net, it's quite a long and difficult process. There are around 30,000 threads, it's been online for quite a few years. How ...
3
votes
1answer
326 views

Is a zero second meta refresh tag to 301 a Blogger post a proper solution?

Blogger does not offer a possibility to 301 redirect a post (or the whole blog) to an external domain name (say mydomain.com). One is suggesting to use some zero second meta refresh tags in the header ...
3
votes
1answer
1k views

How to redirect URLs with a specific IDs to new URLs on a new domain name?

I want to redirect all pages where there is a specific word inside in the URL. Both websites have the same articles. For example: videos.example.com.ph/its-showtime-hashtags-hashtags-and-dawns-...
3
votes
1answer
1k views

When redirecting HTTP traffic to HTTPS, is it OK to redirect non-existant pages to a 404 error?

We've recently converted several of our websites to require HTTPS on all pages. HSTS headers have been set and rules added into Apache to 301 redirect all traffic from HTTP to HTTPS. However, similar ...
3
votes
1answer
126 views

Can I switch 301 redirect direction from A->B to B->A and how does it affect SEO?

I have a blog that has been up for a few years. It doesn't contain a great number of pages but the domain name contains two keywords that I want to rank for, like keyword1-keyword2.com. I have ...
3
votes
2answers
130 views

Should I replace non-user friendly URLs with friendly ones, and if so, how?

I have just added my site to Google Web Master Tools and discovered that some links (for example: In the section "Search Query / Top pages") have a URL format like: example.com/page.php?id=1234 This ...
3
votes
1answer
2k views

Should I change the URLs in the XML sitemap after 301 redirecting them?

I am using 301 redirects for all URLs. Should I change sitemap URLs now? The sitemap currently contains the following URLs: example.com/cat/1.html example.com/cat/2.html example.com/cat/3.html ...
3
votes
3answers
1k views

Fastest way to redirect dead URLs to home page

A client of mine scrapped his entire wordpress site of many years for a custom CMS. The URL structures both use the /<post_title> format, so a pattern based .htaccess rule is out of the picture ...
3
votes
1answer
206 views

301 redirects… www. > http … the entire sitemap

I submitted a duplicate sitemap some time back to incorporate the www. addresses when I saw my site was not directing there when I typed it directly in the address bar. As I have edited my site and ...
3
votes
4answers
2k views

301 redirect to different directory on Yahoo Small Business Hosting without .htaccess

I have a website hosted with Yahoo Small Business Hosting, and I don't have access to use a .htaccess file. I have around 220 pages in a folder mysubfolder (http://example.com/myfolder/mysubfolder) ...
3
votes
2answers
852 views

Apache HTTP redirect from a URL list

One of my web applications will be completely replaced by a new system. All URLs will change and thus external links would break. I want to setup Apache httpd to answer with proper 301-redirects to ...
3
votes
1answer
78 views

How to have my customized extension?

I have recently found a .htaccess trick in which I can remove file extension from the URL, example.com/file.html looks like example.com/file Now my humor says that I can replace any extension to my ...
3
votes
1answer
94 views

Redirecting to a default (or last visited) subdirectory. Does Google like this?

i have a site that has 3 web applications, lets use this example: example.com/nicy example.com/mash example.com/zoken The main application is nicy, so if the user comes for the first time (or if ...
3
votes
2answers
222 views

Where should I redirect (removed) phishing pages

I was unfortunately the victim of a PHP exploit. Looking through my webserver logs, people are still attempting to reach the URL used in the phish. I want to redirect them to a site that will educate ...
3
votes
1answer
160 views

Is it ok to use 301's this way?

I installed a forum, which has a page for member info. I want this to link to my main sites member info page which is a lot more detailed and interactive. The forum membership page has the url: ...
3
votes
1answer
868 views

Is it possible to create a 301 redirect and MX records at a naked domain?

I'm wondering since I found out that creating a CNAME and an MX record is not allowed. I want to create a 301 redirect from example.com to www.example.com, and have email with @example.com addresses. ...
3
votes
1answer
97 views

htaccess redirect root domain to subdomain with exceptions

i m using wordpress and want to redirect my root domain to a new subdomain and ignore urls that contains a certain string http://www.example.com/post.html To http://subdomain.example.com/post.html ...
3
votes
1answer
46 views

Can robots.txt redirect to a different domain?

I would like to know if I can put a 301 redirect on robots.txt file and have it hosted in a different location. I'd like to have it on a cloud front layer. example: https://www.mydomain.example/...
3
votes
1answer
390 views

nginx: 301 redirect to non-www, SSL urls on default_server(s)

My goal is to have nginx primarily return a check for all requested URLs that start with http:// and/or contain //www., and 301 redirect them to the URL where //www. is replaced by // and http:// ...
3
votes
1answer
197 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 ...
3
votes
1answer
297 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 ...
3
votes
1answer
68 views

How do I deal with Google indexing variations of my URLs that are not supposed to exist?

My site has this page (URL) that actually exists on my site example.com/ranking/rankings-of-nike-running-shoes but somehow I can see the following versions in SERPs (these URLs are not physically ...
3
votes
1answer
619 views

When 301 redirecting a page, what needs to be in the sitemap?

In sitemap there was page a.html which has some PageRank. Now a.html is redirecting to b.html using 301 and sitemap has b.html entry, a.html is removed. Queries are: As a.html is not in sitemap ...
3
votes
1answer
157 views

Getting the redirected page to show up in SERP instead of the target

I have a site that is listed on a sitebuilder site with their own domain which in this example lets call this siteA.com/myaccountnumber/index.html. I've purchased a domain siteB.com and I've setup a ...
3
votes
1answer
167 views

70K of 301 redirects

I have a website with about 1.5M pages. I am condensing pages that do not have large amounts of content to improve the quality of the site. As a result I have about 70K pages that I have added a < ...
3
votes
2answers
400 views

Migration Joomla to Codeigniter - GWT reporting lots of 404's - How to fix

I recently created a whole new fitted system structure for a site previously running on Joomla 1.5 CMS. They wanted something more simple and elegant, and their back-end was a mess of modules and ...
3
votes
2answers
257 views

How does duplicate file and directory names affects SEO

I have some 40 crawl errors in my website, those are pointing to files which are not existing. and I want to resolve all 404 errors I dont have acccess to .htaccess file. Because i am on shared ...
3
votes
3answers
350 views

Will my traffic come back after my site redesign? [closed]

I screwed up. I launched my site after rebuilding it without setting up the proper 301's and traffic immediately dropped about 60%(it's not really something I thought about). After about a week and a ...
3
votes
2answers
180 views

.htaccess Redirect 301 in Wordpress – From Post to Page

By default, Wordpress posts are added to RSS feed. For my website, I want to include Wordpress pages to RSS feed. I know that some plugins could help me. Instead, I try to use redirect 301 in ....
3
votes
1answer
291 views

How can I redirect all files in a directory that doesn't conform to a certain filename structure?

I have a website where a previous developer had updated several webpages. The issue is that the developer had made each new webpage with new filenames, and deleted the old filenames. I've worked with ....
3
votes
1answer
1k views

I'm using a CNAME to send www. traffic to domain without www. Will this hurt my SEO? [duplicate]

Possible Duplicate: Does the “canonical name” in DNS make any difference to search engines? Mu understanding is that CNAME should be used for subdomains and www is just another ...
3
votes
1answer
760 views

Does redirecting old site's URLs to new site's front page hurt a page's ranking?

An old site that is being rewritten needs to have it's URLs redirected to the new site. There are a few hundred pages that may or may not have corresponding pages on the new site, probably with ...
3
votes
1answer
1k views

For SEO, is a 301 or 302 redirect better for affiliate links?

For SEO, is a 301 or 302 redirect better for affiliate links? Are there any benefits/drawbacks for either? PriceGrabber uses 301 Shopzilla uses 302 Nextag uses 302
3
votes
1answer
56 views

How to redirect to style sheet after switching domain names?

We have switched domain names from example.com to example.org . I have set up a general 301 redirect for all of the site URLs in the .htaccess file on the example.com server and all the pages are ...
3
votes
1answer
93 views

htaccess conflicts

The issue that I'm currently forced to handle is related to a folder structure URL being redirected to the same folder structure URL but with a different string. So page-a used to exist but that ...
3
votes
1answer
815 views

Non WWW redirect to WWW and non SSL to SSL - htaccess

I'm trying to redirect my Wordpress site from non www to WWW and non SSL to SSL permamently. Here's the code I'm using: RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{...
3
votes
1answer
838 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....
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 ...
3
votes
1answer
2k views

URL-path with encoded question mark results in incorrect redirect when copied to target URL

I have a simple RewriteRule, appending a string to some URLs: RewriteRule ^labels/([^/]+)/?$ /labels/$1/releases/ [R=301,L,NC] The links are database driven, and this is working very well. Well, ...

1 2 3
4
5
20