More Search Engine Optimization Answers
Question Library
Ask a question about Search Engine Optimization
Volunteer
Experts of the Month
Expert Login
Awards
About Us
Tell friends
Link to Us
Disclaimer
|
| |
|
|
| |
| | | |
About Jason J, Green
Expertise I can answer all manner of questions related to Search Engine Optimization, Search Marketing and search engine technology. Including those related to Web IR and Information Retrieval Theory.
www.JasonJGreen.com
Experience I have over 5 years experience as a professional SEO and search technology consultant. I am the creator of Access Probability Technology, Perception Index Technology and the S.I.R.E. Project.
Organizations ACM Special Interest Group on Information Retrieval
Publications WebproNews
WebProGuide
Search Engine Guide
ISEdB
Promotion World
Web Marketing Today
Small Site News
Victoria, BC eGovernment Resource Center
TRESE
Cologne University of Applied Sciences
Education/Credentials S.P.D.C. - Advanced Second Generation SEO Certification
Expert Rating Certified SEO
My primary 5-year goal within the scope of SEO proper is concerned with the codification of a complete professional curriculum for advanced search engine optimization and marketing (SEO2g) that meets formal academic standards and can be introduced as a specialized focus within a business degree program.
| | |
| |
You are here: Experts > Internet/Online > Internet Technologies > Search Engine Optimization > 301 redirect
Expert: Jason J, Green
Date: 5/10/2008
Subject: 301 redirect
Question QUESTION: Are you able to help me with a 301 redirect as the tech support guy of the host is no help
The old site is yamaha-flute-211.adsl24.co.uk
the pages are in public_html/html
The new site is a www.yamaha-flute-211.co.uk
the pages are in \yamahaflute211\html
I added the first line in the .htaccess file which worked
but I also need to redirect the other pages as the names have changed
When I add any more lines to the .htaccess
eg
redirect 301 /html/page_001.html http://www.yamaha-flute-211.co.uk/html/Alto_Saxophone_Accessories_Cleaning_Kits....
it gives a server error when I try to browse the old site
Is there a max line length restriction or can you see anything else that is wrong
I'm not really sure what path I should be using
I have tried different combinations still without success
ANSWER: Hi Phil,
A possible simple solution is to see if your host can simply implement a site-wide 301 for you. Failing that you might want to play around with some .htaccess directives such as the following:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?olddomain.com [NC]
RewriteRule ^(.*)$ http://www.newdomain.com/$1 [R=301,L]
Of course you will need to make sure that your server's Apache install has Mod Rewrite.
For files that have a directory path as well as a name change you might want to try using regular expressions to come up with a conversion string that works across all or even most of them. Otherwise you will need to manually add 301 directives for each one.
Regards,
Jason J. Green
---------- FOLLOW-UP ----------
QUESTION: They just got back to be with a solution but thanks for your help
What is the best approach in submitting to search engines since I now have 2 urls.
I normally resubmit every 30 days. So should i continue to submit the old site or the new one or both
Thanks
Answer Hi Phil,
There is no reason to submit your site to the search engines. Instead perhaps you should create, submit and maintain an XML sitemap. This sitemap can help you track and manage the way Google and other search engines index your website. Check out Google's Webmaster Tools for more information.
Once you have your XML sitemap in place you can refer search engine spiders to it directly through your robots.txt file. For example by adding an entry such as:
Sitemap: http://www.yourdomain.com/sitemap.xml
Regards,
Jason J. Green
Add to this Answer
Ask a Question
|
|