GreenDiablo
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Change URL of sub domain on MultisiteThanks Jesús and Mika,
Seems like it’s not too bad of a move, but what about the re-direct to the new url? Will existing links (on social media etc.) automatically re-direct, is there a re-write rule I need to add or how can I achieve the redirect?Thanks I’ll try that. And yes I’m using the plugin on WordPress of course.
Thanks for the fast reply. This is the error I’m getting:
Warning: Missing argument 2 for donation_force_ssl() in /..[path]…../functions.php on line 142
(line 142 = first line of the code below function….)This is how I customized the code for this site:
function donation_force_ssl( $force_ssl, $post_id ) { if ( strpos($_SERVER['REQUEST_URI'], 'xy') !== false ) { $force_ssl = true; } return $force_ssl; } add_filter('force_ssl', 'donation_force_ssl');“xy” is the folder as well as url path of the files, that I want to protect.
Is there a way to add code to a php file I want to secure other than the functions file?
Thanks @bainternet, I’ll check it out!
Yup. The following files are in the events folder in my theme folder:
events-list-load-widget-display.php
gridview.php
list.php
single.phpHere’s the link to the site: http://bit.ly/iXmMaS
(this event post has a comment but doesn’t display)Thanks for keep checking back to this thread!! Appreciate it!
@tugbucket That unfortunately didn’t do the trick. Any other ideas?