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.
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!:
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!
-
Hi Guys, OK so we resolved this and it's a Microsoft issue!! and a schoolboy mistake from me!
We use "Web User Controls" on the website that allow us to write re-usable modules for things like headers, burger menus and footers in an ASP.NET web solution. We then drag and drop the onto any page and if we need to change them then we just change the core web user control HTML.
The rogue links were coming from these web user controls, when they were on pages in the rogue directories.
Now the reason we had this fault on this website on not on any other was because we made the mistake of using standard HTML
Well if the page is in the root directory then no problem. If you want to go to the home.aspx page then the link is fine (HOME
However if you put this footer on page in a sub folder then you need to change the link to ../home.aspx, but you can;t do that or all the pages in the root folder go squeewy. So this is why you use an ASP:Hyperlink control instead, this allows you to define a page from root with the ~/home.aspx link.
This is where all of these rogue pages were coming form.
TY for the help guys.
-
Hi There, I sent you a PM last week but no cigar so far!
I can't see a way to send you an attached file, I am guessing I am waiting for an email for you?
Dave
-
Hi There
Sorry for the delay, stag do at the weekend and Windows update trashed my PC today!!
So I will PM you with the spreadsheet, massive appreciation for taking a look.
-
I guess I need to know where the heck these could be coming from?
There is a town of Heck in the UK, but the links are probably not from there. Sorry, I digress.
I would need to look at the CSV, as I think you might be seeing part of a loop in your example above as if I am reading it correctly you have a page linking to itself that redirects to another page.
PM me your website URL and send the CSV.
-
Hi Guys
TY for the help, however the website is a raw and simple IIS one. I have root access to the server and we manually upload and update all the sites we run, nothing fancy. There's no CMS, just good old .aspx pages, images and a few folders. The website is pretty static.
So here's some info from 1 entry in the CSV file of the report: (Replaced domain just to keep it private)
URL: http://domain.com/casestudies/home.aspx
HTTP Code: 302
Redirect URL: /Error404.aspx?aspxerrorpath=/casestudies/home.aspx
Referrer:
http://domain.com/casestudies/Home.aspx
I have double checked there are no accidental pages at these locations.
I have been setting up some rewrite/redirect rules, but these are allthe noemal trainling slah, www to root, removal of .aspx and some specific page redirects fro the old site but thats it.
I guess I need to know where the heck these could be coming from?
Dave
-
I have a URL in the report being called up from lord only knows where!:
Well, the good Lord does know where those pages are linked to due to the whole omnipotent thing He has going on, but if the Moz bot found those pages then that means that the bot knows and you can too! If Moz bot found the links, then somewhere, someplace on your site, there are links to those pages. Somewhere in your CMS or due to a typo, those links are being generated on your website.
If you download the CSV within the Moz crawl report section, you can look in the column that shows what pages link to those pages that do not exist anymore and have the temp 302 redirect url. You can then go to those pages that link to the 302s and update them to correct the 302 redirect links. I would do this ASAP on those 302 redirects. You can also use other spider tools such as Screaming Frog, or Botify or Site Condor (there are a bunch out there) to find links like this.
One other suggestion, I assume if you have a temporary redirect, you are seeing a 302 (temporary) vs a 301 (permanent) redirect. If you can, setup your server to use a 404 (page not found) vs the 302 (temporary redirect) when a page does not exist. IMHO, 302s are from Satan himself and I have seen them wreak havoc on how Google indexed one of my sites when I used them. At least with the 404 you get the right signal to Google and then when the crawler finds them, you do not have to be as worried about them.
Good luck and keep the faith!
-
Are you using a CMS? Often some archive files or sitemap, could generate traffic to pages which doesn't exist. How about a search function? Do you have any type of domain.com/s=?something that is being linked to?
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Pages with URL Too Long
Hello Mozzers! MOZ keeps kindly telling me the URLs are too long. However, this is largely due to the structure of E-commerce site, which has to include 'brand' 'range' and 'products' keyword. For example -
Moz Pro | | tigersohelll
https://www.choicefurnituresuperstore.co.uk/Devonshire-Rustic-Oak-Bedside-Cabinet-1-Drawer-p40668.html MOZ recommends no more than 75 characters. This means we have 25-30 characters for both the brand name and product name. Questions:
If it is an issue, how to fix it on my site?
If it's not an issue, how can we turn off this alert from MOZ?
Anyone know how big an issue URLs are as a ranking factor? I thought pretty low.0 -
Should I set blog category/tag pages as "noindex"? If so, how do I prevent "meta noindex" Moz crawl errors for those pages?
From what I can tell, SEO experts recommend setting blog category and tag pages (ie. "http://site.com/blog/tag/some-product") as "noindex, follow" in order to keep the page quality of indexable pages high. However, I just received a slew of critical crawl warnings from Moz for having these pages set to "noindex." Should the pages be indexed? If not, why am I receiving critical crawl warnings from Moz and how do I prevent this?
Moz Pro | | NichGunn0 -
Is one page with long content better than multiple pages with shorter content?
(Note, the site links are from a sandbox site and has very low DA or PA) If you look at this page, you will see at the bottom a lengthy article detailing all of the properties of the product categories in the links above. http://www.aspensecurityfasteners.com/Screws-s/432.htm My question is, is there more SEO value in having the one long article in the general product category page, or in breaking up the content and moving the sub-topics as content to the more specific sub-category pages? e.g. http://www.aspensecurityfasteners.com/Screws-Button-Head-Socket-s/1579.htm
Moz Pro | | AspenFasteners
http://www.aspensecurityfasteners.com/Screws-Cap-Screws-s/331.htm
http://www.aspensecurityfasteners.com/Screws-Captive-Panel-Scre-s/1559.htm0 -
Tool recommendation for Page Depth?
I'd like to crawl our ecommerce site to see how deep (clicks from home page) pages are. I want to verify that every category, sub-category, and product detail page is within three clicks of the home page for googlebot. Suggestions? Thanks!
Moz Pro | | Garmentory0 -
How to remove 404 pages wordpress
I used the crawl tool and it return a 404 error for several pages that I no longer have published in Wordpress. They must still be on the server somewhere? Do you know how to remove them? I think they are not a file on the server like an html file since Wordpress uses databases? I figure that getting rid of the 404 errors will improve SEO is this correct? Thanks, David
Moz Pro | | DJDavid0 -
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 -
Redirected pages still sending response code 200
SEO Moz tool reports missing title tags on all the links that have been redirected. E.g. this page: http://www.imoney.my/ms/personal-loan When I check the response code on the page with redirect checker it shows code 200 (page exists). Has it happened to anyone else? How can a redirected page send a 200 code?
Moz Pro | | imoney0 -
Some questions on Canonical tag AND 301 redirect
Hi everyone, I'm new here - always loved SEOMoz and glad to be part of the Pro community now. I have 2 questions regarding the Canonical URL tag. Some background info: We used to run an OsCommerce store, and recently migrated to Magento. In doing so, we right away created 301 redirects of the old category pages (OsCommerce) to the new category pages (Magento) via the Magento admin. Example: www.example.com/old-widget-category.html
Moz Pro | | yacpro13
301 redicrected to
www.example.com/new-widget-category.html In Magento admin, we have enabled the Canonical tag for all product and category pages. Here's how Magento sets up the Canonical tag: The URL of interest which we want to rank is:
www.example.com/new-widget-category.html However Magento sets up the canonical tag on this page to point to:
www.example.com/old-widget-category.html When using the SEOMoz On Page Report Card, it pick this up as an error because the Canonical tag is pointing to a different URL. However, if we dig a little deeper, we see that the URL being pointed to
www.example.com/old-widget-category.html
has a 301 redirect to
www.example.com/new-widget-category.html
which is the URL we wan to rank. So because we set up a 301 redirect of the old-page to the new-page, on the new-page the canonical tag points to the old-page. Question 1)
What are you opinions on this? Do you think this method of setting up the Canonical tag is acceptable? Second question... We use pagination for category pages, so if we have 50 products in one category, we would have 5 pages of 10 products. The URL's would be: www.example.com/new-widget-category.html (which is the SAME as ?p=1)
www.example.com/new-widget-category.html?p=1
www.example.com/new-widget-category.html?p=2
www.example.com/new-widget-category.html?p=3
www.example.com/new-widget-category.html?p=4
www.example.com/new-widget-category.html?p=5 Now ALL the URLs above have the canonical tag set as:
<link rel="canonical" href="http://www.example.com/new-widget-category" /> However, the content of each page (page 1, 2, 3, 4, 5) is different because different products are displayed. So far most what I read regarding the Canonical tag is that it is used for pages that have the same content but different URLs. I would hope that Google would combine the content of all 5 pages and view the result as a single URL www.example.com/new-widget-category Question 2) Is using the canonical tag appropriate in the case described above? Thanks !0