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
-
ASP Canonical and Internal Linking
Hello - I'm working with a large ASP website and trying to troubleshoot issues I believe might be related to how the canonical element is used. On page - all internal links, including navigation links, use the following format (uppercase) - website.com**/F**older/Folder/Product . So, any page navigated to will always display the uppercase version of the URL. And, all of these pages have the canonical tag pointing to the lowercase version of the URL. The pages included in Google's index are all lowercase versions of the URL like this - website.com**/f**older/folder/product . My concern is that a lot of internal authority flow is being impacted/negated because all internal links point to the uppercase versions of URLs and all those pages reference the lowercase version URL in the canonical reference. Is this a valid concern?
On-Page Optimization | | LA_Steve0 -
How long keep 301 redirects?
Our site has been updated twice in the past 6 years with new, better urls. Initially we did 301 redirects 3 years ago for the url redirects. Recently some of those redirected pages have been redirected again. Question: How long before it's time to have the old, original urls removed through Google? And, once that is done, how long to wait before removing the older redirects from the htaccess file? Appreciate any feedback/insights on this matter.
On-Page Optimization | | Manifestation0 -
Redirects for new site new urls?
If redoing a site and updating some of the url's for SEO should you do permanent redirects for the old sites url's ? Using WordPress. I saw that the Yoast Pro plugin allows you to do this inside WordPress , is this the best way? Suggestions.? I know there are old articles written out on the web pointing back to the what will be soon old url's so just wondering what's the best way to go about this. Thanks Scott
On-Page Optimization | | scott3150 -
Alt text / internal linking
Hi everyone A question about best practice when linking from pictures on our homepage - hirespace.com We have an option of using divs with background images (nicer in terms of design) but it means that we can't use anchor text or alt text to show Google what these internal links are about. The other option is to use images which do not allow us as much flexibility in terms of CSS but would allow us to use alt text. There is also an opinion that we should have separate text links at the bottom of the homepage to get the anchor page in. What is best practice in this situation - is alt text worth sacrificing some CSS flexibility for? How important is anchor/alt text for internal linking? Thanks guys.
On-Page Optimization | | HireSpace0 -
Do I really have too many links on my startpage?
My site www.poker-coaching.net is built with Joomla, and I have one main menu that links all articles (app. 120) in one language from the start page. The site has a language selection menu with translations available in 4 other languages, and for each language, there are another 80 articles linked from the main page. The SEOMOZ crawling report now say that I have too many links from the main page. I always thought it was a good thing for SEO to have articles linked from the main page - do I need to restructure my site and start building multi-level menu structures, where I would have a main menu on the start page and the next level menu would only be shown after a user clicks on a main menu item?
On-Page Optimization | | CatfishTPA0 -
Change in link structure due to Joomla
Hi, I have been using Joomla 1.5 until recently and the link structure would be something like - http://www.guru99.com/software-testing.html Now with Joomla 1.7 , ".html " automatically stripped and the URL become "http://www.guru99.com/software-testing" My site is due upgrade but ".html" part is a concern. Once I upgrade , Can I re-direct all ".hmtl" url like http://www.guru99.com/software-testing.html to non ".html" url like "http://www.guru99.com/software-testing" Will this ensure all the link juice is passed ? I have more than 350 URL in my site ... Please guide ... Cheers Krishna PS = the link http://www.guru99.com/software-testing will not work since the site is yet to be upgraded
On-Page Optimization | | iamnew0 -
Blog outgoing links to a certain domain?
Hi Mozzers, I am working with a website with very decentralized ownership. There are two different languages, each with a different owner. Owner A keeps linking to crap sites, that hurt the entire site. My question is this: Is there a way - through .htaccess or robots.txt - that Google can be asked NOT to crawl the links to external crap sites? The problem is that Owner B cannot control Owner A's html, and thus not implement rel="nofollow" on links. Thanks!
On-Page Optimization | | ThomasHgenhaven0 -
Too Many On-Page Links
I recently took on a website design client and ran his website through a battery of tests using Pro to take a look at the crawl errors. One that seems to stump me is the error "Too many On-Page links" concerning his blog. (http://franksdesigns.com/wp/blog) This is the first time I've seen this error and am rather confused. The report says there are 104 links on this page. However, I'm having trouble grasping this concept or finding the 104 links. Any suggestions are greatly appreciated. Thank you for your support!
On-Page Optimization | | WebLadder0