mod_rewrite question

Permalink
Hello all,
Is it possible to use mod_rewrite (or anything else for that matter) to get the following:

Sitemap:
- Home
- Products
---- iPhone
---- iPad
---- iMac
- About

When a user visits

mydomain.com/iPhone

it displays the

mydomain.com/products/iPhone/

page WITHOUT changing the URL. Does that make sense?

Any help would be very much appreciated!

Cheers,
Mat

mbaxter91288
 
mesuva replied on at Permalink Reply
mesuva
That sounds like it's doable using page aliases.

In your sitemap, drag your /products/iPhone page onto the home page icon and pick from the three options that it gives you the 'Alias' option.

This makes the same page available in two locations in the site map. You can spot aliases in the sitemap as they have a little blue arrow on their page icon.
mbaxter91288 replied on at Permalink Reply
mbaxter91288
HI mesuva,

Thanks for your reply and yes it does, I didn't think of using page aliases! doh! However for house keeping sake I didn't want a HUGE amount of artists sitting in the root of the website which is why I was trying to keep away from something like that.

At the end of the day if it's not possible the pages lists or even having the actual page in the root will work.

Cheers,
Mat