Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
My page has a 302 redirect and I don't know how to get rid of it!
- 
					
					
					
					
 I use Internet Officer tool to see the 302 redirect but I check the redirects in the CPanel and there are none. In the .htaccess there are none either. I don't know where else to look  The url is http://servicioshosting.com Can you guys help me? I can't set up a campaign because Google can't crawl the website. I can't setup the Facebook OpenGraph because of the redirect. 
- 
					
					
					
					
 I had this problem exactly and it turns out it was an index file on the server for the old page. It was the only temporary redirect on the site so it was driving me mad and I wanted rid of it! FTP onto the server and check the folder for the old page which will likely contain an index file. the 302 was in there for us. This is an old question but posting this for people in future. 
- 
					
					
					
					
 If you're sure that the files on mamp and what's on the server are the same, then perhaps your hosting company is doing something or there's something in the config of the web server. Sorry Vanessa, that's as much as I can help with - guess you need to find someone who knows whmcs  Good luck, would be good to know how it works out and what the solution is. 
- 
					
					
					
					
 It didn't work  
 Something strange: I have the site running locally in my computer with MAMP. When I check the HTTP response in my local website it doesn't have the redirect, it has an OK 200 code.Could this mean it's a server issue? And if so, where do I check? 
- 
					
					
					
					
 Sorry, on the edge of my knowledge, perhaps try removing those lines and seeing the effect? (I'd try removing them one at a time starting with the second one). 
- 
					
					
					
					
 Yes, I checked and whenever there is a cookie set the 302 redirect disappears. If I delete the cookies it comes back. The system I use for the website template is the WHMCS, there is a file for setting the cookie for affiliates links (aff.php), and at the end there is this: header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$CONFIG["Domain"]); 
- 
					
					
					
					
 I don't think that's it - that's a 301 redirect and the issue you reported is a 302. If you see the same issue I do with cookies affecting the result, then I'd suggest that is a clue - as far as I know htaccess redirects don't make use of cookies. 
- 
					
					
					
					
 Ok, I'm looking. I also check the .htaccess again. Could this be the redirect: RewriteCond %{HTTP_HOST} ^servicioshosting.com$ [OR] RewriteCond %{HTTP_HOST} ^www.servicioshosting.com$ RewriteRule ^whmcs/?$ "http://www.servicioshosting.com/clientarea.php" [R=301,L] I keep erasing the first two lines and they keep coming back when I check back the .htaccess, 
- 
					
					
					
					
 IT could be an on-page redirect . Open up your index file equivalent and look for something like Header( "Location:http://servicioshosting.com/" );
- 
					
					
					
					
 I get this using httpfox. 302 Redirect to: / http://servicioshosting.com/ I also see the redirect on https://www.servicioshosting.com/index.php when I first switched to English language from the home page. Then when reloading https://www.servicioshosting.com/index.php there was no 302. I also noticed that when I deleted servicioshosting.com cookies and reloaded https://www.servicioshosting.com/index.php the 302 was back. So I suspect it is something to do with the way the CMS is using cookies, since crawlers don't set cookies they get the 302. I guess you'll need to dig into the CMS/talk to a developer. Good luck! 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Pages with Duplicate Content Error
 Hello, the result of renewed content appeared in the scan results in my Shopify Store. But these products are unique. Why am I getting this error? Can anyone please help to explain why? screenshot-moz.groupbuyseo.org-2021.10.28-19_53_09.png Moz Pro | | gokimedia0
- 
		
		
		
		
		
		Pages with Temporary Redirects on pages that don't exist!
 Hi There Another obvious question to some I hope. I ran my first report using the Moz crawler and I have a bunch of pages with temporary redirects as a medium level issue showing up. Trouble is the pages don't exist so they are being redirected to my custom 404 page. So for example I have a URL in the report being called up from lord only knows where!: www.domain.com/pdf/home.aspx This doesn't exist, I have only 1 home.aspx page and it's in the root directory! but it is giving a temp redirect to my 404 page as I would expect but that then leads to a MOZ error as outlined. So basically you could randomize any url up and it would give this error so I am trying to work out how I deal with it before Google starts to notice or before a competitor starts to throw all kinds at my site generating these errors. Any steering on this would be much appreciated! Moz Pro | | Raptor-crew0
- 
		
		
		
		
		
		Add to cart redirect using 302
 I am getting a list of crawl errors in Moz because I am using a 302 redirect when people click on an item using the quickview add to cart eg:http://copyfaxes.com/cart/quickadd?partno=4061 will redirect them to the viewshoppingcart page. Is this wrong should this be a 301 redirect? There is no link juice to pass. Thanks Moz Pro | | copyfaxes10
- 
		
		
		
		
		
		How long for authority to transfer form an old page to a new page via a 301 redirect? (& Moz PA score update?)
 Hi How long aproximately does G take to pass authority via a 301 from an old page to its new replacement page ? Does Moz Page Authority reflect this in its score once G has passed it ? All Best Moz Pro | | Dan-Lawrence
 Dan3
- 
		
		
		
		
		
		Is there a way to get the domain authority of a subdomain?
 For example, www.storage-mart.com and us.storage-mart.com both show the same DA in OSE. I believe it's the DA of the root domain. How can I compare the DA of the 'www' and 'us' subdomains? Moz Pro | | Whitespark0
- 
		
		
		
		
		
		Redirect analysis tool
 I'm looking for a tool like this: http://www.internetofficer.com/seo-tool/redirect-check/ that can check hundreds/thousands of URLs and give me a report as to which ones have been redirected. Does anyone know of something that can do this? Moz Pro | | glass010
- 
		
		
		
		
		
		How do you guys/gals define a 'row?'
 I have a question about calls to the API and how these are measured. I noticed that the URL Metrics calls allow a batch of multiple URLs. We're in a position where we need link data for multiple websites; can we request a single row of data with link information for multiple URLs, or do we need to request a unique row for each URL? Moz Pro | | ssimburg0
- 
		
		
		
		
		
		Fetch googlebot for sites you don't own?
 I've used the "fetch as googlebot" tool in Google webmaster tools to submit links from my site, but I was wondering if there was any type of tool or submission process like this for submitting links from other sites that you do not own? The reason I ask is, I worked for several months to get a website to accept my link as part of their dealer locator tool. The link to my site was published a few months ago, however I don't think google has found it and the reason could be because you have to type in your zip code to get the link to appear. This is the website that I am referencing: http://www.ranchhand.com/dealers.php?zip=78070&radius=20 (my website is www.rangeroffroad.com) Is there any way for Google to index the link? Any ideas? Moz Pro | | texmeix0
 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				