Forum Activity for @derrickhand300

derrickhand300
@derrickhand300
06/24/17 02:49:54PM
1,353 posts

Cpanel Redirects


Design and Skin Customization

SteveX:
Have you tried using the jrUrlMapper module rather than doing it through cPanel?
Quote: Map and Redirect non-existent URLs to existing URLs

I will try it now- thanks
derrickhand300
@derrickhand300
06/24/17 02:49:30PM
1,353 posts

Cpanel Redirects


Design and Skin Customization

I actually saw a url redirect module in the marketplace and installed it but so far no luck getting it to work in this manner...
derrickhand300
@derrickhand300
06/24/17 02:31:12PM
1,353 posts

Cpanel Redirects


Design and Skin Customization

SteveX:
My first thought is to try moving that up in the htaccess file so that it comes before the rules which direct all requests to the router.

I would try inserting your rule in a line right after RewriteEngine On, and you probably need to remove the L from the [R=301,L] part.

Give that a try first and report back here.

Thanks ultraJam
I have a ton of them to do and was hoping it could all be done somehow in Cpanel without having to edit the file each time myself
I did notice cpanel adds them at the bottom of the htaccess file and was hoping there was a line of code i could add to the htaccess file that would alter the way JR uses the file-something in code that says 'allow these redirects" :)
derrickhand300
@derrickhand300
06/24/17 06:24:37AM
1,353 posts

Cpanel Redirects


Design and Skin Customization

Hello-I am trying to use 'redirects" in Cpanel to redirect some URLs on my JR site
Specifically the first one I am trying to redirect is ... /oilfield-store to simply .../store
I have added the information in Cpanel and saved cleared caches and the redirect is not happeniong
at the bottom of the htaccess file I can see its been added..
RewriteRule ^oilfield\-store$ "https\:\/\/www\.roughneckcity\.com\/store" [R=301,L]
are there other steps i need to take to make the redirects work in the JR htaccess file?
Thanks
updated by @derrickhand300: 10/15/17 11:31:21PM
derrickhand300
@derrickhand300
05/22/17 07:44:48AM
1,353 posts

Question about HTTPS images


Design and Skin Customization

[quote="SteveX"]
That isn't a https site. Remove the "s" and the browser will connect, but with https Firefox says:
[quote]Your connection is not secure
The owner of output23.rssinclude.com has configured their web site improperly. To protect your information from being stolen, Firefox has not connected to this web site.[quote]
[/quote]

Thanks Steve I appreciate the help man...Im waiting on a reply from RSS INCLUDE
derrickhand300
@derrickhand300
05/22/17 07:09:06AM
1,353 posts

Question about HTTPS images


Design and Skin Customization

Its something to do with the RSS INCLUDE script not being secure...from the browser error console
Failed to load resource: net::ERR_INSECURE_RESPONSE
https://output23.rssinclude.com/output?type=js&id=998791&hash=ded11523c8abb41c0316d4b5d04aeaae
I have never been able to get a response fron their support so i will keep working on it
Thanks
derrickhand300
@derrickhand300
05/22/17 06:59:20AM
1,353 posts

Question about HTTPS images


Design and Skin Customization

Well I take that back...something cached I guess...now if I post this in the browser
https://roughneckcity.com/feed/oilfieldnews/ I can see the xml data instead of the error message...still in a feed validator it does not validate
Its puzzling because I use RSS INCLUDE to display the feeds on my site and on the RSS INCLUDE webpage it displays perfectly-but when I embed the script on my site it displays nothing?

I just tried using the same embed script on a wordpress site and it displays as expected.. ( the wordpress site is not https)
updated by @derrickhand300: 05/22/17 07:03:40AM
derrickhand300
@derrickhand300
05/22/17 06:52:01AM
1,353 posts

Question about HTTPS images


Design and Skin Customization

Thanks steve- I have added it in the xxoilfieldnews module but nothing has changed

/**
 * init
 */
function xxOilfieldNews_init(){

  // We want RSS feeds
    jrCore_register_module_feature('jrFeed', 'feed_support', 'xxoilfieldnews', 'enabled');
    // Allow admin to customize our forms
    jrCore_register_module_feature('jrCore', 'designer_form', 'xxOilfieldNews', 'create');
    jrCore_register_module_feature('jrCore', 'designer_form', 'xxOilfieldNews', 'update');

    // Core support
    jrCore_register_module_feature('jrCore', 'quota_support', 'xxOilfieldNews', 'on');
    jrCore_register_module_feature('jrCore', 'pending_support', 'xxOilfieldNews', 'on');
    jrCore_register_module_feature('jrCore', 'max_item_support', 'xxOilfieldNews', 'on');
    jrCore_register_module_feature('jrCore', 'action_support', 'xxOilfieldNews', 'create', 'item_action.tpl');
    jrCore_register_module_feature('jrCore', 'action_support', 'xxOilfieldNews', 'update', 'item_action.tpl');

    // We have fields that can be searched
    jrCore_register_module_feature('jrSearch', 'search_fields', 'xxOilfieldNews', 'oilfieldnews_title', 1);

    // Integrate with payment system
    jrCore_register_event_listener('jrFoxyCart', 'my_items_row', 'xxOilfieldNews_my_items_row_listener');
    jrCore_register_event_listener('jrFoxyCart', 'adding_item_to_purchase_history', 'xxOilfieldNews_adding_item_to_purchase_history_listener');
    jrCore_register_event_listener('jrFoxyCart', 'my_earnings_row', 'xxOilfieldNews_my_earnings_row_listener');

    // Profile Stats
    jrCore_register_module_feature('jrProfile', 'profile_stats', 'xxOilfieldNews', 'profile_xxOilfieldNews_item_count', 1);

    return true;
}
derrickhand300
@derrickhand300
05/20/17 06:24:21AM
1,353 posts

Question about HTTPS images


Design and Skin Customization

SteveX:
You need to put that into your module init function, not into the jrFeed module init function.

sorry I am confused- in my xxoilfieldnews module?
updated by @derrickhand300: 05/20/17 06:24:43AM
derrickhand300
@derrickhand300
05/19/17 10:02:29AM
1,353 posts

Question about HTTPS images


Design and Skin Customization

here is whewre I added what Michael suggested above- but it didnt make the feeds work
function jrFeed_init(){
   // We want RSS feeds
    jrCore_register_module_feature('jrFeed', 'feed_support', 'xxoilfieldnews', 'enabled');
    // Register jrFeed tools
    jrCore_register_module_feature('jrCore', 'tool_view', 'jrFeed', 'create', array('Create / Update', 'Pull an RSS feed into this site / Update an existing feed'));

    // We provide an event listener for modules to generate an RSS feed
    jrCore_register_event_trigger('jrFeed', 'create_rss_feed', 'Fired in feeder view to get RSS data');

    // Site Builder widget
    jrCore_register_module_feature('jrSiteBuilder', 'widget', 'jrFeed', 'widget_rss', 'RSS Feed');

    return true;
}
  18