Problem with redirects in coldfusion
-
How to redirect pages in cold fusion? If using ColdFusion and modrewrite, the URL will never be redirected from ModRewrite.
-
Hi!
The "Analyze Issues by Page" section actually just says that we didn't crawl that URL, not that it throws a 500 so there isn't an analysis we can provide.
http://screencast.com/t/4dY8SZBs
You can wait to see if that page is crawled during your next weekly update or run a crawl through the Crawl Test tool (in Research Tools). Crawl test will give you an analysis of up to 3k pages. There is a chance it still won't be crawled, but it is a way to get updated diagnostic data before the next scheduled weekly crawl.
There was one 500 reported in the crawl and I can confirm it's still throwing that error, but it's a completely different page. Hope this helps clear things up!
-
Ok, it looks like you've set up your redirects correctly. Let me see if I can get someone who can help figure out what's going on with your crawl report.
- Jen
-
I use Crawl Diagnostic 'Analyze Issue Page by Page' and when I check this page: http://www.weddingrings.com/item.cfm?str_shortdesc=UNIQUE it returns 500 error and doesn't show redirect
-
I just checked your URL and it does show a 301 redirect in my browser, in our Moz toolbar, and with our Moz crawler. Are you possibly looking at an old crawl report?
Thanks!
Jen
-
I am trying to put redirects in cold fusion but when I crawl the page in moz analytics it still gives me error 500.
The redirect should point from
http://www.weddingrings.com/item.cfm?str_shortdesc=UNIQUE
to
I use the following code
<cfif query_string="" eq="" "str_shortdesc="UNIQUE""><cfheader statuscode="301" statustext="Moved Permanently"><cfheader name="Location" value="/item.cfm?str_shortdesc=UNIQUE%20CARRE%20CUT%20DIAMOND%20ETERNITY%20BAND&str_category=Diamond-Bands-and-Gold-Rings&grouping_id=9&category_id=21&int_item_id=6884"><cfabort></cfabort></cfheader></cfheader></cfif>
-
Hello! Can you give a bit more information about your set up? Coldfusion does have redirect tags you can use, but normally Coldfusion runs on IIS, so you need to set up the redirects there.
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 that 301 redirect to a 404
We are going through a website redesign that involves changing URL's for the pages on our site. Currently all our pages are in the format domain.com/example.html and we are moving to stip off the .html file extension so it would just be domain.com/example We have thousands of pages as the site deals with news so building a redirect for each individual page isn't really feasible. My plan is to have a generic rewrite rule that redirects any page that ends .html to the stripped off version of this. A problem I can see with this is that it will also redirect pages that don't exist. So for example, domain.com/non-existant-page.html would 301 to domain.com/non-existant-page which would then return a 404 status. What would the SEO repercussions be for this? Obviously if a page doesn't exist already then it shouldn't show up in the search engine indexes and shouldn't be a problem but I'm a bit worried about how old pages that currently legitimately 404 will be treated when they start to 301 redirect to a 404 instead. Not sure if there any other potential issues from this that I've missed either? Thanks!
Intermediate & Advanced SEO | | sbb0240 -
H1 tag on website logo problem?
Currently my website is having H1 tag on website logo and also h2 tag on post title. I think for seo it is good to use H1 to my post title and H2 to website logo?
Intermediate & Advanced SEO | | MasonBaker0 -
301 redirections done too late - What do you suggest?
Hi, When pushing our new site live, most of the 301 redirections got done too late for several reasons. Understandably, our site rankings in google have taken a hit now. So far we have just tried to perfectly optimize the pages that used to rank well (They weren't even optimized before and were still ranking) , to get our positions back. But does anyone have an idea about what else we could do? Is there a recommended "action plan" when someone is late with their 301 redirections?
Intermediate & Advanced SEO | | JohanMattisson0 -
Can there be to many 301 redirects
Is it possible to have to many 301 redirects. I am currently looking at 156 of them. Does this create any quality issues with regard to site performance or any other issues. Thank you for your consideration!
Intermediate & Advanced SEO | | APICDA0 -
Redirection strategy for mobile site
Hello folks! I am just about to launch a mobile specific version of our website. We were not able to make the main site responsive so have decided to make a seperate copy on an m dot subdomain. I have kept the url structure identical between both sites and added a canonical url on the mobile pages pointing to the desktop site. I will detect and redirect all mobile devices and googlebot mobile crawler to the m dot site. The questions i have are as follows... Is that the best approach if you use a mobile specific site on a seperate subdomain? What type of redirects should i use to send mobile users (and googlebot mobile) to the mobile site? My mobile site does not have all the pages the desktop site has. What happens if i redirect a mobile user from a page on the desktop site to a page on the mobile site that does not exist? (will give 404 currently). I guess i could maintain a list of valid mobile urls but this would be a pain (and a bit of an overhead) Your help is most appreciated Regards
Intermediate & Advanced SEO | | RobertHill0 -
Robots.txt 404 problem
I've just set up a wordpress site with a hosting company who only allow you to install your wordpress site in http://www.myurl.com/folder as opposed to the root folder. I now have the problem that the robots.txt file only works in http://www.myurl./com/folder/robots.txt Of course google is looking for it at http://www.myurl.com/robots.txt and returning a 404 error. How can I get around this? Is there a way to tell google in webmaster tools to use a different path to locate it? I'm stumped?
Intermediate & Advanced SEO | | SamCUK0 -
My site penalized after 301 Redirect or redesign?
Hi, I have a question regarding my site (http://www.pokeronlineitalia.com) that has, all of a sudden, lost rankings on several keywords; plus, Google Analytics and the plug-in Clicky installed on my site (the site is built on WordPress) claim that my site has no visitors/visits anymore. I would like to provide a little background of what has happened. Three weeks ago I asked my web hosting company to do a 301 redirect from http://pokeronlineitalia.com to http://www.pokeronlineitalia.com. At the same time I asked a web hosting company to to a redesign of the site. Strangely, the day after the new redesigned site went online Google Analytics and the Clicky plug-in showed that my site, from one day to the other, had no visitors/visits anymore (I had installed Google Analytics and Clicky before the 301 redirect). In addition, I noticed that I had lost positions on many keywords for which I used to rank on the second page. However, the PR of the site has remained intact and Google is indexing it without problems. Plus, I still rank high for a keyword. I tend to believe that because of this, my site was not penalized by mighty Google...but I'd like an SEO expert to tell me what he thinks about it. In particular, please answer this: has my site lost rankings because of the 301 redirect? Has my site been penalized because of the redesign? Is this only a temporary situation? Thank you very much for your help. Sal
Intermediate & Advanced SEO | | salvyy0 -
Redirecting multiple websites to a single website
I've been trying to run several truck accessory affiliate websites for a quite a while now. I've recently decided to combine all of my affiliate websites into a single community website. This way I'll be able to focus all my energy and link building into a single place and build up a single brand. My question is, how many websites do I try to redirect to the new website at a time? Do I need to spread this out? Or is it ok if I move all of my content and websites at a single time? I have around 30 websites that I could move to this new domain. Thanks! Andy
Intermediate & Advanced SEO | | daenterpri0