Jump to content

[SOLVED] How to re-write the URL for a single article?


Rick Davis

Recommended Posts

I have an existing site that I am converting to jReviews. On the existing site there are several pages with over 2000 facebook, twitter and pinterest likes. For these pages, I really want to maintain the exact same URL from the old site so I can keep all the "likes". I considered turning them into static pages but I feel that it would be better to keep them as dynamic jReviews pages so they can interact with all the modules (top listings, latest reviews, etc)

 

I was hoping to do some simple rewrite rules in .htaccess but it seems more difficult than what I imagined.

 

Here's the scenario-

 

OLD LINK:

http://eatlocalgrown.com/article/top-10-ways-to-prepare-kale.html

 

NEW jREVEWS LINK:

http://www.eatlocalgrown.com/article/3405-top-10-ways-to-prepare-kale

 

So, basically I just need to remove the "3405-" and then add ".html"

 

I have about 5 pages that need this treatment. I don't think using sh404SEF or other similar solutions makes sense to just change 5 URLS.

 

Additionally, adding a simple 301 redirect is not going to work. The "likes" do not transfer. The url has to be exactly the same.

 

Hoping that an .htaccess pro will know how to do this and help me out! I've also read about a technique for adding a hidden menu item, but I could not get that to work either.

 

Any input welcome.

(note: the NEW link above does not work because the jreviews site has not gone live yet)

Link to comment
×
×
  • Create New...