Jump to content

WordPress Question


Recommended Posts

If you're talking about hardcoded URLs somewhere, you'll have to fix them yourself.

If you're talking about existing URLs that you want to support then you should be able to use URL rewriting for it. An example of the old and new URLs would make explaining that process easier.

Link to comment
https://forums.phpfreaks.com/topic/307764-wordpress-question/#findComment-1561409
Share on other sites

Yes, I am not worries about hardcoded URL's -- they're posted all over the Internet for years.

I wish WordPress had a build in functionality so that if you change the permalink structure, it will automatically redirect all the old ones. In my brain, I am almost positive it used to be like that. Apparently not.
 

Ok., so what you're saying is I have to create a .htaccess file with some kind of rewrite code that will handle all the links?

Edited by MrLeN
Link to comment
https://forums.phpfreaks.com/topic/307764-wordpress-question/#findComment-1561410
Share on other sites

Quote

Yes, I am not worries about hardcoded URL's -- they're posted all over the Internet for years.

I am not referring to hardcoded URL's. I am referring only to WordPress permalinks in the settings  page.

ie: I want to change the structure of:
 

REMOVED LINK TO SLOW AS HELL WEBSITE OF A MORON


to

REMOVED LINK TO SLOW AS HELL WEBSITE OF A MORON
Link to comment
https://forums.phpfreaks.com/topic/307764-wordpress-question/#findComment-1561414
Share on other sites

If you read closer you'll see that plugin doesn't do what you want: to redirect changed permalinks. It's just a generic redirection plugin. That does the exact same thing that rewriting rules in your .htaccess would do, but with worse performance.

But hey, at least you didn't have to learn anything new, huh?

  • Like 1
Link to comment
https://forums.phpfreaks.com/topic/307764-wordpress-question/#findComment-1561429
Share on other sites

Please delete my account from this useless place.

All you did for a whole page is act coy about answering but not really answering -- pretending you're trying to help, but not really.

And then when I diverted back to what the original thread was about (because I could see the pointlessness in what you were doing), you had to get the last word in (sarcastically).

I am currently adding the redirects 1 by 1 using the plugin above.

I researched htaccess and regular expressions. I don't get them (not in the time I have to "learn" anyway).

I don't expect you to do it for me, if you don't want to -- but I at least expect you not to be a smart ass about it.

And quite frankly, if you were standing in front of me with that shitty, patronizing attitude, I'd slap you like a bitch.

I'm not joking.

So, again, get stuffed. Thanks for nothing you patronizing smart ass.

 

Edited by MrLeN
Link to comment
https://forums.phpfreaks.com/topic/307764-wordpress-question/#findComment-1561434
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.