t3g
Forum Replies Created
-
In the end, I ended up expanding upon the trim and used this $desc = trim(preg_replace(“/\s+/”, ” “, $desc)); to maintain a space between sentences in description.
Forum: Fixing WordPress
In reply to: How can I stop feed url from removing wwwI tried later in another browser and it seemed to work. Apparently Firefox was caching the page (including the redirect for some reason) and when I simply closed the browser and re-opened it worked. I also tested it out a few hours later so either it was the cache or something with the server.
Forum: Fixing WordPress
In reply to: How can I stop feed url from removing wwwSo you are saying to try to look in the theme right? What part of the theme affects RSS2 feeds?
Forum: Fixing WordPress
In reply to: How can I stop feed url from removing wwwThe reasoning is that via AJAX, I am going to be bringing in the XML feed from the site and displaying the headlines on the front page. If I use any 3rd party service, I will be put into a cross-domain request and it will not work.
Is there a file I can edit in the main wordpress folders that may be doing this specifically to the rss feed?
Forum: Fixing WordPress
In reply to: How can I stop feed url from removing wwwThere is nothing in my .htaccess file on my main page or /blog/ subdirectory that is forcing a redirect. It is doing it either in one of the .php files or a MySQL setting I am missing.
The normal blog posts redirect and force www fine. Just the feed url keeps removing it.