Home › Forums › WordPress Plugins › Hide My WP › Redirect all normal links to permanent links
- This topic has 8 replies, 2 voices, and was last updated 10 years, 3 months ago by
ibergag.
-
AuthorPosts
-
July 28, 2015 at 1:35 pm #3881
Hello,
I would like to know how can i redirect all normal links to permanent links like :
From http://exemple.com/?entry=150 to http://exemple.com/poste-title-link/
Thanks for help,
July 29, 2015 at 4:35 am #3885Hi, login to wp-admin, and go to Settings >> Permalinks (www.yourdomain.com/wp-admin/options-permalink.php). There in “common settings” select option other than default, you can select “post name” and then click save button.
July 29, 2015 at 7:45 pm #3894Hi,
No i m not talking about this. this is already done all my link are permanent already but i would like also redirect all normal From http://exemple.com/?entry=150 to http://exemple.com/poste-title-link/
Thanks.
July 30, 2015 at 5:36 am #3896So you want the links like http://exemple.com/?entry=150 to be redirected to http://exemple.com/poste-title-link/?? But from where this link “http://exemple.com/?entry=150” come from? HMWP doesn’t have URL redirection feature. You might need to use other redirect plugin or else add rewrite rules in htaccess manually.
July 30, 2015 at 10:25 am #3903this is exactly what i wanna do.
can u help me about the redirect rules in the htaccess or give me a clue where or what should i search on the web.
i want avoid plugins.
Thanks
July 31, 2015 at 2:56 am #3908You can add the lines like below in htaccess file just before line “RewriteCond %{REQUEST_FILENAME} !-f”
RewriteRule ^\?entry=150 /poste-title-link/ [L,R=301]
RewriteRule ^\?entry=151 /poste-title-link-2/ [L,R=301]Note: I’ve not tested this. You can search in google for “wordpress htaccess redirect url”
August 1, 2015 at 6:40 pm #3927hello,
so if i undesratnd well i have to do this for each post ?
because i have more then 7000 posts.
Thanks
August 2, 2015 at 5:42 am #3937If you want all old posts (entry=150; entry=151; etc) to redirect to single new URL (/post-title-link) then only one rule will be enough (you’ll have to use wildcard for entry IDs).
If each old post redirects to different new URL then you’ll have to add rule for every post.August 2, 2015 at 2:50 pm #3943well i think i m in the second case, each post must redirect to it s permalink url
-
AuthorPosts
You must be logged in to reply to this topic.

