djtech2k
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Managing Multiple WP Sites with WP-CliThanks for the replies.
I will check out some of these procedures later today. My goal is not around mass management of WP because I only have a few sites that I manage. My main question was because the install docs for WP-Cli talk about installing and running a command, but I could not understand how would WP-Cli know which WP site to execute the command against.
In my example, I run a server that has cPanel. I have a few different sites/domains and some of WP site(s). So if I installed WP-Cli, how would I differentiate which site to manage. That was my main issue. I do have root access and I am familiar with SSH, so running by command-line is no problem for me.
Well, after switching the theme and switching it back, it is now working. I can update the score and see it in the plugin.
Forum: Fixing WordPress
In reply to: Help With htaccess RewriteRuleOk I added it and tested. The page now seems to load. Here is the content of my htaccess at the root level. Again, this was made to help secure wp just a little more. Does that ErrorDocument override the rewrite stuff that locks it down a little bit? Just trying to understand better what it is doing.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
ErrorDocument 401 Default
# END WordPressForum: Fixing WordPress
In reply to: Help With htaccess RewriteRuleAny ideas anyone?
Forum: Fixing WordPress
In reply to: Help With htaccess RewriteRuleI find it strange also.
WP is installed in the website root, no subdir.
The files/pages in the subdir and sub-subdir are standalone php and html.
Forum: Fixing WordPress
In reply to: Help With htaccess RewriteRuleThe 2nd subdir does have an htaccess, but it only has stuff in it to password protect the directory. So it has:
AuthType Basic
AuthName “report”
AuthUserFile “/path/to/passwordfile”
require valid-userForum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Team Order in EventsI just updated that file. It appears to have the scores listed in the correct order now. I will continue to check on it, but the scores are now correct.
Thanks.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Team Order in EventsThanks. I went into wpadmin and allowed sportspress to update, so I guess I should be using the newest. The same issue seems to be happening. I put in a new game result and it still appears like a loss when it should be a win.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Team Order in EventsAny ideas? This is still happening. It shows the team names and the scores in the incorrect order, so it looks like we lost another game.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Team Order in Eventsmusselmanfootball.com
Both games listed look like we lost, but we actually won.
I changed the global option for reverse order and then I removed all event titles and saved them.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Team Order in EventsOk, I changed the global option. Now I have a game listed in the widget that says MyTeam vs OtherTeam. The Home team is listed second, which is correct. The problem now is that the score is listed as 0-22, which appears that MyTeam lost the game. MyTeam won the game 22-0, so I need it to display that way.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Problem With Event WidgetThanks. I will open a new topic.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Problem With Event WidgetThanks. That makes sense.
Now for the widget, why is it showing the score and teams in the wrong order? For example if will show the home team first, when it should always be last. It will also show the score in reverse order. Either way is fine, but I at least need the scores to show up in the correct order. As it is now, it makes it look like the team lost games that it actually won.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Problem With Event WidgetThanks.
I went down that list and when I changed the permalink to “game”, it started to work. I do have another question. If you look at my schedule page and hover over each event, you will see the event URL is very different for some. Why would the URL’s be so different? For example, many are like “/game/137” while others are “/game/team-vs-otherteam”. My permalinks are set to postname.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Problem With Event WidgetActually, a better link to see all events would be: https://musselmanfootball.com/game-schedule/