• gjunkie1983

    (@gjunkie1983)


    I have WP installed on my site example.com, and the RSS feed works fine.

    However, I also have a subdomain with WP installed, and the RSS feed does not work.

    Mosu, I’ve been to the Feed Validator and it didn’t help. It shows me my error but I have no idea what file it is in so I have no way of editing out the error. Do you know what file it’s in?

Viewing 9 replies - 1 through 9 (of 9 total)
  • moshu

    (@moshu)

    Don’t put ever anything in your footer.php file OUTSIDE of
    /body
    /html
    Everything MUST be inside of those tags.

    And it has nothing to do with subdomains – as always it is a user mistake!

    Thread Starter gjunkie1983

    (@gjunkie1983)

    ive never even opened the footer.php file. ive never changed it.
    If you wanna see it yourself, try validating blog.robotforest.com and you’ll see the error.

    It’s an “a href” tag that’s at the top of the code and I have no idea how it got there. I’ve looked through all the Theme files and I can’t find the code that the feed validator references.

    moshu

    (@moshu)

    Man, when I say something like “you have a code after the closing

    </body>
    </html>

    — that means that I have looked at it.
    Checked even the feed validator:
    https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fblog.robotforest.com%2Ffeed
    Did you click on the “help” link(s)???

    This is what you have in your source code:

    </body>
    </html>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "https://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-5060344-3");
    pageTracker._trackPageview();
    </script>

    So, who put it there if not you?
    And as I said: there must be NOTHING after the closing html tag!

    Thread Starter gjunkie1983

    (@gjunkie1983)

    I understand what you’re saying that there must be nothing after the closing tags, what I’m trying to tell you is that I have no idea where the hell that code IS, as in which file! is it index.php? footer.php? which one? I dont know where to look to correct the mistake.

    And yes, I looked at the so-called help links, but they only help people who know what to look for. I have no idea what it’s talking about, or for that matter, what you’re talking about.

    I just need a straight answer, as in, “look in this file, edit this part of the code, and you should be good to go.” I’m sure it’s my own mistake, I’m not denying that, just don’t slap it in my face.

    moshu

    (@moshu)

    I started my first reply with a “straight” answer, mentioning the footer.php file. It is always the footer file of your active theme.

    Furthermore, as you can see that code comes from the Google analytics, so either you, either a plugin put it there. There is no other way.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Check the root WordPress index.php file as well. Adding the code here is a common noob mistake.

    Thread Starter gjunkie1983

    (@gjunkie1983)

    I did place the analytics code myself in the root wordpress index.php, not in footer.php. Is all I have to do remove it from one and place it in the footer.php within those tags?

    moshu

    (@moshu)

    Yes. And never again touch that root index ??

    In some period my rss does not work on site https://www.bestmoneyblogging.info. Can you pls help. I checked footer.php and index.php but i did not find anything wrong.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘RSS in my Subdomain does not work!’ is closed to new replies.