Page 1 of 1

why google isnt indexing our page

Posted: Wed 12. Apr 2006, 12:58
by rushclub
our page http://www.licht-harmonie.de isnt indexed properly from google.de
when i search for site:www.licht-harmonie.de at google there are only 4 pages indexed. other pages are indexed complete. what am i doing wrong? any ideas?

rush

Posted: Wed 12. Apr 2006, 13:27
by trip
how long ago did you submit?
I have checked your source code, there might be some tags you are missing.... for the SE to pick your site up especially what google wants :-)

nice design :-)

TriP

Posted: Wed 12. Apr 2006, 13:38
by rushclub
trip wrote:how long ago did you submit?
I have checked your source code, there might be some tags you are missing.... for the SE to pick your site up especially what google wants :-)

nice design :-)

TriP
i have resubmitted the page 2 weeks ago.
what tags are missing for google? :roll:

rush

Posted: Wed 12. Apr 2006, 13:47
by trip
see my site...view the source :-)
let me know if that helps
TriP

Posted: Wed 12. Apr 2006, 14:58
by flip-flop
Hi rushclub,

please opben the link "http://licht-harmonie.de". Google have show me a blank page.

The forwarding from "/" to "/cms" results an 301? (Haven´t test ist).

I would activate mod_rewrite and place the site at root.

Gruß Knut

Posted: Wed 12. Apr 2006, 16:46
by trip
yes, site to the root, I missed that... sites in a sub directory do work, I use this all the time, but your main index.php file needs to redirect properly...

TriP

Posted: Thu 13. Apr 2006, 07:44
by rushclub
flip-flop wrote:I would activate mod_rewrite and place the site at root.
hi flip-flop,

do you have some infos on placing the site in root via mod-rewrite. i dont know how to do it. thanks for help. :)

cheers
rush

Posted: Thu 13. Apr 2006, 08:31
by flip-flop
Hi rushclub,
..... place the site at root
My conception isn´t to use mod_rewite for moving the site to root.
First move the whole installation to root and adjust path and files/folder settings.
Second enable the mod_rewrite function at the conf.inc.php and htaccess.

IF you have made an relounge of an html-site please use this at the htaccess:

Code: Select all

# Redirection of all .htm/html sides 
RewriteRule ^(.*)\.htm$ http://www.mydomian.tld [r=301,nc]
RewriteRule ^(.*)\.html$ http://www.mydomian.tld [r=301,nc]
All old xxx.htm/xxx.html sides are "Moved Permanently" (301) to your new site.


Gruß Knut

Posted: Thu 13. Apr 2006, 09:47
by rushclub
flip-flop wrote:Hi rushclub,
..... place the site at root
My conception isn´t to use mod_rewite for moving the site to root.
First move the whole installation to root and adjust path and files/folder settings.
Second enable the mod_rewrite function at the conf.inc.php and htaccess.

IF you have made an relounge of an html-site please use this at the htaccess:

Code: Select all

# Redirection of all .htm/html sides 
RewriteRule ^(.*)\.htm$ http://www.mydomian.tld [r=301,nc]
RewriteRule ^(.*)\.html$ http://www.mydomian.tld [r=301,nc]
All old xxx.htm/xxx.html sides are "Moved Permanently" (301) to your new site.


Gruß Knut
o.k. thanks a lot. good idea.

rush :wink:

Posted: Thu 13. Apr 2006, 10:37
by flip-flop

Posted: Thu 13. Apr 2006, 11:41
by rushclub
is this the problem with every internal "forwarding" in phpwcms?
i have used that many times. is there a solution to change this in the code?

rush :roll:

Posted: Thu 13. Apr 2006, 12:40
by rushclub
found the solution. remove the forwarding created with phpwcms. add an contentpart "html" to the document and insert the code:

Code: Select all

[PHP] 
Header( "HTTP/1.1 301 Moved Permanently" ); 
Header( "Location: index.php?meine_neue_home" ); 
exit; 
[/PHP]
as described in the docu. so you havent to add a new template for every redirect. or am i wrong?

rush

Posted: Thu 13. Apr 2006, 13:47
by flip-flop
is this the problem with every internal "forwarding" in phpwcms?
Unfortunately yes.

Your workaround (Where is it at the docu-page?) is ok.

You get the same result, by manipulating the file "/include/inc_front/content.article.inc.php"
adding at line 92 the green line:
--------------------------------------------------------------
// direct redirection in the same window
header("HTTP/1.1 301 Moved Permanently");
header("Location: ".$content["redirect"]["link"]);
--------------------------------------------------------------

Gruß Knut

Posted: Thu 13. Apr 2006, 13:57
by rushclub
thank you. have changed the document ;)

cheers
rush