Title: PHP Mobile Redirect
Author: Code96
Published: <strong>10 Μαρτίου  2013</strong>
Last modified: 5 Ιουνίου  2013

---

Αναζήτηση πρόσθετων

![](https://ps.w.org/php-mobile-redirect/assets/banner-772x250.png?rev=679153)

Αυτό το πρόσθετο **δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress**.
Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας
με τις πιο πρόσφατες εκδόσεις του WordPress.

![](https://s.w.org/plugins/geopattern-icon/php-mobile-redirect_949495.svg)

# PHP Mobile Redirect

 Από [Code96](https://profiles.wordpress.org/code96/)

[Λήψη](https://downloads.wordpress.org/plugin/php-mobile-redirect.1.4.zip)

 * [Λεπτομέρειες](https://el.wordpress.org/plugins/php-mobile-redirect/#description)
 * [Κριτικές](https://el.wordpress.org/plugins/php-mobile-redirect/#reviews)
 *  [Εγκατάσταση](https://el.wordpress.org/plugins/php-mobile-redirect/#installation)
 * [Ανάπτυξη](https://el.wordpress.org/plugins/php-mobile-redirect/#developers)

 [Υποστήριξη](https://wordpress.org/support/plugin/php-mobile-redirect/)

## Περιγραφή

This plugin easily detects mobile devices and redirects them to the mobile version
of your site. This plugin also gives you the ability to bypass the mobile redirect
based upon a cookie that is set on your mobile site. This allows you to redirect
mobile users and give the option to “View Full Site.”

**If you are upgrading you must enable the redirect via Settings > PHP Redirect**

To set the cookie simply add the following PHP code to your mobile site:

setcookie(“mobile”,”m”, time()+3600, “/”);

**The mobile redirect bypass cookie is optional, and should only be used to give
your users a “View Full Site” option**

Code 96 offers [WordPress Design](http://www.code96wd.com) services and custom [WordPress Themes](http://www.code96wd.com/premium-wordpress-themes/).

## Εγκατάσταση

 1. Upload the zip file to the /wp-content/plugins/ directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to Settings > PHP Redirect.
 4. Enable the mobile redirect by checking the enable checkbox.
 5. Put in the mobile site URL (excluding http://) to the website you would like to
    redirect mobile traffic to.
 6. Select the name of the cookie you will set on your mobile site to bypass the redirect.
 7. Select “Save Options” and you are done.

## Συχνές Ερωτήσεις

  Where is the plugins settings page?

The settings are located in your WordPress Dashboard under Settings > PHP Redirect

  What format should the URL be in the PHP Redirect settings?

Your should enter your full URL without “http://”.

  What is the cookie name?

The name of the cookie is set on your mobile site page, and if you are using the
sample code the name is “mobile”. This setting is important as the redirect script
will evaluate the cookie name in order to bypass the redirect. If the actual cookie
name and the cookie name under the settings menu does not match, the bypass will
fail.

  The script will only bypass the redirect for a short period of time?

The bypass of the redirect is conditional on the cookie that is set on your mobile
site. If you have used the default code to set the cookie, the cookie will expire
in 3600 seconds or one hour. If you would like to change this time simply modify
the cookie settings on your mobile site.

## Κριτικές

Δεν υπάρχουν αξιολογήσεις για αυτό το πρόσθετο.

## Συνεισφέροντες & Προγραμματιστές

“PHP Mobile Redirect” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει
στη δημιουργία του.

Συντελεστές

 *   [ Code96 ](https://profiles.wordpress.org/code96/)

[Μεταφράστε το “PHP Mobile Redirect” στην γλώσσα σας.](https://translate.wordpress.org/projects/wp-plugins/php-mobile-redirect)

### Ενδιαφέρεστε για την ανάπτυξη;

[Περιηγηθείτε στον κώδικα](https://plugins.trac.wordpress.org/browser/php-mobile-redirect/),
ανατρέξτε στο [αποθετήριο SVN](https://plugins.svn.wordpress.org/php-mobile-redirect/)
ή εγγραφείτε στο [αρχείο καταγραφής αλλαγών ανάπτυξης](https://plugins.trac.wordpress.org/log/php-mobile-redirect/)
μέσω [RSS](https://plugins.trac.wordpress.org/log/php-mobile-redirect/?limit=100&mode=stop_on_copy&format=rss).

## Σύνοψη αλλαγών

#### 1.4

 * Updated Mobile_Detect class to current version 2.6.1

#### 1.3

 * Admin option added to exclude tablets from the redirect.

#### 1.2

 * Fixed issue with detecting iPad’s.

#### 1.1

 * Added the option to enable/disable the mobile redirect.

#### 1.0

 * Origninal Release

## Μεταστοιχεία

 *  Version **1.4**
 *  Τελευταία ενημέρωση: **πριν από 13 έτη**
 *  Ενεργές εγκαταστάσεις: **30+**
 *  Έκδοση WordPress: ** 3.2 ή νεότερη **
 *  Δοκιμασμένο μέχρι: **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/php-mobile-redirect/)
 * Ετικέτες:
 * [mobile detect](https://el.wordpress.org/plugins/tags/mobile-detect/)[mobile detection](https://el.wordpress.org/plugins/tags/mobile-detection/)
   [mobile redirect](https://el.wordpress.org/plugins/tags/mobile-redirect/)
 *  [Σύνθετη Προβολή](https://el.wordpress.org/plugins/php-mobile-redirect/advanced/)

## Αξιολογήσεις

 3.8 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/php-mobile-redirect/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/php-mobile-redirect/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/php-mobile-redirect/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/php-mobile-redirect/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/php-mobile-redirect/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/php-mobile-redirect/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/php-mobile-redirect/reviews/)

## Συντελεστές

 *   [ Code96 ](https://profiles.wordpress.org/code96/)

## Υποστήριξη

Έχετε κάτι να πείτε; Χρειάζεστε βοήθεια;

 [Φόρουμ υποστήριξης](https://wordpress.org/support/plugin/php-mobile-redirect/)

## Δωρεά

Θα θέλατε να υποστηρίξετε την προαγωγή αυτού του πρόσθετου;

 [ Κάντε δωρεά σε αυτό το πρόσθετο ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=63NWD4R6PNC76)