Yes, but you can do something EVEN COOLER.
Make your permalinks %postname% so your URLs will be domain.de/postname (that looks cool, right?)
THEN go into your .htaccess and above the lines for #BEGIN WORDPRESS put in this
RewriteRule ^index.php?page=(.*) http://domain.de/$1 [L,R=301]
Now [domain].de/index.php?page=[%postname%] will redirect 🙂
Thread Starter
Anonymous User 8711240
(@anonymized-8711240)
I know this 🙂
But then i’ll lose the Google ranking.
Yes, but you can do something EVEN COOLER.
So my question is how do i do this?
Wha……
Let me see if i understand this 100%. Are you saying that i can put my old content (*.html) written in the year 2002 to appear as a blog post like this…. mydomain.com/%postname% ?
As i have an aged domain with loads of content and would love to have it all on the blog platform. (but man… a lot of work) At the moment i’ve merely added a link to the old site.
So my eyes are WIDE open here. lol
@Chorstikus – no it wont hurt your rankings as this is merely a redirect as 301. and google doesnt mind that at all. if i’m understanding this correctly.
Thread Starter
Anonymous User 8711240
(@anonymized-8711240)
@Chorstikus – no it wont hurt your rankings as this is merely a redirect as 301. and google doesnt mind that at all. if i’m understanding this correctly.
Yeah you are right. I just don’t get it earlier.
I thought it has to be the same url structure. 🙂
Nope, as long as it redirects, you don’t lose your Google ranks 🙂
301 redirects are super cool awesome sauce because it lets you keep your ranking, AND have uber simple, pretty URLs 🙂
The trick, and yes there is one, is that the ‘postname’ you redirect FROM has to be the same you redirect TO.
I use this a lot of the time when changing permalinks from domain.com/YYYY/MM/DD/postname to just domain.com/postname — or in my case, domain.com/YYYY/postname, since I think people like years). And WordPress is even extra cool because if I go to domain.com/postname it, on it’s own, will go ‘Oh you mean domain.com/YYYY/postname! Here you go!’