|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi all,
Im about to tidy one of my websites after experimenting setting it up. I will be renaming folders. Some pages are already indexed. While this is not critical - whats the best way to have a "redirect from a particular url to the new one. (other than 404 cos my host has to set up something - I cant use htaccess) I have an index.php in the sites root that points to the active home page folder - is there anything i can add there ? - I dont know php ) Any ideas welcome Thanks keep well |
|
|||
|
You can use either a server redirect or a javascript redirect. If you choose a JS, place a link on the old page leading to the new.
|
|
|||
|
Don't use the JavaScript redirect. It is a kiss of death with Google ever since it started reading JavaScript in the summer of 2004. Search engines that do not read JavaScript (almost all) will not be redirected to the new pages and the old page will stay in their database.
A JavaScript redirect was being used by a Las Vegas SEO black hatter as a cloaking method that was redirecting users to another page. All of the SEO company's clients were banned in July of 2004. Ever since then, a JavaScript redirect has been risky. Are all the pages PHP pages? If so, there is a simple 301 redirect that can be added. I know you said that you don't know PHP, but this is a snippet of code that can be added to the top of the old PHP pages that redirects the old page to the new page. A 301 redirect tells the search engine to change the URL in their database. Other than a 301 redirect, the best thing to do is to remove the old pages and let the spiders hit the 404 error. They will then remove the old URLs from their data. Make sure that you have a properly implemented error 404 page for any human visitors that find an obsolete URL.
__________________
Facts are meaningless. They can be used to prove anything. - Homer Simpson MySQL Cheatsheet :: Arizona SEO training |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |