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. keeping identical URL
Hey everybody! I have a question pertaining to our redesign. The situation is as follows: /drug-rehab/alcohol-withdrawal-los-angeles gets a decent amount of views on out website, and we would like it to be on our redesigned site. I was curious what impact, if any, I would see given the two scenarios below. 301 to /alcohol-withdrawal make the new page /drug-rehab/alcohol-withdrawal-los-angeles as well The second situation is that there are a serious of other pages which don't seem to be of drastic benefit, which I don't feel NEED to be on the website. For example: /post-acute-alcohol-withdrawal-treatment/drug-los-angeles /rehabs-resources/drug-abuse/sub-acute-alcohol-withdrawal etc It appears to me that the content on these pages is rather similar, and I feel like they don't really say anything special. Can I 301 them to the new page? Should I let them die in the black hat inferno they were made in? Any thoughts are greatly appreciated! Thanks guys!
On-Page Optimization | | HashtagHustler0 -
301 directs
How do i determine which of my pages have been indexed by Google? and if they haven't been indexed how is this achieved? Also how do I set up a 301 redirect?
On-Page Optimization | | Hardley1110 -
Are Back Links King
We have worked as closely as possible to the guidelines and advice on this forum, if we compare our on page Analsis with other companies in the same field as ours we have a far better site as far as SEO is concerned, our DA authority is higher and most of our page authority is higher but we just cannot seem to get up to their level in the search engines, one site that is in competiton with us do not use Facebook and also they do not use Twitter very much, I looked at some of their backlinks and their top one which was a blog had not been updated since 2011, over the years we have amassed far more what I would call worthless links as this was the done thing then, how can I get on the right track, are there any companies who could assess our site for a reasonable cost to point us in the right direction, we are doing our own blog, Facebook, Twitter, Onlywire?
On-Page Optimization | | Palmbourne0 -
Internal Linking Question(s)
Is it unwise to link internally to a page more than once on the homepage. I am reading that it is considered spammy. I am also reading that it passes PR twice to the internal page instead of just once... Which is it? Is there a way to stop passing PR to the "contact us" page. I watched an older video that Matt Cutts suggested a nofollow. Now I read that this strategy is a no no? Which is it? Thanks! 🙂
On-Page Optimization | | JML11790 -
Blocking Google seeing outbound links?
Apart from rewriting the outbound url to look like a folder 'abc.co.uk/out/link1' and blocking the folder 'out' in the robots.txt file, along with also nofollowing the links as well, is there anything else you can do?
On-Page Optimization | | activitysuper0 -
Internal Followed Links:
Ran Open site explorer on my site: www.psbsperakers.com It is saying that I only have "1" Internal followed link could somebody tell me what that means... and maybe take a look at my site and see it this is a quick fix?
On-Page Optimization | | kevin48030 -
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 -
Duplicate Links
Hello, I am entering sitewide navigation that will go to primary seo pages. This is really for usability, not for link juice. I'm wondering if I should still link to these very important pages in my index page's content. Or if I should consider those navigation links strong enough. If I did link in the content, then I would have more than one link to the same page on my home page. Thanks Tyler
On-Page Optimization | | tylerfraser0