301 is the HTTP status code for a permanent redirect.

learn more… | top users | synonyms (4)

1
vote
1answer
10 views

Would domain forwarding or parking get my visitors to the same page?

I own the domains example.com and example.org from two different registrars. The main site is hosted under example.org. What is the better method for getting visitors to each domain to land on the ...
4
votes
1answer
799 views

What are the most commonly used and basic Apache htaccess redirects?

This question is here so we can offer users who are looking for information on how to make one or more common or basic redirects in Apache using the htaccess file. All future questions pertaining to ...
1
vote
2answers
374 views

301 redirect all pages with a specific extension

I have a website that is not on ASP anymore, it's a Drupal 7 website now. I need to use an .htaccess file to redirect with code 301 all pages with .asp extension to the 404 page or a specific URL. ...
5
votes
3answers
58 views

How should an expired content be handled?

Let's imagine this simplified case: An auction website has "auction detail" pages. A few weeks after the auction is over, the "auction detail" page is no more available. We are simply serving a ...
1
vote
2answers
141 views

How to remove duplicate URL in Magento site?

I have Magento site and there are so many 301 redirected pages. For example, www.example.com/catalog/product/view/id/910/category/3 is redirected to ...
1
vote
1answer
36 views

How to prevent Google from indexing redirects to external URLs as part of the originating domain?

We have links to external URLs implemented with an HTTP 301 redirects for the purpose of counting clicks. Searching our site in Google using the site: modifier results in the redirecting URLs ...
0
votes
1answer
115 views

How to wildcard 301 redirect inner blog so all current posts work with new blog name?

Say I have the following: http://example.com/blog-domain-name/blog-post.html I want it like this: http://example.com/blog/blog-post.html Can I do this with a simple 301 redirect using wildcard ...
0
votes
2answers
440 views

GWT: reporting crawling errors for non existing links

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 ...
1
vote
1answer
111 views

Change to www from naked domain impact on seo

I have set up my website from the beginning to be used without the www, ie 'naked', with the following command at .htaccess and everything is working fine. RewriteCond %{HTTP_HOST} ...
1
vote
1answer
55 views

multiple shared hosting accounts hosting different subdomains of same addon domain?

I have two shared hosting accounts, each with limited storage space: HostingAccountA with 'PrimaryDomainA', and HostingAccountB with 'PrimaryDomainB'. A negligible amount of storage is being used ...
2
votes
1answer
51 views

Website migration from WordPress to a static site and doing 301 redirects without access to existing site?

Currently working on a project that is a hosted on WordPress that is being migrated to a static site. However I presently do not have access to the existing site as it's managed by another developer. ...
1
vote
2answers
50 views

301ing a 301 URL to yet another 301, bad for SEO?

I am working on a website that has a huge amount of 301s in it due to new versions of the website being roled out and thus different URL structures being used. I have noticed that some of the old ...
0
votes
1answer
37 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
4answers
87 views

Multiple domains (for multiple brands) redirecting to different pages of a website

A "digital agency", call it Acme.com, provides a broad range services from web applications through to copywriting. It wants a single website with separate areas for each department/service area, each ...
1
vote
1answer
46 views

How do I redirect a large number of pages in Wordpress when changing plugins?

I have had a WordPress site for two years. It is hosted on a typical WAMP server. I would change it's theme but the one I have chosen doesn't work with the qTranslate or mqTranslate plugin. I'm ...
2
votes
1answer
88 views

Duplicated content www on subdomain and SSL

I have a eCommerce based on OpenCart, but I was wondering about change my domain name for SEO purposes. For me the critical thing about my changes are the imminent possibility of domain change, I'm ...
1
vote
0answers
87 views

Setup WordPress multi-site installation to handle both subdomain.example.com and www.subdomain.example.com

I have installed a multi-site installation of WordPress onto my domain. I then added the necessary code to the wp-config.php file and .htaccess as instructed by WordPress. I also installed a plugin ...
1
vote
2answers
38 views

Would a redirect from “/” to “http://www.mydomain.com” (to add the www) delist a site?

I am taking over a site for a client, and their SERP is very low for no obvious reason. I found that there is a 301 that looks like this: Redirect 301 / http://www.mydomain.org/ When I look at the ...
3
votes
3answers
383 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 ...
1
vote
1answer
388 views

301 redirect bulk aspx URLs on IIS

We recently relaunched an old ASPX site as a new Drupal site on the same domain. No 301 redirect was implemented. I have outputted a list of 1000 URLs that need to be 301 redirected. Most of the ...
1
vote
2answers
273 views

Bad links point to old domain - should I disavow on new domain?

I am working with a site which we'll call www.newdomain.com, which was hit by Penguin this month despite no unusual practices. I found lots of really spammy links to their old site, ...
1
vote
1answer
43 views

Is it bad SEO practice to redirect home page to a specific article on site?

I have a specific page on my site that I want for now to be the one viewed by default when a user connect to example.com. Still, I want that specific article to maintain his "URL identity" with his ...
1
vote
1answer
31 views

Trailing slash on Root folder - Is it possible to remove it without 301?

I have noticed something very strange on the site I'm working on. We currently only show http://www.example.com. The URL http://www.example.com/ (slash at the end) gets 301ed to ...
1
vote
1answer
288 views

htaccess/cPanel 301 redirects not working for add-on domain

I've already looked at many samples and tutorials how to set up those 301 redirects on Apache and can't figure out why some are not working. Whenever I want to redirect any still existing page from ...
2
votes
1answer
29 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
36 views

Removing trailing slash ONLY for a specific directory

I would like to 301 redirect my URL that has a trailing slash to a URL without a trailing slash. That part is simple (RewriteRule ^(.*)\/(\?.*)?$ $1$2 [R=301,L]) However I only want to do it if that ...
2
votes
1answer
34 views

Redirecting www to non www in subfolder

I have Joomla installed on root folder and another Joomla installed on a subfolder. I want to redirect www to no-www in subfolder by this code in blog .htaccess: RewriteCond %{HTTP_HOST} ...
2
votes
1answer
1k 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
2answers
51 views

How to redirect domain from www.example.it to www.example.eu?

Our company need to migrate domain from: www.example.it -> www.example.eu The example.it have some links with 301 redirects like: example.it/index.php?id=10&link=slug (301 redirect to) -> ...
1
vote
1answer
77 views

Permanent redirections after changing the product links structure on Prestashop

I'm looking at changing the products URLs' structure on a Prestashop (v1.5) website. That process is quite straight-forward and it can be done instantly through the corresponding admin panel. The ...
2
votes
1answer
142 views

Can forwarding https://example.com requests to https://www.example.com be a security risk?

I maintain a retail store's eCommerce website, provided by a 3rd party. The HTTPS links do not load ('ERR_CONNECTION_TIMED_OUT') unless you put in the WWW before the doman name. The HTTP links forward ...
1
vote
1answer
36 views

How to handle multiple domains for one service/product?

I am wondering how to setup (SEO- and SERPs-wise) a product launch with multiple domains. Lets say I have product X and it's an answer for subject A, subject B and subject C. www.example.com is were ...
1
vote
1answer
25 views

What is an optimum redirect / canonical path for this instance?

In assisting with the migration of a friend's site, we discovered that 301 redirects had been created for what are, ultimately, temporary pages. These temporary pages then point to a canonical URL ...
4
votes
1answer
81 views

Add all 301 redirected sites to Google Webmaster Tools?

I have one canonical web site, http://example.com. I also got the .net and .org, domains, so I have 301 redirected all the following to my canonical web site: http://www.example.com ...
1
vote
1answer
40 views

New Domain, Lost SERP

I have a client that recently purchased an industry-related proprietary CMS solution for their website. This company went through the typical designs, and helped them set up their website, etc. etc. ...
1
vote
1answer
14 views

301 htaccess redirect for WordPress tag

I need a 301 redirect for tag pages that have been created, for example: http://www.mydomain.co.uk/tag/endovenous-laser/page/14/?m&pgd=10 It might look something like this I guess, but this did ...
0
votes
1answer
38 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 ...
6
votes
2answers
3k views

How can my site detect mobile phones and switch visitors to a mobile Domain?

My Question is that when user enter the website: http://www.example.com then they will just go to automatically to http://www.example.mobi how can i do this .. is their any technique behind that. ...
1
vote
3answers
47 views

Need a suggestion on how to resolve two pages containing duplicate content

I need a small suggestion about this article regarding my site: http://moz.com/learn/seo/duplicate-content I find that I have 2 pages with the same content and one is using a query string like: ...
2
votes
1answer
80 views

SEO effects of changing the URL path to make segmentation in analytics easier

I am having an e-commerce site and current URL structure is like this: www.example.com/category1 [Category landing page] www.example.com/category1/sub-category [sub-category listing page] ...
3
votes
1answer
70 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 ...
1
vote
2answers
26 views

Redirecting from a link but allowing the link to still be visited with htaccess

I have three versions of an article on a website. Each one is written a few years after the last and updates the topic to keep it fresh and I want to redirect traffic from the older ones to the newer ...
2
votes
1answer
34 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
2answers
99 views

Redirect Everything After slash (/) to another directory

I'm sure this is an easy thing to do but I can't seem to find the answer! I'm trying to redirect https://carddav.example.com/MYUSERNAME to ...
2
votes
1answer
997 views

Remove multiple trailing slashes in a single 301 in .htaccess?

There is a similar question here, but the solution does not work in Apache for our site. I'm trying to remove multiple trailing slashes from URLs on our site. I found some .htaccess code that seems ...
3
votes
2answers
84 views

Remove extension from URL using a rewrite without resulting in a redirect loop

On the server, I have a file (on the filesystem) called page.html, which I want to be accessed as site.com/page So if someone goes to site.com/page.html, it should 301 redirect to site.com/page I've ...
0
votes
4answers
43 views

Problem getting rewrite from subdomain to directory to work

I want to redirect demo.example.com to example.com/my-demo. This is my rewrite rule, but I'm not getting it to work on my production server: RewriteCond %{HTTP_HOST} ^demo\.example\.com ...
0
votes
0answers
21 views

Google Indexing PHP pages with and without backslash [duplicate]

How can we use the .htaccess file to only have our pages indexed by Google without the trailing slash. Right now both pages are being indexed.
2
votes
2answers
45 views

Can we preserve our old domains Pagerank but cut all ties with the old domain such that it doesn't redirect?

Here's the situation - a client of mine has recently changed their company name and have changed their web address. They want to completely cut all ties with their old brand, so they have told me that ...
3
votes
2answers
70 views

non-cachable Canonical redirect of www to non-www

I know this question is debatable for the whole eternity, and most likely nobody knows the real philosophy of this problem. But I'm trying to solve the problem about 301 and 302 response headers in ...