Feeds

Technical question about redirecting a Url (help needed)

PerformancingAds
Submitted by specialmiky on July 8, 2007 - 6:15pm in

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

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <h2> <h3> <h4> <img> <div> <a> <em> <strong> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <span> <table> <td> <tr> <caption> <th> <hr> <pre> <br> <p> <object> <param> <embed> <strike>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
7 + 6 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.