Hello all!
I need some good information about the re-direction of a URL. One of my website has links all over the search engines that do not exist anymore.
I would like to know the appropriate way to edit these page to be re-directed to the new pages. Maybe it's a javascript code ?
The thing is that I want Google to stop associating dead pages with this website... not very good for ranking.
THANKS in Advance! This website is top-notch quality.
Miky













You need to do some research
You need to do some research into .htaccess rewriting. Google search "htaccess rewrite rule" or "htaccess redirect" - that should help get you started.
Thank you very much Ryan!
Thank you very much Ryan!
Is it ok to use this method
Is it ok to use this method ?
Javascrip URL Redirect
Javascript URL Redirect shows this script in action. Again this solution only takes one line of code.
document.location.href='www.seocompany.ca/index.html'
This code also sends you to the redirected url.
Redirecting is one method
Redirecting is one method you can use, but JavaScript may not work with all search engines, so using .htaccess would be safer. Another thing you can do is exclude your dead pages in your robots.txt file.
If you use Google Sitemaps you can then send a URL deletion request to Google.
Unfortunately Yahoo is very slow at removing dead URLs from their index.
answer to your question
please give this article a read that should be covering on this subject detailing you too how to optimise your links for better SEO.
javascript method is a 302
javascript method is a 302 redirect - a temporary measure. If you want to permanently redirect old urls to a new url, read up on 301 redirects and .htaccess editing (google em).
Mind you, if your blog is wordpress and you're changing your url structure then try Dean's permalink migration plugin (yup, google it :) ).
If you like funny check this
If you like funny check this out:
http://www.youtube.com/watch?v=YbBnyNJNyX4
Post new comment