pgowder — 2012-10-03T10:12:23-04:00 — #1
We have an events calendar written in PHP that we are upgrading and moving to a new script. All the urls will change.
This one of our sites most popular features.
Do I need to put up redirects or anything else to help with SEO?
Is this something I should do at the server level? With PHP?
Any advice would be great!
technobear — 2012-10-03T10:22:32-04:00 — #2
If you change the URL of a page, you should set a 301 redirect via the .htaccess file so that search engines and anybody with the old URL bookmarked will automatically end up on the correct page and not with a 404 error.
pgowder — 2012-10-03T10:24:10-04:00 — #3
I'm on IIS, I don't think I can use a .htaccess file. ???
How would I do that on IIS?
technobear — 2012-10-03T10:35:46-04:00 — #4
Ah - good question. As that's more of a server question than an SEO question, do you want me to move the thread to the Server Config forum? If you're still hoping for more SEO-related responses, you can leave this thread here and open a new one there.
ralphm — 2012-10-03T10:50:07-04:00 — #5
I'm sure Google will dig up a lot of answers to that. This was my first hit:
pgowder — 2012-10-03T14:47:26-04:00 — #6
Thanks, I knew how to do that.
What I wanted answered, was for SEO what would be the best way?
ralphm — 2012-10-03T19:45:22-04:00 — #7
Hm, in post #3 you asked how to do a page redirect in IIS. Anyway, I agree with TechnoBear in terms of using a 301 redirect. If you do that, Google will see that the page has moved and will transfer any credit from the old page to the new one.
pgowder — 2012-10-03T19:55:08-04:00 — #8
Sorry, yes I did ask that. I was thinking that I needed to do something like an .htaccess file in the web.config instead of just doing the redirects. Since it is a php script, will doing the redirect on the script fix it for all the pages?
So if we have event.php?eventid=1 and I redirect event.php will Google be ok with the page eventid=1?
ralphm — 2012-10-03T20:06:03-04:00 — #9
Hm, I'm not sure about all the issues involved there, but it sounds like it might be a job for the cononical link:
Are you saying that ?eventid=1 will no longer do anything?
pgowder — 2012-10-03T20:27:02-04:00 — #10
That's what I need to decide. Should I set it so that eventid=1 do something?
What is best?
ralphm — 2012-10-03T20:30:06-04:00 — #11
I guess it depends on what the page needs to do. What is a new setup? Does the new version need query strings at all? I wouldn't include them if you don't need them. I would just make sure that any old links that include them still land on an appropriate page.
pgowder — 2012-10-03T20:32:13-04:00 — #12
No the new version will use WP permalinks.
So you think I need to redirecdt eventid=1 to the new system and the exact event on the new system?
ralphm — 2012-10-03T20:39:11-04:00 — #13
Is the info at eventid=1 short term or is it expected to last for a long time? If it's an expired event, it might be fine for users just to end up at the event home page. But if the content at eventid=1 is permanent, and will in future be stored at a different URL, then I'd be looking at a more elaborate redirect setup that would redirect links like that to a specific, equivalent page.
pgowder — 2012-10-04T14:20:00-04:00 — #14
Most will be older events. But some people do use them for historical info.
pgowder — 2012-11-30T09:36:55-05:00 — #15
system — 2014-10-07T23:18:52-04:00 — #16
This topic is now closed. New replies are no longer allowed.