A part of the website accessible with another URL

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
(M)
Forum Members
Forum Members
Posts: 118
Joined: Tue Mar 18, 2008 11:43 pm

A part of the website accessible with another URL

Post by (M) »

Is there a way to make a part of the website (only one page with a gallery or ListIt2 module) accessible with another URL? And mainly that this URL stays visible in the client browser when navigate through that part of the website/module.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: A part of the website accessible with another URL

Post by velden »

I think it can be done (assuming url = domain and using apache)

- make sure config.php does NOT have url's configured (cmsms will do it by itself)
- point other domain to same website, make sure the website is reachable with that other domain name
- create a rewrite rule in .htaccess that rewrites the specific url to the url you want. (probably the trickiest part)
- test test test
Post Reply

Return to “The Lounge”