Forums / Developer / SEO with EZ - Meta refresh
Roger Lindqvist
Wednesday 03 September 2003 1:23:04 am
Hello!
I got tree sites. Two with EZ installed that has a meta refresh in the index file and one without. I am aiming to get listed in google, altavista and alltheweb. All sites are listed without problem in google, but the other two engines will not enter my ez sites but just lists my index page and I am sure that this is because of the meta refresh. I have been researching for a while and I am sure that is the reason. My BIG problem is that I don't know how to redirect my site (from index.html to /publish/index.php) in such a way that altavista and alltheweb will index it. Can anyone help me? I have tried everything I can but without any luck. Can I use som other kind of redirect or do a trick in the ez installation?
Here is a typical index file for my sites:
<html> <head> <meta name="robots" content="index,follow"> <META HTTP-EQUIV="refresh" CONTENT="0;URL=/publish/index.php"> </head> <body></body> </html>
As said: works very well with Google, but the rest...
Alex Jones
Wednesday 03 September 2003 6:11:24 am
Roger, I would recommend you avoid using meta rfereshes in this case. You would be better served using a server-side permanent redirect which sends a code (301) to the searchg engine/browser that the page has moved. Meta refreshes and temporary redirects (302) are not considered permanent, so some search engines will not index them as they are expected to change.
Using server-side redirects will also ensure that users don't run into problems using their back buttons. If you need help setting up a server-side redirect, post what server/platform you are using. :)
Alex
Alex [ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ] <i>When in doubt, clear the cache.</i>
Wednesday 03 September 2003 11:49:21 am
Thanks!
I would appreciate it very much if you could guide me, yes. I am new to this but I think the answer to your question is that my host uses apache/unix.
Wednesday 03 September 2003 12:46:05 pm
Roger, this tutorial shows how to put the redirect in place: http://www.tamingthebeast.net/articles3/spiders-301-redirect.htm
Let me know if you have any questions they don't cover,
Monday 08 September 2003 2:45:22 am
I didn't get the access I needed from my host so I just made a index file outside my CMS and linked it into the CMS.
Thanks for your effort!
Monday 15 September 2003 2:07:49 pm
Roger, I'm glad to hear you worked it out. So you know, you should be able to put redirects in place per directory as well - without causing your host to do any work. Should you need to, just run a search for .htaccess and Google should pull up quite a few results.