dmwebhosting
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP 5.5: problems with permalinksHere is the response.
Either [47727] / #40773 or [47760] / #45337 would be the possible culprit here. I’m sorry to hear this is causing issues since the latest update.
That said, the /example/123/ URL structure is reserved in WordPress for pagination, it’s used to display parts of a post separated with the <!–nextpage–> tag, and is not meant to be used for any other purpose.
So I would recommend changing the numeric part of the /show-listings/654493 request to something else, perhaps /show-listings/?654493 if that works, to avoid conflicts.
As another possible solution, you can disable the redirect_canonical() function for these requests, that is attached to the template_redirect action by default.
Forum: Fixing WordPress
In reply to: WP 5.5: problems with permalinksI reported this as a bug if you want to keep track.
https://core.trac.ww.wp.xz.cn/ticket/51001Forum: Fixing WordPress
In reply to: Permalink Issues??I was just fixing to reply to your post. I have yet to figure out this issue. I also had to downgrade one of our sites until I can find a resolution to this problem.
Forum: Fixing WordPress
In reply to: Permalink Issues??To keep the MLS number from being removed I did the following
https://skatefactory.com/show-listings/?686543/
I placed a Question Mark before the number and now it is showing the information. Is it possible to not use the ? before the number. If I do, for some reason in wordpress 5.5 it removes that number and then I get no results found.
Forum: Fixing WordPress
In reply to: Permalink Issues??I disabled all the plugins and changed to the twenty twenty theme. Same issue, the number at the end of the URL which is an MLS number and the page called show-listings takes that number to display the information. Here is part of my php code that was working before WordPress 5.5
/* Get the current Page Full URL */
$listing_url = $_SERVER[REQUEST_URI];
$mls_num = explode(‘/’, $listing_url);
/* Get the Listing Number */
$mls_number = $mls_num[‘2’];For some reason the number is being removed at the end. For a test, I did replace the file called canonical.php under wp-includes from version 5.4 and it stopped removing that number at the end, but then I just get a oops page can’t be found.
Thanks again for helping me get this figured out.
Forum: Fixing WordPress
In reply to: Permalink Issues??I did all the above but still with no success.
Forum: Fixing WordPress
In reply to: Second blog not connected to my account