Toti Google ma res finte
6 naročnikov
6 naročnikov
Imam novo spletno stran staro 2 meseca, ki sem jo vpisal v najdi.si in v google. Najdi.si jo takoj postavi na prvo mesto, medtem ko google šele na 6 mesto. Prav tako pa še google vedno kaže link do stare, ki sem jo že zbrisal. Kdo ve rešitev?:)
5 odgovorov
Če imaš unix strežnik:
If you need to move a page or a whole website, a 301 redirect is always recommended. If you just change a file name or delete a page, you my lose search engine rankings that were associated with the old page. By using a 301 redirect, you tell search engines and humans where to find the new page.
Avoid using a meta refresh tag as this is a technique used by search engine spammers to rank well for certain keyphrases that are totally irrelevant from the page redirected to. Many search engines filter out the meta refresh tag, so it is not a search engine friendly option.
So, how do you do a 301 Redirect? It's actually quite simple on a website using a Unix server:
Locate or create a .htaccess file on your server. Your .htaccess file gives search engine robots instructions on security and redirects.
If you don't have an .htaccess file on your server, you can easily create one using a text file. Name it ".htaccess"
If there is already an .htaccess file scroll down past the code that is already there and begin your new redirect instructions.
Put in your redirect information, which should look like this:
redirect 301 /directory/file.html http://www.domainame.com/directory/file.html
*Note: The first part "/directory/file.html" is the location of the file being moved and the second part "http://www.domainame.com/directory/file.html" is where the file is being moved.
- Upload the file to your server. http://www.internetbasedmoms.com/seo/301-redirect.html
Če imaš pa windows:
Narediš file default.asp in noter vpišeš:
<%
response.status="301 moved permanently"
Response.AddHeader "Location", "http://urldonove_strani"
%>
Ter naložiš file na staro lokacijo.