- This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- The forum ‘Other’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi
As a wordpress page loads, I would like to change and references
of (example)
http://www.abc123.net/old/
to
So basically I would like to change any occurrence of /old/ to /new/ within a URL string on the pages.
How do you do that ?
Or when
http://www.abc123.net/old/
redirect to
http://www.abc123.net/new/
(this method might even be better!)
( topic moved to “Other discussions” )
To redirect, you should use 301 redirects in your .htaccess file.
Redirect 301 /old /new
Or, if that doesn’t work:
RewriteEngine On
RewriteRule ^/?old/(.*)$ /new/$1 [L,R=301]
What about something using JavaScript or php ?
Not sure if that will work since I cannot access that file
Never mind…
Hi
Is there a way to redirect the URL to a different page on the site ?
That is if some goes to the URL it redirects them to a new URL ?
using a wordpress plugin- all set – thank you :)
I was getting a bit confused myself if this was about redirecting an entire page or adjusting an external link on that page…
Maybe sharing that particular plugin could help other readers in the future.
The plugin I discovered is :
https://wordpress.org/plugins/quick-pagepost-redirect-plugin/