301 redirect link
-
Hi, I found some explanations on seomoz about permanently links, but I'm not sure, if I understood right, what to do.
Our website has been created with a wrong structure and I have to change the URL of a couple of pages. E. G. http://www.ix-tours.com/Youth/ixdestBrusselYouth.aspx should be changed to http://www.ix-tours.com/DE/Jugend/BruesselJ.aspx to allow search identify it as a german page.
What to do?
-
Should I delete all content from the old page and insert the redirect to the knew one?
-
The code as follows has to be inserted in the head section?
Thank you for your help
Brgds
georg
-
-
You can try following
<configuration><location path="services.htm"></location>
<location path="products.htm"></location></configuration> -
I tried this, but it seems to be a solution for apache servers. It doesn`t work on windows server with .aspx pages.
-
The below instructions can be found here: http://www.isitebuild.com/301-redirect.htm
This is how I do it:
1. To create a .htaccess file, open notepad, name and save
the file as .htaccess (there is no extension).2. If you already have a .htaccess file on your server,
download it to your desktop for editing.3. Place this code in your .htaccess file:
redirect 301 /old/old.htm http://www.you.com/new.htm
4. If the .htaccess file already has lines of code in it,
skip a line, then add the above code.5. Save the .htaccess file
6. Upload this file to the root folder of your server.
7. Test it by typing in the old address to the page you've
changed. You should be immediately taken to the new
location.Notes: Don't add "http://www" to the first part of the
statement - place the path from the top level of your site
to the page. Also ensure that you leave a single space
between these elements:redirect 301 (the instruction that the page has moved)
/old/old.htm (the original folder path and file name)
http://www.you.com/new.htm (new path and file name)
When the search engines spider your site again they will
follow the rule you have created in your .htaccess file.
The search engine spider doesn't actually read the
.htaccess file, but recognizes the response from the
server as valid.
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
-
301 vs 302 redirect
Hello Mozers, I have a website which offers subscriptions on a monthly basis, when one profile expires the link of the profile gets a 301 redirect to the main category, just that if the member chooses to come back after a while he can reactivate the profile and the link will work again and the 301 will disappear, Should I be doing 302 redirect, as from this point of view it's only a temporarily redirect ? Thanks in advance
On-Page Optimization | | asmedia0 -
How can I nofollow my affiliate links?
I have a lot of affiliate links and I need to find an efficient way to nofollow them. I have over 500 blog posts and most have an affiliate link. I use Wordpress and Genesis. Any advice?
On-Page Optimization | | 2bloggers0 -
Are there to many internal links here?
This is our main Motorcycle Parts page. In my opinion there are to many links on this page. They have put links to all the top brands after products. Do you think having all these links could be hurting our rankings/ ability for google to crawl the site efficiently? The links are good for navigation, I just think there are way to many there like over 200. Here is the page you can see what i am talking about http://www.rockymountainatvmc.com/s/49/61/Motorcycle-Parts
On-Page Optimization | | DoRM0 -
Which pages on my site should I back link to
The majority of the back links I have been creating link directly to our home page and to the store page. Is this the best approach or should I be trying to spread the links throughout our site to include product categories and subcategories etc?
On-Page Optimization | | Hardley0 -
301 redirects / clean urls
hello everyone, we moved our site to a new platform that has url rewrite feature. we are building out a spreadsheet of the old aspx urls and the corresponding page on the new site. my dev tells me that its not important to redirect the old page to the new "clean url" page which sounds a bit odd to me ..example below. okay. so he says its the same difference to 301 redirect this url: http://72.3.181.97/catalog/DesignerDogBeds.aspx to this urls: https://www.k9electronics.com/product.php?productid=3474 instead of this clean url: http://www.k9electronics.com/designer-dog-beds/ can anyone give me any feedback on this? thanks!
On-Page Optimization | | k9byron0 -
Too many links on a page?
On my blog posts, I have links to all the categories and months, dating back 5-6 years. This make the number of links on each blog page well over 100, which I understand might decrease the value of each page. Is there a problem with having more than 100 links on a page?
On-Page Optimization | | rdreich492 -
Can my amount of internal linking seem spammy ?
Ecommerce site. I am optimizing for each producer of products on a separate page. Atm my provider does lack some functions(i cant put in H1 , title and can put text only product pictures) on the product pages - like here http://www.epleskrinet.no/smafolk/M_23 . The are updating within 1-2 months to allow me do this. This has led to actually some of the products themself ranking higher that the producer page. what Ive been doing is to put anchor text and link back to the producer page for all 9 products on this page. Is that a problem or should i just do it like this ? thanks
On-Page Optimization | | danlae0 -
Redirecting to a keyword-rich domain URL
It's best practice to choose a domain that has keyword in it. But if someone has just launched a website and the domain name does not have keyword, is it better to purchase a new domain name that has a keyword in the name and redirect existing domain to the new domain? Will that help SEO? (This just launched website does not have any traffic or links yet.)
On-Page Optimization | | Amjath0