View Single Post
Old 03-26-2012, 10:27 PM  
PornHustler
Confirmed User
 
Join Date: May 2009
Posts: 456
Quote:
Originally Posted by edgeprod View Post
Sorry, I went to bed when I didn't see a reply from you. Do the path to the file on your server, i.e.:

require_once('includes/file.php');

(replace your include line with that)
I tried that. It didnt work. I tried a couple different ways. Nothing worked except the 302.

On a side note I have to say I feel a little stupid about this but I want to place:

RewriteCond %{HTTP_USER_AGENT} (mobile|android|blackberry|brew|cldc|docomo|htc|j2 me|micromax|lg|midp|mot|motorola|netfront|nokia|ob igo|openweb|opera.mini|palm|psp|samsung|sanyo|sch| sonyericsson|symbian|symbos|teleca|up.browser|voda fone|wap|webos|windows.ce) [NC]
RewriteRule ^(.*)$ http://m.myurl.com [R=302,L]

RewriteCond %{HTTP_USER_AGENT} (GoogleTV) [NC]
RewriteRule ^(.*)$ http:myurl.com [R=302,L]

in the htaccess but when I do my site goes 500.

Where exactly should I place this in my wordpress htaccess file?
__________________
Contact ICQ: 570768377
Sub 1:440 Blog Converting Sponsor
PornHustler is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote