We’re rewarding the question askers & reputations are being recalculated! Read more.

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1
vote
1answer
33 views

Using htaccess to redirect 301 for domain change

I am currently moving a domain from one to the other, this is not an HTTPS move but rather a move from exampleone.co.uk to exampletwo.co.uk. I am using this code: <IfModule mod_rewrite.c> ...
4
votes
1answer
80 views

Reasons to use a custom 404 page that redirects with code vs a 301 redirect?

We are moving a website from Joomla to Mura and some of the pages are going to be located at different URLs. I can set up 301 redirects in the rules section of the web.config file in order to ...
1
vote
1answer
43 views

404 to 301 Permanent Redirect a good idea?

I have a domain which I bought in 2013 and stopped working on it in 2015. I recently started to work on it again. The website had around 150 articles which I deleted a long time ago. While none of ...
1
vote
1answer
37 views

A website has more than 5000 404 Errors, is this a problem? [duplicate]

I have a website of one of my clients that allows the user to delete pages by themselves with a form. When a page is deleted the website generates a 404 Error. The deleted pages total about 5000, and ...
1
vote
3answers
828 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
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-...
1
vote
1answer
46 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 ....
1
vote
1answer
310 views

Which HTTP response status code is most appropriate for a restricted URL?

I have a page on my website that's targeted at logged-in users only. Logged-out visitors shouldn't see the content. Imagine the page URL is example.com/upload/. In cases when users aren't ...
2
votes
1answer
69 views

301 an “extinct” URL to a “404” page with 200 status code

This is a bit of a weird one but I'll explain as best I can: After a redesign, content was migrated and mapped to a new URL structure (same domain). However, there are still a lot of URLs 404ing that ...
1
vote
1answer
60 views

How does this link redirect? [closed]

Following this link in a web browser http://www.esdc.gc.ca/en/cpp/post_retirement/eligibility.page eventually leads to https://www.canada.ca/en/services/benefits/publicpensions/cpp/cpp-post-retirement/...
3
votes
3answers
453 views

Does it hurt SEO to have a language redirect before 404?

I have a Django website with activated translation middleware for several languages. If a user tries to open example.com/abc this happens: the middleware detects the user language (from cookie, ...
0
votes
0answers
147 views

Search Console Fetch Not Found and Redirect

When fetching a URL in Search Console i get 3 results; success, redirect and not found. Can I ignore the redirect warnings or is Google telling me there is a problem? The not found pages; I can not ...
1
vote
2answers
396 views

Website restructuring, 301 redirect or complete de-index?

I am managing an e-store site created by another colleague, that was badly created from the start. Because of the structure, pagination and user browser capabilities combined with lack of meta robots ...
1
vote
0answers
28 views

How to redirect sub-domain not found? [duplicate]

Suppose my site - example.com had a subdomain - subdomain.example.com which I have deleted. How do I redirect the not found error in PHP or the mod_rewrite (.htaccess)?
2
votes
3answers
2k views

Would redirecting to a 404 be ok for SEO?

There was an old website located at http://example.com. Then it has been replaced by a new website, with a totally new url configuration, leaving old domain, but switching to https-only. So now all ...
1
vote
1answer
2k views

How to redirect URLs with percent encoded characters and query strings?

I have these URLs: http://www.example.com/example.html%20text-decoration:%20none%E2%80%9D%3Eexample.com%3C%20%3C/i%3E%3C/span%3E%3Cbr%3E%3Cbr%3E%3Cbr%3E%3Ctable%20bgcolor= http://www.example.com/...
3
votes
1answer
906 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 ...
1
vote
1answer
53 views

What defines a permenant redirect?

I'm a little confused between a 301 redirect, the javascript meta http-equiv="refresh approach and lastly using a 404 which can work out where you wanted to get to and then forward you on. I can see ...
2
votes
1answer
71 views

Should I 301 permanent redirect to my custom 404 page?

I'm trying to figure out the correct way to send visitors to a custom 404 page when they hit a page that doesn't exist. Is issuing a 301 redirect to the custom 404 page the recommended method?
1
vote
3answers
329 views

When Google gives up recrawling 301 that led to 404?

I've transferred a domain and made a mistake in the redirects (the URL structure is identical). Even though they went to the new domain, the error caused a 404 when crawled by Google bot. 10 days ...
9
votes
4answers
1k views

301 redirect to 404 page or set status code to 404 and stay on page?

I have a number of pages on my website that only administrators can access and access to these pages is given if a querystring value if found and correctly set. For example: http://www.mydomain.com/...
0
votes
0answers
11 views

Moving commerce products from one domain to another [duplicate]

I'm the developer for a small online webstore - surfhq.co.uk. We've just moved a subsection of products (the bodyboarding products), off surfhq.co.uk on to bodyboardhq.co.uk to sell them there instead....
0
votes
0answers
33 views

Will moving some ecommerce products from one domain to another with redirects cause SEO penalties? [duplicate]

I'm the developer for a small online webstore. We've just moved a subsection of products (the bodyboarding products), off surfhq.co.uk on to bodyboardhq.co.uk to sell them there instead. We didn't ...
0
votes
1answer
368 views

Fetch as google - getting both 301 and 404

I am getting this from fetch as Google: HTTP/1.1 301 Moved Server: nginx Date: Wed, 22 Jan 2014 23:07:58 GMT Content-Type: text/html; charset=utf-8 Content-Length: 20 Connection: keep-alive Status: ...
5
votes
4answers
1k views

Is it ok to 301 redirect deleted pages to the homepage in order to preserve link juice? — Even if the homepage is unrelated content?

I'm about to delete 40+ pages that have quality link juice (I'm deleting them for copy write issues). I'd prefer not to do a 404 header on all of them, because I want to preserve inbound links to ...
1
vote
2answers
3k views

Does it make sense to throw a 404 error with PHP?

Problem Description Hi, The current setting of my .htaccess file does not allow any kind of 404 (as far as I know). I mean, it captures every kind of url like mysite.com/asfasfasf then sends it to ...
0
votes
0answers
20 views

Best way to handle query string params no longer used [duplicate]

A client's SEO "expert" has recently asked us to redirect hundreds of URLs to the home page but we're not sure if her request is the best way of going about it. Here's the situation: The clients ...
0
votes
2answers
478 views

Redirecting non existing post to homepage; is that good for SEO? [duplicate]

I am checking my website out on Google Webmasters and I am seeing an astonishing 5000 links that could not be found by Google's Crawlers. That's normal, because my website is built in a manner that ...
0
votes
1answer
78 views

Consequence of redirecting ALL 404s on a site

I've just gone through my sites 404 list and redirected all of them to the front page. There were in general 2 categories of links. The first was relative links of client sites which we may have ...
4
votes
1answer
315 views

What Google will do while switching from 301/404 to 200?

Imagine a pagination script with 20 total pages: articles.php?page=18 What should I do when some third party web site links to a non-existent page? articles.php?page=21 (page 21 is out of ...
1
vote
2answers
924 views

Google Webmaster Tools is reporting crawl errors for URLs with “joomla” on a WordPress site

Google Webmaster Tools is reporting crawl errors for links that never existed, and if i check the "Linked from" tab for a given error link, it shows another that never existed. They all mention ...
2
votes
1answer
120 views

Why are perfectly legitimate pages on my website registering in Google Webmasters as 404?

I have seen this question asked several times here, but never clearly answered. I suspect it has something to do with my .htaccess file: # BEGIN WordPress <IfModule mod_rewrite.c> ...
6
votes
2answers
283 views

serious 404 problem, suggestions for hunting them all down

I have a bit of a situation coming up. Due to a complete website structure redesign that is basically inevitable, I expect to have the following: Our sitemap of about 12,000 url's have about 90-95% ...
3
votes
3answers
136 views

What is the best way to deal with 404s that are all trying to point to the same page that are from an external site?

I started getting 404s showing up in my Google Webmaster's Tools from a site linking to a specific category but with odd characters at the end of the URL. So Something like this: http://example.com/...
2
votes
2answers
362 views

Tool to generate list of redirections (sitemap for .htaccess)

Is there any good tool (preferably for Ubuntu), that can help me generate a list of URLs used on a site? I'm building new version of some site, but I don't want to get 404 errors for the old pages. ...