spencerp
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Astra] Get vs Post in search formI have a few Empty links “#” notifications and I don’t remember putting those in either?
That’s probably because of this in the theme…? To click the arrow and it sends you back to top of page?
Is it possible to use javascript for that?
- This reply was modified 1 month ago by spencerp.
Forum: Plugins
In reply to: [Yoast SEO] “something went wrong” issue…I mean, not analyzed is showing 469 posts and not including pages. Does that mean I need to go through all 469 posts and 4 pages and re-edit them until Yoast Seo gives me a green light on each? That’s a lot of work… Lol. I just post how I like to post, I’m not trying to run a professional “business”.. my blog is just a rant blog. Usually when I rant I’m a drunken fool and not caring about grammar etc. Lol. I’m surprised Yoast Seo just don’t use wordpress tags for “Focus keyphrases”?
Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.1.0”. There has been a critical error on this website.
Hi, you need to upgrade your php version to at least 8.1.0. I’ve upgraded mine to 8.4, you can do this in the cpanel. It’s under “Tools” > “Software” > “Select php version”
Forum: Plugins
In reply to: [Yoast SEO] “something went wrong” issue…Thank you, that worked. Off topic though, not analyzed is showing zero. I just post what I want to post, and add tags for it. According to this picture, I need to re-edit all posts until I see green lights?
Why are my post being moderated I haven’t done nothing wrong.
Forum: Fixing WordPress
In reply to: Some validation errorsOh ok, thanks. I like my old theme though, maybe just update it to modern doctype and etc. I could buy a more modern theme, but I like my old custom theme that my site was known for having. I paid 250.00 USD for the theme and hate to abandon it. I’ll see if my buddy can help me with it. Thanks for your reply, you’ve been helpful.
Forum: Fixing WordPress
In reply to: uploading image showing blank in galleryForum: Fixing WordPress
In reply to: Encase footer disappearedHave you installed any plugins since or recently? Maybe a plugin messed it up some how… If it was working in Safari for 5 to 6 years maybe a plugin messed it up…
Forum: Fixing WordPress
In reply to: Encase footer disappearedYour footer looks fine in my Brave browser.. I haven’t been coding in years but I think your coding is geared more towards Firefox?
Forum: Fixing WordPress
In reply to: After an import of content from another WordPressWell, it’s weird actually, because the comments that were deleted from original same posts, are in old backup of blog. And newer comments are of course still on current blog, just not the older original comments.
Example:
Original Blog Post With All Comments intact.
domain.com/id/post1234
comment 1
comment 2
comment 3
comment 4
comment 5
comment 6Current Blog Post With Some Comments Deleted.
domain.com/id/post1234
comment 1comment 3
comment 5
I was thinking, if I deleted the /post1234 itself (from old backup copy).. leaving comments left behind/dangling there.. and deleted only comment 1, comment 3, comment 5 …. It would import comment 2, comment 4, commeny 6 .. Then still be tacked on to /post1234 .. and be in proper order as once was.. But I’m not sure if deleting a post itself, would delete all the comments either.
Forum: Hacks
In reply to: Need some php/database gurus for a custom redirect script…Thanks Scott Yang! You’re the man! :D…
RedirectMatch 301 /id/([0-9]+)/? /?p=$1
Works!
RedirectMatch 301 /id/([0-9]+)/? /?p=$1 RedirectMatch 301 /id/category/(.*) /category/$1 RedirectMatch 301 /id/tag/(.*) /tag/$1
No need for bulky scripts and or plugins.. yay lmao
Forum: Hacks
In reply to: Need some php/database gurus for a custom redirect script…I’m not sure what’s matter, and no one else knows either? LOL!… I tried two more things from someone else from another forum… But those didn’t work either!
RedirectMatch 301 /id/([^/]*) [0-9]{4}/$1
OR
RedirectMatch 301 ^/id/([^/]*)$ [0-9]{4}/$1
Also weird, when I add for the post redirects in htaccess file, the tags and category redirects stop working…. Same happens when I enable a plugin for the: /id/post_id to redirect to new permalinks… the cats and tags redirects stop working. i disable the plugin, then the tag n cat redirects work…
Forum: Hacks
In reply to: Need some php/database gurus for a custom redirect script…Hmm, well it was working…some thing must be conflicting… >_< I think it’s this one… RedirectMatch 301 /id/(.*) [0-9]{4}/$1
I remove that from htaccess, all redirect related plugins are deactivated of course.. And the blog.com/id/category/the-cat goes to > blog.com/category/the-cat just fine. And same with tags…
default/custom permalink is: year/%postname%
gotta figure out how to redirect the old /id/post_id to > 2010/post-name via htaccess or some such.. ugh. anyone? ??
Forum: Hacks
In reply to: Need some php/database gurus for a custom redirect script…I think i got it now.. added this to htaccess file as well.. seems to work lol..
RedirectMatch 301 /id/(.*) [0-9]{4}/$1
Now posts like: blog.com/id/1075 takes you to the right post: blog.com/2010/the-post-name
Wow, took me long enough! LOL! But it’s SO much nicer and easier this way with wordpress though! xD
Forum: Hacks
In reply to: Need some php/database gurus for a custom redirect script…After a little more searching (wow, I’m so out of the “loop” on the new wordpress features/functions haha)… I managed to find out how to do redirects via the htaccess file for the old tags and category permalink structure.. however a little stumped on the: id/post_id > /dddd/postname coding… Hope to figure it all out soon here! LOL!
What I have so far..
RedirectMatch 301 /id/(.*) /$1
RedirectMatch 301 /id/category/(.*) /category/$1
RedirectMatch 301 /id/tag/(.*) /tag/$1# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPressSo blog.com/id/category/the-cat > blog.com/category/the-cat WORKS
blog.com/id/tag/the-tag > blog.com/tag/the-tag WORKS
blog.com/id/post_id > blog.com/2011/post-name NOT WORKING (yet)Need to figure out the proper line code for this:
RedirectMatch 301 /id/(.*) /$1Reference post: https://www.blogtrafficexchange.com/remove-dates-from-permalink/
Forum: Hacks
In reply to: Need some php/database gurus for a custom redirect script…*Slaps self* Nevermind. I found two plugins to do the jobs… Thanks for the help.. lol. ??