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 ...
2
votes
1answer
334 views

How to have .htaccess display 404.html for child pages

I am working on a website example.com that has an error page example.com/404.html. Here's my entire .htaccess file (Apache): # Forces HTTPS RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(....
2
votes
1answer
296 views

I have three virtualhosts on my WAMP Stack, one works, the other gets 404'd

Hi everyone I'm new both to this site and to backend web stuff. Thank you in advance for any and all help. Like I said in my title, I have three vhosts, two of which I can point the browser towards ...
1
vote
1answer
157 views

How to handle 404 errors that look like SQL errors or hacking attempts?

I have an E-commerce site (built on OpenCart 2.0.3.1). I'm using an SEO pack plugin that keeps a list of 404 errors, so we can make redirects. As of a couple of weeks ago, I keep seeing a LOT of 404s ...
1
vote
1answer
61 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/...
2
votes
1answer
201 views

Is it bad for SEO to return a 404 for a page that is temporarily unavailable instead of a redirect to the home page?

Imagine a site that contains 100's of 'homepages' for merchants. (e.g. www.example.com/cool_merchant) Some of these pages may exist for long periods, build up a nice SEO presence, and then be ...
1
vote
2answers
1k views

Automatic redirect of all deleted webpages (that doesn't have a specific redirection) to root?

I want to create an automatic 301 redirect of all deleted webpages (that doesn't have a specific redirection) to root, in .htaccess . Instead of using the following pattern for each of my ~ 150 ...
2
votes
1answer
163 views

Should I redirect all strange URLs in Google Webmaster Tools?

Sometimes strange URLs pop up in Google Webmaster Tools. URLs that I know no one link to, like: http://example.com/apple-app-site-association My site is not about apple, apps or site association. I ...
1
vote
2answers
328 views

Google Webmaster finding url with redirects

I have been scratching my head about this for months, we have about 100 Not found links with 404 response codes. The response code is correct as these pages do no exist anymore, however the thing ...
1
vote
2answers
398 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 ...
3
votes
3answers
1k views

Redirect from 404 page to homepage after some seconds and SEO impact

I've read a lot about that is bad to redirect 404 page to the homepage (soft 404). But I want to know if it's a good idea to redirect, after some seconds, the user from the 404 page (with the error ...
3
votes
1answer
907 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?
4
votes
3answers
2k views

Check for URLs that return my 404 error page

I have made a custom 404 error page called error_404.html In my .htaccess I inserted: ErrorDocument 404 /error_404.html In order to control/correct 404 errors in my website, I would like to know ...
3
votes
1answer
1k views

Is it bad for SEO to change a URL leaving an old broken URL?

I have a blog site. Assume that I have added a page example.com/appleand that blog page has been crawled by Google. The word "apple" is based on the blog title "Apple". Later, I changed the title "...
2
votes
3answers
3k views

How to delete all your old website data from the internet?

I had my website on rohbits.com but for some reasons I had to delete it and recreate it with this URL wwww.rohbits.com/blog. My problem is that the old links are still visible on google search and ...
0
votes
1answer
51 views

URL subfolder rewrite without server access

I am having trouble with the following. I have a site in development that has every link on the site pointing to the wrong folder. Example: example.com/en/home/, a site link goes to example.com/en/, ...
1
vote
2answers
768 views

Serving proper 404/410 error codes on dynamic database driven site

a developer I'm working with is having a difficult time serving 404 errors on dynamically generated pages (they get created when the request is made by querying the database to see if the content ...
3
votes
1answer
275 views

Soft 404 error on redirected outbound links

I have a redirect script on my site which sends visitors to an affiliate site. However in the last month I've noticed that Google webmaster tools is reporting my outbound links as a 404 error. Here is ...
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
12k views

How to redirect specific url to 404 in htaccess?

I want to redirect only one specific URl (ex. mypage.com/1234/page/) to error page 404. How to achieve it in htaccess?
2
votes
2answers
715 views

Send 404 Status Code on www.example.com

Does anyone know if it's at all possible (preferably with .htaccess), to send a 404 error code and page when visiting http://www.example.com but have http://example.com working just fine? I want to ...
1
vote
1answer
56 views

There is website Service for unavailable domains?

I have few domains, I don't want to use it on my website and I want to redirect different server, says site not available. I would be happy if I can set different message for every domain.
1
vote
1answer
292 views

404 Not Found Errors -> Redirect

Hi i have recently moved my forum from Mybb to Vanilla, so the index pages such as showthread.php now do not exist. This is a big problem for SEO, what do I do to redirect this to the home page?
3
votes
1answer
824 views

Removed pages. set them 404 or 301 to home page? [duplicate]

Possible Duplicate: SEO: ecommerce item deleted by user, 301 redirect to HOME PAGE or 404 not found? I decided to delete about 2000 pages because of panda update. Should I just set them 404 or ...
6
votes
1answer
4k views

.htaccess rule to redirect from 404 to search results

When a user (or a bot) request on non existing page, I want to redirect him to the search results. I prefere to do it with the .htaccess file using something like: ErrorDocument 404 /recherche?...
1
vote
1answer
455 views

How to handle redirects & http status codes at urls where a product becomes unavailable?

I have this use case that happens frequently: Lots of products for sale, periodically a percentage goes out of stock. A user still browses in on the old url, to a location where a product used to be....
0
votes
1answer
551 views

Htaccess 404 & 301

The site runs on WordPress (latest) and is installed in /htdocs/www/. This htaccess file is in /htdocs/www/roh/ along with a bunch of images and some CSS. I want requests to the old html files to ...
2
votes
1answer
276 views

Remove directory from Google SE results

I was developing a Joomla site in /new/ which was to replace the Mambo site in the root directory. I thought I put a robots file there to stop bots from crawling the new site, but this is not the ...
4
votes
3answers
914 views

Why can't GoogleBot forget a 404 File Does Not Exist?

For two months now, googlebot is trying to get a file which does not exist anymore. This is just one example out of many: I had renamed the file to a better name and removed the old file. Now, why ...
15
votes
4answers
1k views

ecommerce item deleted by user, 301 redirect to HOME PAGE or 404 not found?

I know this question is someway similar to this one where they recommend using 404, but after reading this other one where they suggest to use 301 when changing site URLs (in the specific case was due ...
15
votes
2answers
3k views

Is it better to have an ErrorDocument 404 redirect back to the homepage or a standard 404 error page?

We run an ecommerce site that was setup by a third party ecommerce software provider, basic shop with product pages, basket and checkout. The third party vendor set up the htaccess file so that if a ...