[wp-pro] Help With Redirects

Jon Symons jonleehacker at gmail.com
Tue Jun 12 17:42:50 GMT 2007


Hi,

I"m migrating a site that was in ASP.net on a Windows hosting account to
Wordpress on a Linux hosting account.

I have done the migration and setup the Permalinks in WP to match the
originals as close as possible, but there are still a few issues.

This is the permalinks structure I have setup:

*/%category%/%postname%.aspx*

Which I believe takes care of about 90% of the transition.

Here's what I have identified so far as not being handled by the permalinks
structure (note: the links are to a temp site that I setup, it is password
protected to avoid duplicate content penalties...these links won't work,
they are just to illustrate the problem):

*[category pages - add the word 'category' if it is a category main page]*
http://www.smdwebhosting.net/PersonalFinance/ *to*
http://www.smdwebhosting.net/category/personalfinance
Even though both of these will actually work, I don't want them to be seen
as duplicate content, so I'd like a permanent redirect from the first
structure to the second.

** *[pages - convert to lower case and add .aspx to the end]*
http://www.smdwebhosting.net/About-Jon.aspx *to*
http://www.smdwebhosting.net/about-jon

The above illustrate the following 3 issues:

1. Linux hosting is case sensitive: I thought this would be a problem, but
it seems the current .htaccess file handles it.
2. WordPress puts the word "category" into URLs on category pages. This
didn't exist on the old site, so for all the category pages the URLs need to
be redirected.
3. Even with the permalinks structure [/%category%/%postname%.aspx] WP still
doesn't add the .aspx extension to "Pages"

What I'm looking for then is someone to modify an existing .htaccess file,
to handle #2 & #3.

If you can help with this, please quote me a price and I time frame for
completing the work.

Thanks,

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-pro/attachments/20070612/7cf17f9c/attachment.htm


More information about the wp-pro mailing list