Can Anyone Help Me ReDirect My Old Blogware Posts?
Everton | Jun 03, 2006 | Comments 0
The nameserver redirection seems to have (surprisingly) gone without a hitch. The major problem I have though is that my .htaccess redirect doesn’t seem to be working, and rather than old external links like ^blog/_archives/2005/10/18/1307475.html redirecting to ^/2005/10/18/ i.e the day the post was made (that’s the best I can achieve for now – at least it’s to the right day), they are all going straight to the new homepage.
I’ve been hitting my head against a wall for a few hours now so I’m giving up. Can someone tell me what is wrong with my .htacesss file please.
Thanks in advance for any help.
Update: I’ve just realised that I might be able to get Blogware to give me a dump of all my article refs e.g. 1307475 in the example given above. The corresponding article reference for that article on the new Wordpress is 570. If should be possible to put together a ‘php’ script or something that would do a ‘lookup’ on the old article ref and match it to the new ref and then display the new url. This would improve my current tactic 100%.
If there are any bored coders who think they can do this can they please let me know – I’m willing to pay for your time.
—————————————
RewriteEngine On
RewriteBase /
RewriteRule ^/blog/_archives/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)\.html$ http://connectedinternet.co.uk/$1/$2/$3/
# BEGIN WordPressRewriteEngine On
# Redirect FeedBurner to your own Feed
RewriteBase /
RewriteRule ^feedburner_929946/?$ /feed/ [R,L]
RewriteCond %{HTTP_USER_AGENT} ^FeedBurner.*$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# These Rules redirect all feed Traffic to FeedBurner
RewriteBase /
RewriteCond %{QUERY_STRING} ^feed=(feed|rdf|rss|rss2|atom)$
RewriteRule ^(.*)$ http://feeds.feedburner.com/Connected-InternetNewsAndDiscussion [R,L]
RewriteRule ^(feed|rdf|rss|rss2|atom)/? [QSA,L](feed|rdf|rss|rss2|atom)?/?$ http://feeds.feedburner.com/Connected-InternetNewsAndDiscussion [R,L]
RewriteRule ^wp-(feed|rdf|rss|rss2|atom).php http://feeds.feedburner.com/Connected-InternetNewsAndDiscussion
# These are the standard WordPress Rules
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
Related Posts
- How To Add Related Posts To Your Feed
- Save time Reading Connected – Subscribe To The RSS feed!
- Feedburner Launch Geo-Targeted Ads
- IS RSS Usage Finally Taking Off Thanks To Firefox 2.0/IE7?
- Finally Completed The Move To Wordpress From Blogware
- Have You Entered December’s Competition Yet?
- Win $100 – Competition Now Open!
Filed Under: Uncategorized
Bookmark & Share
About the Author: Everton is based in London and has worked in the internet and mobile space for over ten years now, and before that worked in corporate strategy and consulting. He has a degree in Economics from Cambridge University, and currently runs the Portal and online operations for one of the largest ISPs in the UK.
He also writes for Windows 8 News, Windows 8 News and One Tip A Day.




