Archive for the ‘wordpress redirect’ Category

How to Do A Simple Domain Redirect

image.out?imageId=media v19170474pCmf2wCm1254725454 How to Do A Simple Domain Redirecthttp://www.IMTechniques.com

How to do a simple domain redirect

Duration : 3 min 57 sec

Read the rest of this entry »

Technorati Tags:

How And Why I Redirect Affiliate Links

image.out?imageId=media v4188862m7Hjja361202842445Med How And Why I Redirect Affiliate Linkshttp://www.45n5.com

Duration : 3 min 32 sec

Read the rest of this entry »

Technorati Tags:

301 Redirect How To – WordPress

0 301 Redirect How To   WordpressThis video is a quick demo on using the 301 redirect .htaccess function for redirecting all pages on one site to another. I moved all my posts from Scattered Blogger to my personal blog. The .htaccess code you need is below:

RewriteEngine On

RewriteCond %{HTTP_HOST} ^.*oldsite\.com$ [NC]
RewriteRule ^(.*)$ http://newsite.com/$1 [R=301,L]

Link to blog post: http://joshcaza.com/301-redirect-how-to-wordpress-video/

Duration : 0:4:22

Read the rest of this entry »

Technorati Tags: , , , , , , , , , , ,

How do I fix this html code for a mobile redirect in WordPress?

Rich now I have my site set up with the regular site in the main root domain (www.mysite.com) and the mobile version in a subdomain (m.mysite.com). I have the main wordpress site in a folder named "wordpress" on my server and I altered the index.php with the code below, but it currently can only redirect to http://m.mysite.com no matter what the person typed in to begin with i.e. if they enter www.mysite.com/contact on their phone, they get redirected to m.mysite.com and not m.mysite.com/contact

Is there any way to fix this so they get redirected to the duplicate mobile version of whatever URL they enter but at the m. subdomain?

I got the instructions for the redirect here: http://mobility.mobi/showthread.php?22-Auto-detecting-PC-Mobile-and-then-Redirecting

and here’s the index.php code in root folder:

<?php

$mobile_browser = ’0′;

if(preg_match(‘/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone)/i’,
strtolower($_SERVER['HTTP_USER_AGENT']))){
$mobile_browser++;
}

if((strpos(strtolower($_SERVER['HTTP_ACCEPT']),’application/vnd.wap.xhtml+xml’)>0) or
((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))){
$mobile_browser++;
}

$mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'],0,4));
$mobile_agents = array(
‘w3c ‘,’acs-’,'alav’,'alca’,'amoi’,'audi’,'avan’,'benq’,'bird’,'blac’,
‘blaz’,'brew’,'cell’,'cldc’,'cmd-’,'dang’,'doco’,'eric’,'hipt’,'inno’,
‘ipaq’,'java’,'jigs’,'kddi’,'keji’,'leno’,'lg-c’,'lg-d’,'lg-g’,'lge-’,
‘maui’,'maxo’,'midp’,'mits’,'mmef’,'mobi’,'mot-’,'moto’,'mwbp’,'nec-’,
‘newt’,'noki’,'oper’,'palm’,'pana’,'pant’,'phil’,'play’,'port’,'prox’,
‘qwap’,'sage’,'sams’,'sany’,'sch-’,'sec-’,'send’,'seri’,'sgh-’,'shar’,
‘sie-’,'siem’,'smal’,'smar’,'sony’,'sph-’,'symb’,'t-mo’,'teli’,'tim-’,
‘tosh’,'tsm-’,'upg1′,’upsi’,'vk-v’,'voda’,'wap-’,'wapa’,'wapi’,'wapp’,
‘wapr’,'webc’,'winw’,'winw’,'xda’,'xda-’);

if(in_array($mobile_ua,$mobile_agents)){
$mobile_browser++;
}
if (strpos(strtolower($_SERVER['ALL_HTTP']),’OperaMini’)>0) {
$mobile_browser++;
}
if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']),’windows’)>0) {
$mobile_browser=0;
}

if($mobile_browser>0){
header(‘Location: http://m.mysite.com/’);
} else {
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/

/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define(‘WP_USE_THEMES’, true);

/** Loads the WordPress Environment and Template */
require(‘./wordpress/wp-blog-header.php’);
}

Hey,

Your problem seems fairly complex and technical. Perhaps you should get some real-time advice from WordPress expert? Some interactive conversation should def help you to solve your problems quicker.

Nicholas Butler probably is the right person for you to talk to.

https://www.minutebox.com/profiles/loudmouthman

Using a 302 Redirect & not a 404 Error is bad

image.out?imageId=media v20356966g5Aznhtb1281977057 Using a 302 Redirect & not a 404 Error is badIf your site is currently treating unavailable pages (404 errors) like temporary redirects (302 redirects) you may not have any problems with the search engines but your site is losing out on some important advantages of a proper 404 error.

Duration : 5 min 5 sec

Read the rest of this entry »

Technorati Tags:

in wordpress how can I redirect sailorlink.com to sailorlink.com/?page_id=245 ?

When you go to sailorlink.com it does not land on the page I want it to land on sailorlink.com/?page_id=245

Is there anyway I can do this ? I’ll greatly appreciate an answer icon smile in wordpress how can I redirect sailorlink.com to sailorlink.com/?page id=245 ?
When I met is there anyway I can do this, I also meant how ?

Thanks.

*go to wordpress dashboard

*go to settings -> reading

*put static page(sailorlink.com/?page_id=245) on home page

*save and smile icon smile in wordpress how can I redirect sailorlink.com to sailorlink.com/?page id=245 ?

WordPress 2.86 Redirects Incorrectly

image.out?imageId=media v19493631ke3cWsST1260457627 WordPress 2.86 Redirects IncorrectlyScott Hendison of http://SearchCommander.com clearly shows the incorrect server response being returned after changing the permalink of a parent page.

This 4 min video chows what Scott thinks it's a HUGE issue that needs fixing in WordPress. Distributed by Tubemogul.

Duration : 4 min 17 sec

Read the rest of this entry »

Technorati Tags:

How To Redirect Your WordPress NameServer To Your Website Host

0 How To Redirect Your Wordpress NameServer To Your Website Hosthttp://www.bluehost.com/track/bluehostoffer/homepage , Here is a link to Bluehost, if you have any other technical questions about redirecting the nameservers, installing wordpress and setting up a website. Bluehost is a great resource for answering technical questions about building your website.

Duration : 0:4:39

Read the rest of this entry »

Technorati Tags: , , , , , , , ,

Browser Redirect Virus – Why Browser Redirects And How To Fix It

image.out?imageId=media v19780825Ae2rY3rY1265507133Med Browser Redirect Virus   Why Browser Redirects And How To Fix Ithttp://www.spyware-fix.net

Tired of your browser getting hijacked by the browser redirect virus? With a free scan at the website Spyware Fix you can remove it right now.

Don't let this virus take over your system and put your computer at risk. Within minutes you cannot stop this infection in it's tracks. Get the fix by clicking the link below.

http://www.spyware-fix.net

Duration : 1 min 41 sec

Read the rest of this entry »

Technorati Tags:

How to redirect affiliate links

image.out?imageId=media v161767688MN7Kef51223399499 How to redirect affiliate linksRedirect affiliate links so they are short and sweet. Also a great way to salvage sales when an affiliate program goes south.

Duration : 10 min 45 sec

Read the rest of this entry »

Technorati Tags: