Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter markweb

    (@markweb)

    I have sussed it, what I did was update the htaccess file by adding the new rewrite instead of replacing what was already there !

    Forum: Plugins
    In reply to: Theme Switcher in plugin
    Thread Starter markweb

    (@markweb)

    Forum: Plugins
    In reply to: Theme Switcher in plugin
    Thread Starter markweb

    (@markweb)

    woops sorry about that, I have placed the code in the paste bin

    Thread Starter markweb

    (@markweb)

    I have sorted this issue with firefox, I had to enable custom setting for cookies, which solved the problem for me but needing to do this for the plugin to function properly may cause issues for some folks who like me normally only accept cookies from sites that I am very confident about, is there no other way that a timer can be integrated other than cookies ? , this is a great plugin that would be fantastic if cookies weren’t involved or would it be ?

    Forum: Hacks
    In reply to: Manual Redirect
    Thread Starter markweb

    (@markweb)

    Yep the code works a treat !

    Forum: Hacks
    In reply to: Manual Redirect
    Thread Starter markweb

    (@markweb)

    luckdragon,
    Thats sorted it, thankyou very much.

    have a great day !

    Mark

    Forum: Hacks
    In reply to: Manual Redirect
    Thread Starter markweb

    (@markweb)

    Hi, this is exactly what I added to the plugin,

    <a href='mainsite.co.uk/%%uri%%'>Main Site</a>
    <a href='mobile.co.uk/%%uri%%'>Mobile Site</a>
    Forum: Hacks
    In reply to: Manual Redirect
    Thread Starter markweb

    (@markweb)

    Hi I have carried out the changes and it is very close, it seems to be repeating itself, if you see what I mean.

    Mark

    Forum: Hacks
    In reply to: Manual Redirect
    Thread Starter markweb

    (@markweb)

    I have been using the HTML option

    Forum: Hacks
    In reply to: Manual Redirect
    Thread Starter markweb

    (@markweb)

    No the plugin doesn’t have post page content, the only other option is to include a page, which it does do in a frame and so not sure that that’s any help.

    Mark

    Forum: Hacks
    In reply to: Manual Redirect
    Thread Starter markweb

    (@markweb)

    Hi its proberly easier to just show you the mobile site

    Regards

    Mark

    Forum: Hacks
    In reply to: Manual Redirect
    Thread Starter markweb

    (@markweb)

    Hi, I have added the code and I am returning the following in the browser for main site:

    https://mobilesite.com/mainsite.com/%%uri%%

    and the following for mobile site:

    https://mobilesite.com/mobilesite.com/%%uri%%

    and the error message

    400 bad request

    Bad Request

    Your browser sent a request that this server could not understand.

    Forum: Hacks
    In reply to: Manual Redirect
    Thread Starter markweb

    (@markweb)

    Hia,

    thanks for being so patient, the main reason is that I am using a the wp splash page plugin which allows images and video but also html code as options to be added the splash page,

    It also allows you to setup many other options like time delays ect… though it seemed like a good starting place.

    Regards

    Mark

    Plugin Page

    Forum: Hacks
    In reply to: Manual Redirect
    Thread Starter markweb

    (@markweb)

    Hi, thats exactly what I want to achieve, I have tried adding the code to my splash page but it is html section of wp spash and come back with errors when I add the following:

    Please Choose Your Destination:
    <a href='https://mobile.mysite.co.uk<?=$_SERVER['REQUEST_URI']?>'>Mobile Site</a> |
    <a href='mysite.co.uk<?=$_SERVER['REQUEST_URI']?>'>Desktop Site</a>

    is there anyway I can make this work on the html spash page ?

    Regards

    Mark

    Forum: Hacks
    In reply to: Manual Redirect
    Thread Starter markweb

    (@markweb)

    Luckdragon,

    thanks so much for getting back to me, I will try to explain in a bit more detail.

    If a visitor visits site from google the address in the browser could be something like this:

    mainsite.com/norovirus/cruise-ship-norovirus/

    but I want them to have a choice to go to the mobile site so that they would still see the same page on mobile site as the link structure is the same so they would then go to:

    mobilesite.com/norovirus/cruise-ship-norovirus/

    basicaly the visitor would see two links

    1)mobile 2)desktop

    setting up two links on the splash page I can manage, the problem is adding the original string to the second site link so that visitor doesn’t have to do another search to get where they wanted too is the bit that I am struggling with.

    it would seem to be basically a 301 follow all links which works manually instead of automatically thus giving the visitor a choice.

    Regards

    Mark

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