Not allowing me 301 Redirect
-
I am trying redirect my old site to my new site, both on the same domain. For one reason or another, I am having a hard time redirecting the some of the old urls to the new site. Please let me know how I can fix this issue.
Below are the following old urls that are not allowing me to redirect:
<colgroup><col width="636"></colgroup>
| http://www.meliacaribetropical.com/press/melia-caribe-tropical-announces-fall-promotion.html |
| http://www.meliacaribetropical.com/press/melia-international-brand-overhaul.html |
| http://www.meliacaribetropical.com/spanish/accommodations/ |
| http://www.meliacaribetropical.com/spanish/dining/ |
| http://www.meliacaribetropical.com/spanish/entertainment/ |
| http://www.meliacaribetropical.com/spanish/events/ |
| http://www.meliacaribetropical.com/spanish/flintstones/ |
| http://www.meliacaribetropical.com/spanish/gallery/ |
| http://www.meliacaribetropical.com/spanish/gallery/beach.html |
| http://www.meliacaribetropical.com/spanish/gallery/dining.html |
| http://www.meliacaribetropical.com/spanish/gallery/pools.html |
| http://www.meliacaribetropical.com/spanish/press/ |
| http://www.meliacaribetropical.com/spanish/press/melia-caribe-tropical-announces-fall-promotion.html |
| http://www.meliacaribetropical.com/spanish/press/melia-international-brand-overhaul.html | -
Will do. I'll let you know what happens.
-
try using "redirect 301 old.html new.html" that is the traditional way using a 301 with an .htaccess file.
-
Hi Roger,
This is part of our .httaccess for the redirects.
I don’t understand why the destination page is different from the one is configured in the apache server.. Any ideas?
<virtualhost 192.168.200.25:80=""></virtualhost>
ServerAdmin ecommerce@sol-group.com
DocumentRoot /home/www/solgroup/americas/meliacaribetropical.com
ServerName www.meliacaribetropical.com
ServerAlias meliacaribetropical.com
Redirect permanent /spanish/services/ http://www.meliacaribetropical.com/en/services.html
Redirect permanent /entertainment/ http://www.meliacaribetropical.com/en/services.html
Redirect permanent /press/ http://www.meliacaribetropical.com/en/index.html
Redirect permanent /spanish/ http://www.meliacaribetropical.com/es/index.html
Redirect permanent /es/restaurantes/ http://www.meliacaribetropical.com/es/gastronomia.html
Redirect permanent /spanish/entertainment/ http://www.meliacaribetropical.com/es/servicios.html
Redirect permanent /spanish/services/ http://www.meliacaribetropical.com/es/servicios.html
Redirect permanent /es/spa/ http://www.meliacaribetropical.com/es/servicios.html
Redirect permanent /spanish/accommodations/ http://www.meliacaribetropical.com/es/habitaciones.html
Redirect permanent /spanish/spa/ http://www.meliacaribetropical.com/es/servicios.html
Redirect permanent /spanish/royal/ http://www.meliacaribetropical.com/es/servicio-real.html
Redirect permanent /spanish/dining/ http://www.meliacaribetropical.com/es/gastronomia.html
Redirect permanent /spanish/flintstones/ http://www.meliacaribetropical.com/es/index.html
Redirect permanent /es/galeria/ http://www.meliacaribetropical.com/es/visor.html
Redirect permanent /spanish/gallery/ http://www.meliacaribetropical.com/es/visor.html
Redirect permanent /es/reuniones-eventos/ http://www.meliacaribetropical.com/es/grupos.html
Redirect permanent /lowest-rate.php http://www.meliacaribetropical.com/en/index.html
Redirect permanent /es/los-picapiedra/ http://www.meliacaribetropical.com/es/index.html
Redirect permanent /gallery/beach.html http://www.meliacaribetropical.com/en/index.html
Redirect permanent /gallery/dining.html http://www.meliacaribetropical.com/en/gastronomy.html
Redirect permanent /gallery/pools.html http://www.meliacaribetropical.com/en/index.html
Redirect permanent /spanish/sitemap.html http://www.meliacaribetropical.com/es/index.html
Redirect permanent /es/galeria/playa.html http://www.meliacaribetropical.com/es/index.html
Redirect permanent /es/galeria/restaurantes.html http://www.meliacaribetropical.com/es/gastronomia.html
Redirect permanent /es/galeria/piscinas.html http://www.meliacaribetropical.com/es/index.html
Redirect permanent /es/prensa/ http://www.meliacaribetropical.com/es/index.html
Redirect permanent /spanish/gallery/beach.html http://www.meliacaribetropical.com/es/index.html
Redirect permanent /spanish/gallery/pools.html http://www.meliacaribetropical.com/es/index.html
Redirect permanent /spanish/gallery/dining.html http://www.meliacaribetropical.com/es/gastronomia.html
Redirect permanent /spanish/press/ http://www.meliacaribetropical.com/es/index.html
Redirect permanent /en/groups.html http://www.meliacaribetropical.com/en/groups.html
Redirect permanent /terms-condition.php http://www.meliacaribetropical.com/en/index.html
Redirect permanent /es/all_inclusive.html http://www.meliacaribetropical.com/es/index.html
Redirect permanent /es/terms-condition.php http://www.meliacaribetropical.com/es/index.html
Redirect permanent /es/prensa/family-facilities-amenities.html http://www.meliacaribetropical.com/es/index.html
Redirect permanent /es/outside-us-telephone-listing.php http://www.meliacaribetropical.com/en/index.html
Redirect permanent /spanish/press/melia-international-brand-overhaul.html http://www.meliacaribetropical.com/es/index.html
Redirect permanent /es/prensa/melia-international-brand-overhaul.html http://www.meliacaribetropical.com/es/index.html
Redirect permanent /press/family-facilities-amenities.html http://www.meliacaribetropical.com/en/index.html
Redirect permanent /press/melia-international-brand-overhaul.html http://www.meliacaribetropical.com/en/index.html
Redirect permanent /es/prensa/melia-caribe-tropical-announces-fall-promotion.html http://www.meliacaribetropical.com/es/index.html
Redirect permanent /spanish/press/melia-caribe-tropical-announces-fall-promotion.html http://www.meliacaribetropical.com/es/index.html
Redirect permanent /press/melia-caribe-tropical-announces-fall-promotion.html http://www.meliacaribetropical.com/en/index.html
-
Yes I understand that is a given. But the other hard 404s, which I did the exact same 301 strategy at the ones in the first post.
The succesfully 301s:
<colgroup><col width="636"></colgroup>
| http://www.meliacaribetropical.com/en/groups.html |
| http://www.meliacaribetropical.com/entertainment/ |
| http://www.meliacaribetropical.com/es/all_inclusive.html |
| http://www.meliacaribetropical.com/es/galeria/ |
| http://www.meliacaribetropical.com/es/los-picapiedra/ |
| http://www.meliacaribetropical.com/es/outside-us-telephone-listing.php |
| http://www.meliacaribetropical.com/es/restaurantes/ |
| http://www.meliacaribetropical.com/es/reuniones-eventos/ |
| http://www.meliacaribetropical.com/es/spa/ |
| http://www.meliacaribetropical.com/es/terms-condition.php |
| http://www.meliacaribetropical.com/gallery/beach.html |
| http://www.meliacaribetropical.com/gallery/dining.html |
| http://www.meliacaribetropical.com/gallery/pools.html |
| http://www.meliacaribetropical.com/lowest-rate.php |
| http://www.meliacaribetropical.com/press/ |
| http://www.meliacaribetropical.com/spanish/ |
| http://www.meliacaribetropical.com/spanish/services/ |
| http://www.meliacaribetropical.com/spanish/services/ |
| http://www.meliacaribetropical.com/terms-condition.php | -
Double check your file names wherever you are setting up the redirect. The first URL in your original post 301s to this URL:
http://www.meliacaribetropical.com/en/index.htmlmelia-caribe-tropical-announces-fall-promotion.html
See how there is more after the first .html? Looks like you might have just accidentally misspelled your end locations
-
Thanks for your response. I understand the these hard 404 are coming from other 404s. But how come I am able to redirect some of the 404s and not the ones above.
For example.
I was able to redirect http://www.meliacaribetropical.com/spanish/services/ (which is orginally 301 redirected from http://www.me-by-melia.com/spanish/services/) to http://www.meliacaribetropical.com/en/services.html/ succesfully.
I dont have access to .htacess file.
-
These are redirecting, but they are redirecting to a page that is not there. So the result of your 301 ends up as a 404.
Are you using your .htaccess file to perform 301s? If otherwise, let us know so that we can further address the problem. If you can, copy your .htaccess file contents here.
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
-
Google Is Indexing my 301 Redirects to Other sites
Long story but now i have a few links from my site 301 redirecting to youtube videos or eCommerce stores. They carry a considerable amount of traffic that i benefit from so i can't take them down, and that traffic is people from other websites, so basically i have backlinks from places that i don't own, to my redirect urls (Ex. http://example.com/redirect) My problem is that google is indexing them and doesn't let them go, i have tried blocking that url from robots.txt but google is still indexing it uncrawled, i have also tried allowing google to crawl it and adding noindex from robots.txt, i have tried removing it from GWT but it pops back again after a few days. Any ideas? Thanks!
Intermediate & Advanced SEO | | cuarto7150 -
301 redirect with /? in URL
For a Wordpress site that has the ending / in the URL with a ? after it... how can you do a 301 redirect to strip off anything after the / For example how to take this URL domain.com/article-name/?utm_source=feedburner and 301 to this URL domain.com/article-name/ Thank you for the help
Intermediate & Advanced SEO | | COEDMediaGroup0 -
301 redirect subdomain to path and 301 for popular pages
We have very popular pages that have many backlinks. www.chezmaya.com/jeux/game33.htm have so many backlinks and it's very popular. Now If i'm moving this page to a new path like : http://www.chezmaya.com/jeux/component/mtree/Défouloir/Game33/details.html with a 301. Your SEOmoz toolbar is now giving a very low PA:1 and mR:0.00 for this new page. My question is after you crawl my site again would you change the values to what /jeux/game33.htm got before ? We used to have jeux.chezmaya.com and moved to www.chezmaya.com/jeux/
Intermediate & Advanced SEO | | SocialGeekMedia
Same here PA:1 and mR:0.00 for this page. Also Matt Cutts say that Google does transfer the juice from the old page to the new one. I already saw one url changed in a search for puzzle, it's at the same position it was before, but it say's 6 days ago beside. So I wonder if this is temporary and it will move with time? Thanks0 -
Redirect help
I work for a company that has a domain that is something like www.neat-stuff.com but most people just use www.neatstuff.com without the dash. The redirect for the homepage works fine. We recently launched a new site and if you use www.neat-stuff.com/category it redirects from the old site to the new site just fine. However if you use www.neatstuff.com/category it does not properly redirect to www.neat-stuff.com/category. How do I fix that?
Intermediate & Advanced SEO | | EcommerceSite0 -
301 redirect Actinic HTML pages to ASP. Achievable?
Hi - I'm hoping someone can help me resolve an issue in relation to setting up 301 redirects. The client to whom I provide SEO services is being told by his developers that setting up 301 redirects is not achievable from old HTML pages to his new site running on a Windows server. My feeling is that it should be fine, and I have found documentation online that seems to support this, however I'm no developer, certainly no server admin, so I was wondering if anyone could advise me? Is it feasible to set up 301 redirects from Actinic sites (HTML pages) to a new site in NOP commerce running on a Windows server (ASP pages). Thank you for your help! Iain
Intermediate & Advanced SEO | | Wynyard0 -
Duplicate Content / 301 redirect Ariticle issue
Hello, We've got some articles floating around on our site nlpca(dot)com like this article: http://www.nlpca.com/what-is-dynamic-spin-release.html that's is not linked to from anywhere else. The article exists how it's supposed to be here: http://www.dynamicspinrelease.com/what-is-dsr/ (our other website) Would it be safe in eyes of both google's algorithm (as much as you know) and with Panda to just 301 redirect from http://www.nlpca.com/what-is-dynamic-spin-release.html to http://www.dynamicspinrelease.com/what-is-dsr/ or would no-indexing be better? Thank you!
Intermediate & Advanced SEO | | BobGW0 -
Redirecting Powerful Domains
What do you do if you have a client that never implemented a 301 redirect on their domain? For example here are the OSE stats for the URLs; http://url.com PA: 48 DA: 50 LRD: 65 TL: 1,084 FB: 178 FB: 14 T:5 http://www.url.com PA: 51 DA: 50 LRD: 165 TL: 2,271 FB: 178 FB: 14 T:5 G+1:3 My first instincts are to redirect the first one to the second one, but is it too late for that? Will that screw up all of their established stats? Any input or examples of past experiences with this would be great.
Intermediate & Advanced SEO | | MichaelWeisbaum0 -
How to 301 redirect ASP.net URLS
I have a situation where a site that was ASP.net has been replaced with a WordPress site. I've performed a Open Site Explorer analysis and found that most of the old pages, ie www.i3bus.com/ProductCategorySummary.aspx?ProductCategoryId=63 are returning a HTTP Status = NO DATA ... when followed ends up at the 404 catch-all page. Can I code the standard 301 Redirects in the .htaccess file for these ASP URLs? If not, I'm open to suggestions.... Thanks Bill
Intermediate & Advanced SEO | | Marvo0