Forum Moderators: phranque

Message Too Old, No Replies

subdomain treated like a frame

         

shongale

5:17 pm on Jan 22, 2012 (gmt 0)

10+ Year Member



I have a site www.example.net and a subdomain called itssoezy.example.net that also is named example-2.net and is accessible either way.
The problem is that example-2.net index.php file is only recognized as a frame, so the SEO engines work on www.example.net but not on example-2.net
Note: I host my own servers!
HELP!

[edited by: tedster at 2:36 am (utc) on Jan 24, 2012]
[edit reason] use example.net rather than live domains [/edit]

shongale

4:52 pm on Jan 23, 2012 (gmt 0)

10+ Year Member



Real lively forum here huh!

lucy24

11:15 pm on Jan 23, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hm. Interesting timestamp. Took me a bit to figure out how you'd managed to post a follow-up question half an hour before the original ;)

Anyway: not that many people speak fluent Apache, and the ones who do, tend to have day jobs. Meanwhile you can come back and clarify a few things, including: Do you mean that you have duplicate content straight across the board (subdomain.example.net = subdomain.net)?* What specifically do you mean by "SEO engines"?

What (in English) are you trying to do, and what steps (in Apache) have you taken to get there?


* If so, the Apache speakers are not ignoring you. They're recovering from a swoon.

shongale

11:53 pm on Jan 23, 2012 (gmt 0)

10+ Year Member



Thanks lucy24 I have the following.
CentOS RHEL 6 running Apache 2.2.15 and php 5.3.3
I have everything running as virtual domains with no references to DocumentRoot anywhere except in the Virtual declarations.
I have been running successfully on my own static ip and servers using www.example.net for over 2 years. Things only got hinky when I introduced sub-directories / sub-domains into DocumentRoot.
An example of a couple of my virtual declarations

My main server site.
<VirtualHost *:80>
DocumentRoot "/var/www/html"
ServerName www.example.net
ServerAlias www.example.net
ErrorLog /var/www/html/example-2/logs/example_error_log.txt
LogLevel debug
</VirtualHost>

<VirtualHost *:80>
DocumentRoot /var/www/html/example-2
ServerName example-2.net
ServerAlias *.example-2.net
ErrorLog /var/www/html/example-2/logs/example-2_error_log.txt
LogLevel warn
</VirtualHost>

<VirtualHost *:80>
ServerName example-2.example.net
ServerAlias example-2.net
DocumentRoot /var/www/html/example-2
ErrorLog /var/www/html/example-2/logs/example-2_error_log.txt
LogLevel warn
</VirtualHost>

The problem is that the sub-directories / sub-domains all sitemap as frames w3c and other sitemap utilies all report the same thing. This is considered not Search Engine Optimized.
Hope that was enough to whet your whistle and hopefully it explains what happened.
Once again thanks for your time.

[edited by: tedster at 2:40 am (utc) on Jan 24, 2012]

shongale

11:54 pm on Jan 23, 2012 (gmt 0)

10+ Year Member



I could really use a swoon. Tell them to share if there's any left.