Title: Extra Code to RSS Feed
Last modified: August 19, 2016

---

# Extra Code to RSS Feed

 *  Resolved [seocoalition](https://wordpress.org/support/users/seocoalition/)
 * (@seocoalition)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/extra-code-to-rss-feed/)
 * I am trying to validate the feeds in all my sites in a domain/subomain network
   and my original site is causing me some serious headaches.
 * At the end of the feed I get this little tidbit:
 *     ```
       <div style="text-align: center;"><div style="position:relative; top:0; margin-right:auto;margin-left:auto; z-index:99999">
       <script>
        </script>
       </div></div>
       ```
   
 * All my other subdomains are fine: articles.imcoalition.co.cc, videos.imcoalition.
   co.cc, reviews.imcoalition.co.cc, directory.imcoalition.co.cc
 * Here are the specifics:
    WordPress v2.7 site: [http://www.imcoalition.co.cc](http://www.imcoalition.co.cc)
 * Troubleshooting tactics used so far:
    – Deactivate/Reactive all plugins – Change
   Themes – Checked all individual rss files: ** rss, comments, atom, etc. php files–
   Checked for extra files for hacking – Removed all advertising – I am on a no-
   ads server
 * So far I have had no luck and it is driving me crazy. If any one has any idea
   I would truly appreciate the help!
 * PLEASE HELP!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/extra-code-to-rss-feed/#post-963727)
 * That code is in your theme too (near the bottom of the browser source code). 
   Your current theme has [major code errors](http://validator.w3.org/check?uri=http%3A%2F%2Fwww.imcoalition.co.cc%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.606)
   and appears to be truncated at the end.
 *  Thread Starter [seocoalition](https://wordpress.org/support/users/seocoalition/)
 * (@seocoalition)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/extra-code-to-rss-feed/#post-963753)
 * I would say your right my friend but the code is still there after a change of
   themes.
 * The errors on the code validation seem to be based on the AdBrite source code
   for advertising. There is no truncation in the theme. No extra function feature
   and no encoded code.
 * The code is similar to the addition of forced ads, but I am using a no ads server
   and none of my subdomains has that extra code.
 * It has to be something else.
 * Any other ideas?
 *  Thread Starter [seocoalition](https://wordpress.org/support/users/seocoalition/)
 * (@seocoalition)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/extra-code-to-rss-feed/#post-963777)
 * Just an update:
 * This might be a remnant of a code established by my “free” hosting when it was
   not free. I have since upgraded the account and will see if this is the problem.
 * Most ad serving sites, or free sites that use their own ads as a payment have
   a similar code that is added after your </body> closing so as too have a pop-
   up or what have you come up.
 * The ending problem is that it won’t validate your XML since no code can come 
   after the </rss> tag. Using FeedBurner and other services becomes a problem since
   without a validated RSS it will not function.
 * Keep You Posted!
 *  Thread Starter [seocoalition](https://wordpress.org/support/users/seocoalition/)
 * (@seocoalition)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/extra-code-to-rss-feed/#post-963897)
 * I have changed hosting and it seems that I was correct!
 * if you have any added code at the end of page and starts in this form:
 * >  <div style=”text-align: center;”><div style=”position:relative; top:0; margin-
   > right:auto;margin-left:auto; z-index:99999″>
   >  <script> </script> </div></div
   > >
 * Then you are using a host that sponsors you by ads. They add it automatically,
   talk to you hosting provider and see if you can figure something out with them.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Extra Code to RSS Feed’ is closed to new replies.

## Tags

 * [extra code](https://wordpress.org/support/topic-tag/extra-code/)
 * [RSS](https://wordpress.org/support/topic-tag/rss/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [seocoalition](https://wordpress.org/support/users/seocoalition/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/extra-code-to-rss-feed/#post-963897)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
